#DC8FF2#DC8FF2
#DC8FF2 is a light, vivid purple. Relative luminance 0.413; OKLCH L 76.3% C 0.158 H 318.5°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).
Color values
| HEX | #DC8FF2 |
|---|---|
| RGB | rgb(220, 143, 242) |
| HSL | hsl(287, 79%, 75%) |
| HSV | hsv(287, 41%, 95%) |
| CMYK | cmyk(9.1%, 40.9%, 0%, 5.1%) |
| CIE-LAB | lab(70.37, 45.30, -38.12) |
| CIE-LCH | lch(70.37, 59.20, 319.92°) |
| OKLab | oklab(76.29% 0.1187 -0.105) |
| OKLCH | oklch(76.29% 0.158 318.5) |
| XYZ | xyz(55.3625, 41.2731, 89.0373) |
| Luminance | 0.4127 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Violet (CSS)
#EE82EE
ΔE00 4.27
Baby Purple
#CA9BF7
ΔE00 5.15
Lavender Pink
#DD85D7
ΔE00 5.25
Liliac
#C48EFD
ΔE00 5.84
Lilac (survey)
#CEA2FD
ΔE00 6.18
Lavender (survey)
#C79FEF
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DC8FF2 #A5F28F
analogous
#AA8FF2 #DC8FF2 #F28FD6
triadic
#DC8FF2 #F2DC8F #8FF2DC
tetradic
#DC8FF2 #F2AA8F #A5F28F #8FD6F2
square
#DC8FF2 #F2AA8F #A5F28F #8FD6F2
split-complementary
#DC8FF2 #D6F28F #8FF2AA
monochromatic
#BA21E5 #CB58EC #DC8FF2 #EDC6F8 #F6E4FC
Accessibility & contrast
On white
2.27
#DC8FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.25
#DC8FF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DC8FF2
9.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DC8FF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DC8FF2 | 1.00 | 2.27 | 9.25 | 9.25 |
| #FFFFFF | 2.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#80A7F6
Deuteranopia (green-blind)
#94AFEF
Tritanopia (blue-blind)
#DC9CB5
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #dc8ff2; /* rgb */ color: rgb(220, 143, 242); /* oklch */ color: oklch(76.3% 0.158 318.5);
Tailwind
colors: {
custom: {
50: '#e8b1f6',
500: '#dc8ff2',
950: '#000000',
},
}SCSS
$custom: #dc8ff2; $custom-light: #e8b1f6; $custom-dark: #000000;
JSON
{
"hex": "#dc8ff2",
"rgb": {
"r": 220,
"g": 143,
"b": 242
},
"hsl": {
"h": 286.667,
"s": 79.2,
"l": 75.49
},
"oklch": {
"l": 0.76294,
"c": 0.15843,
"h": 318.5
},
"luminance": 0.41271
}Semantic roles & 50–950 ramp
primary
#DC8FF2
secondary
#DEF4D7
accent
#DB0A39
background
#FEFBFF
surface
#FDF6FE
border
#D5D0D6
text
#161117
muted
#848085