#DC9CF2#DC9CF2
#DC9CF2 is a light, vivid purple. Relative luminance 0.454; OKLCH L 78.4% C 0.136 H 317.2°. Best body text is #000000 at 10.08:1 contrast (WCAG AA passes).
Color values
| HEX | #DC9CF2 |
|---|---|
| RGB | rgb(220, 156, 242) |
| HSL | hsl(285, 77%, 78%) |
| HSV | hsv(285, 36%, 95%) |
| CMYK | cmyk(9.1%, 35.5%, 0%, 5.1%) |
| CIE-LAB | lab(73.16, 38.40, -33.79) |
| CIE-LCH | lch(73.16, 51.15, 318.66°) |
| OKLab | oklab(78.4% 0.1001 -0.0927) |
| OKLCH | oklch(78.4% 0.136 317.2) |
| XYZ | xyz(57.4284, 45.4048, 89.7260) |
| Luminance | 0.4540 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Baby Purple
#CA9BF7
ΔE00 4.29
Lavender (survey)
#C79FEF
ΔE00 4.51
Lilac (survey)
#CEA2FD
ΔE00 4.56
Mauve
#E0B0FF
ΔE00 4.84
Plum
#DDA0DD
ΔE00 5.19
Pastel Purple
#CAA0FF
ΔE00 5.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DC9CF2 #B2F29C
analogous
#B19CF2 #DC9CF2 #F29CDD
triadic
#DC9CF2 #F2DC9C #9CF2DC
tetradic
#DC9CF2 #F2B19C #B2F29C #9CDDF2
square
#DC9CF2 #F2B19C #B2F29C #9CDDF2
split-complementary
#DC9CF2 #DDF29C #9CF2B1
monochromatic
#B630E4 #C966EB #DC9CF2 #EFD2F9 #F5E4FB
Accessibility & contrast
On white
2.08
#DC9CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.08
#DC9CF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DC9CF2
10.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DC9CF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DC9CF2 | 1.00 | 2.08 | 10.08 | 10.08 |
| #FFFFFF | 2.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#90B0F5
Deuteranopia (green-blind)
#9FB6EF
Tritanopia (blue-blind)
#DCA7BC
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #dc9cf2; /* rgb */ color: rgb(220, 156, 242); /* oklch */ color: oklch(78.4% 0.136 317.2);
Tailwind
colors: {
custom: {
50: '#e8baf6',
500: '#dc9cf2',
950: '#000000',
},
}SCSS
$custom: #dc9cf2; $custom-light: #e8baf6; $custom-dark: #000000;
JSON
{
"hex": "#dc9cf2",
"rgb": {
"r": 220,
"g": 156,
"b": 242
},
"hsl": {
"h": 284.651,
"s": 76.786,
"l": 78.039
},
"oklch": {
"l": 0.78397,
"c": 0.1364,
"h": 317.2
},
"luminance": 0.45403
}Semantic roles & 50–950 ramp
primary
#DC9CF2
secondary
#DFF3D8
accent
#D90C41
background
#FEFBFF
surface
#FDF6FE
border
#D5D0D6
text
#161217
muted
#848185