#CF84EC#CF84EC
#CF84EC is a light, vivid purple. Relative luminance 0.358; OKLCH L 72.9% C 0.164 H 316.0°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).
Color values
| HEX | #CF84EC |
|---|---|
| RGB | rgb(207, 132, 236) |
| HSL | hsl(283, 73%, 72%) |
| HSV | hsv(283, 44%, 93%) |
| CMYK | cmyk(12.3%, 44.1%, 0%, 7.5%) |
| CIE-LAB | lab(66.39, 46.14, -41.14) |
| CIE-LCH | lch(66.39, 61.82, 318.27°) |
| OKLab | oklab(72.91% 0.1181 -0.1138) |
| OKLCH | oklch(72.91% 0.164 316) |
| XYZ | xyz(49.1214, 35.8254, 83.6680) |
| Luminance | 0.3582 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Liliac
#C48EFD
ΔE00 4.78
Light Purple
#BF77F6
ΔE00 5.28
Violet (CSS)
#EE82EE
ΔE00 5.55
Lavender Pink
#DD85D7
ΔE00 5.87
Baby Purple
#CA9BF7
ΔE00 6.05
Orchid
#DA70D6
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF84EC #A1EC84
analogous
#9B84EC #CF84EC #EC84D5
triadic
#CF84EC #ECCF84 #84ECCF
tetradic
#CF84EC #EC9B84 #A1EC84 #84D5EC
square
#CF84EC #EC9B84 #A1EC84 #84D5EC
split-complementary
#CF84EC #D5EC84 #84EC9B
monochromatic
#A321D5 #BA4FE4 #CF84EC #E4B9F4 #F5E4FB
Accessibility & contrast
On white
2.57
#CF84EC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.16
#CF84EC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CF84EC
8.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF84EC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF84EC | 1.00 | 2.57 | 8.16 | 8.16 |
| #FFFFFF | 2.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#719DF0
Deuteranopia (green-blind)
#86A4E9
Tritanopia (blue-blind)
#CE93AD
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #cf84ec; /* rgb */ color: rgb(207, 132, 236); /* oklch */ color: oklch(72.9% 0.164 316.0);
Tailwind
colors: {
custom: {
50: '#dfa9f2',
500: '#cf84ec',
950: '#000000',
},
}SCSS
$custom: #cf84ec; $custom-light: #dfa9f2; $custom-dark: #000000;
JSON
{
"hex": "#cf84ec",
"rgb": {
"r": 207,
"g": 132,
"b": 236
},
"hsl": {
"h": 283.269,
"s": 73.239,
"l": 72.157
},
"oklch": {
"l": 0.72911,
"c": 0.16401,
"h": 316
},
"luminance": 0.35824
}Semantic roles & 50–950 ramp
primary
#CF84EC
secondary
#E0F3D8
accent
#D51047
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85