#DC9AF2#DC9AF2
#DC9AF2 is a light, vivid purple. Relative luminance 0.447; OKLCH L 78.1% C 0.140 H 317.4°. Best body text is #000000 at 9.95:1 contrast (WCAG AA passes).
Color values
| HEX | #DC9AF2 |
|---|---|
| RGB | rgb(220, 154, 242) |
| HSL | hsl(285, 77%, 78%) |
| HSV | hsv(285, 36%, 95%) |
| CMYK | cmyk(9.1%, 36.4%, 0%, 5.1%) |
| CIE-LAB | lab(72.72, 39.47, -34.46) |
| CIE-LCH | lch(72.72, 52.40, 318.87°) |
| OKLab | oklab(78.07% 0.103 -0.0946) |
| OKLCH | oklch(78.07% 0.14 317.4) |
| XYZ | xyz(57.0955, 44.7391, 89.6150) |
| Luminance | 0.4474 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Baby Purple
#CA9BF7
ΔE00 4.29
Lavender (survey)
#C79FEF
ΔE00 4.69
Lilac (survey)
#CEA2FD
ΔE00 4.71
Mauve
#E0B0FF
ΔE00 5.30
Plum
#DDA0DD
ΔE00 5.46
Pastel Purple
#CAA0FF
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DC9AF2 #B0F29A
analogous
#B09AF2 #DC9AF2 #F29ADC
triadic
#DC9AF2 #F2DC9A #9AF2DC
tetradic
#DC9AF2 #F2B09A #B0F29A #9ADCF2
square
#DC9AF2 #F2B09A #B0F29A #9ADCF2
split-complementary
#DC9AF2 #DCF29A #9AF2B0
monochromatic
#B62EE4 #C964EB #DC9AF2 #EFD0F9 #F6E4FC
Accessibility & contrast
On white
2.11
#DC9AF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.95
#DC9AF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DC9AF2
9.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DC9AF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DC9AF2 | 1.00 | 2.11 | 9.95 | 9.95 |
| #FFFFFF | 2.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8DAEF5
Deuteranopia (green-blind)
#9DB5EF
Tritanopia (blue-blind)
#DCA5BB
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #dc9af2; /* rgb */ color: rgb(220, 154, 242); /* oklch */ color: oklch(78.1% 0.140 317.4);
Tailwind
colors: {
custom: {
50: '#e8b9f6',
500: '#dc9af2',
950: '#000000',
},
}SCSS
$custom: #dc9af2; $custom-light: #e8b9f6; $custom-dark: #000000;
JSON
{
"hex": "#dc9af2",
"rgb": {
"r": 220,
"g": 154,
"b": 242
},
"hsl": {
"h": 285,
"s": 77.193,
"l": 77.647
},
"oklch": {
"l": 0.78066,
"c": 0.13982,
"h": 317.4
},
"luminance": 0.44738
}Semantic roles & 50–950 ramp
primary
#DC9AF2
secondary
#DFF3D8
accent
#D90C3F
background
#FEFBFF
surface
#FDF6FE
border
#D5D0D6
text
#161117
muted
#848085