#CF81EB#CF81EB
#CF81EB is a light, vivid purple. Relative luminance 0.350; OKLCH L 72.4% C 0.168 H 316.6°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).
Color values
| HEX | #CF81EB |
|---|---|
| RGB | rgb(207, 129, 235) |
| HSL | hsl(284, 73%, 71%) |
| HSV | hsv(284, 45%, 92%) |
| CMYK | cmyk(11.9%, 45.1%, 0%, 7.8%) |
| CIE-LAB | lab(65.72, 47.51, -41.63) |
| CIE-LCH | lch(65.72, 63.17, 318.77°) |
| OKLab | oklab(72.4% 0.1221 -0.1152) |
| OKLCH | oklch(72.4% 0.168 316.6) |
| XYZ | xyz(48.5756, 34.9655, 82.7713) |
| Luminance | 0.3496 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 4.95
Liliac
#C48EFD
ΔE00 5.22
Violet (CSS)
#EE82EE
ΔE00 5.54
Orchid
#DA70D6
ΔE00 5.63
Lavender Pink
#DD85D7
ΔE00 5.89
Easter Purple
#C071FE
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF81EB #9DEB81
analogous
#9A81EB #CF81EB #EB81D2
triadic
#CF81EB #EBCF81 #81EBCF
tetradic
#CF81EB #EB9A81 #9DEB81 #81D2EB
square
#CF81EB #EB9A81 #9DEB81 #81D2EB
split-complementary
#CF81EB #D2EB81 #81EB9A
monochromatic
#A221D1 #BB4CE3 #CF81EB #E3B6F3 #F5E5FB
Accessibility & contrast
On white
2.63
#CF81EB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.99
#CF81EB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CF81EB
7.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF81EB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF81EB | 1.00 | 2.63 | 7.99 | 7.99 |
| #FFFFFF | 2.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E9BEF
Deuteranopia (green-blind)
#83A2E8
Tritanopia (blue-blind)
#CE90AB
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #cf81eb; /* rgb */ color: rgb(207, 129, 235); /* oklch */ color: oklch(72.4% 0.168 316.6);
Tailwind
colors: {
custom: {
50: '#dfa7f2',
500: '#cf81eb',
950: '#000000',
},
}SCSS
$custom: #cf81eb; $custom-light: #dfa7f2; $custom-dark: #000000;
JSON
{
"hex": "#cf81eb",
"rgb": {
"r": 207,
"g": 129,
"b": 235
},
"hsl": {
"h": 284.151,
"s": 72.603,
"l": 71.373
},
"oklch": {
"l": 0.724,
"c": 0.16789,
"h": 316.6
},
"luminance": 0.34964
}Semantic roles & 50–950 ramp
primary
#CF81EB
secondary
#DDF2D6
accent
#D51145
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85