#AB47BC

Orchid

#AB47BCOrchid

Luminance

0.168

Category

Pink

Type

Dark

Best On

#FFFFFF

Color Codes

All color formats for your project

HEX

HEX
#AB47BC
No #
AB47BC

RGB

RGB
rgb(171, 71, 188)
Values
R:171 G:71 B:188

HSL

HSL
hsl(291, 47%, 51%)
Values
H:291° S:47% L:51%

HSV / HSB

HSV
hsv(291, 62%, 74%)
Values
H:291° S:62% V:74%

CMYK

CMYK
cmyk(9%, 62%, 0%, 26%)
Values
C:9 M:62 Y:0 K:26

LAB

LAB
lab(48, 57, -43)
Values
L:48 a:57 b:-43

OKLCH

OKLCH
oklch(57.6% 0.194 321.6)
Values
L:57.6% C:0.194 H:321.6°

Code Formats

CSS
color: #AB47BC;
Swift
UIColor(red: 0.671, green: 0.278, blue: 0.737, alpha: 1.0)
Kotlin
Color(0xFFAB47BC)
Flutter
Color(0xFFAB47BC)
Android
#FFAB47BC

Contrast Analysis

WCAG compliance with grayscale colors

On White

4.82:1

AA

On Black

4.36:1

AA-large

Grayscale Contrast

Aa

0%

4.4

AA-large
Aa

10%

3.6

AA-large
Aa

20%

2.6

Fail
Aa

30%

1.8

Fail
Aa

40%

1.2

Fail
Aa

50%

1.2

Fail
Aa

60%

1.7

Fail
Aa

70%

2.3

Fail
Aa

80%

3.0

Fail
Aa

90%

3.8

AA-large
Aa

100%

4.8

AA

Best Grayscale Contrast

#FFFFFF with ratio 4.82:1

Aa

Color Harmonies

Harmonious color combinations

complementary

Two colors opposite on the color wheel (180°)

split-complementary

Base color + two colors adjacent to its complement

triadic

Three colors evenly spaced (120° apart)

tetradic

Four colors evenly spaced (90° apart)

analogous

Three colors adjacent on the color wheel (30° apart)

Color Variations

Tints, shades, tones, and full scale

Color Scale (50-900)

50

100

200

300

400

500

600

700

800

900

Tints (Lighter)

Shades (Darker)

Tones (Desaturated)

Gradients (OKLCH)

Primary

90°
CSS
linear-gradient(90deg, #CD92D8 0%, #692A74 100%)
OKLCH
linear-gradient(90deg, oklch(74.1% 0.117 321.1) 0%, oklch(40.7% 0.134 321.5) 100%)
Stops
0%
100%

Vibrant

135°
CSS
linear-gradient(135deg, #C75ED9 0%, #9D1DB4 100%)
OKLCH
linear-gradient(135deg, oklch(65.6% 0.201 321.6) 0%, oklch(51.4% 0.227 320.7) 100%)
Stops
0%
100%

Complementary

90°
CSS
linear-gradient(90deg, #AB47BC 0%, #59BD47 100%)
OKLCH
linear-gradient(90deg, oklch(57.6% 0.194 321.6) 0%, oklch(71.3% 0.182 140.7) 100%)
Stops
0%
100%

Analogous

90°
CSS
linear-gradient(90deg, #7047BD 0%, #AB47BC 50%, #BD4794 100%)
OKLCH
linear-gradient(90deg, oklch(50.7% 0.177 295.4) 0%, oklch(57.6% 0.194 321.6) 50%, oklch(58.2% 0.173 343.8) 100%)
Stops
0%
50%
100%

Sunset

90°
CSS
linear-gradient(90deg, #F6CE55 0%, #EE6C2B 50%, #E6193C 100%)
OKLCH
linear-gradient(90deg, oklch(86.4% 0.144 90.6) 0%, oklch(68.0% 0.177 43.8) 50%, oklch(59.1% 0.228 21.2) 100%)
Stops
0%
50%
100%

Ocean

135°
CSS
linear-gradient(135deg, #19A1E6 0%, #22C3B6 50%, #47D1A3 100%)
OKLCH
linear-gradient(135deg, oklch(67.5% 0.146 238.9) 0%, oklch(73.8% 0.124 186.2) 50%, oklch(77.5% 0.136 166.9) 100%)
Stops
0%
50%
100%

Dark Mode

180°
CSS
linear-gradient(180deg, #AB47BD 0%, #231825 100%)
OKLCH
linear-gradient(180deg, oklch(57.7% 0.195 321.3) 0%, oklch(22.9% 0.029 321.2) 100%)
Stops
0%
100%

Radial Glow

Radial
CSS
radial-gradient(circle, #C580D1 0%, #7A3187 100%)
OKLCH
radial-gradient(circle, oklch(69.9% 0.137 321.5) 0%, oklch(45.2% 0.151 321.3) 100%)
Stops
0%
100%

💡 About OKLCH Gradients

OKLCH (Oklch Color Space) provides perceptually uniform gradients with better color transitions than traditional RGB/HSL gradients. The format is oklch(L% C H) where L = Lightness (0-100%), C = Chroma (0-0.4), H = Hue (0-360°).

Generate Full Palette

Create a complete brand palette from this color with primary, secondary, accent, and neutral scales.

View Palette