#CF8BF2#CF8BF2
#CF8BF2 is a light, vivid violet. Relative luminance 0.381; OKLCH L 74.3% C 0.159 H 313.4°. Best body text is #000000 at 8.63:1 contrast (WCAG AA passes).
Color values
| HEX | #CF8BF2 |
|---|---|
| RGB | rgb(207, 139, 242) |
| HSL | hsl(280, 80%, 75%) |
| HSV | hsv(280, 43%, 95%) |
| CMYK | cmyk(14.5%, 42.6%, 0%, 5.1%) |
| CIE-LAB | lab(68.13, 43.66, -41.72) |
| CIE-LCH | lch(68.13, 60.39, 316.30°) |
| OKLab | oklab(74.3% 0.1093 -0.1156) |
| OKLCH | oklch(74.3% 0.159 313.4) |
| XYZ | xyz(50.9891, 38.1425, 88.6634) |
| Luminance | 0.3814 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.50
Baby Purple
#CA9BF7
ΔE00 4.31
Lavender (survey)
#C79FEF
ΔE00 5.79
Pastel Purple
#CAA0FF
ΔE00 5.81
Lilac (survey)
#CEA2FD
ΔE00 5.86
Light Purple
#BF77F6
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF8BF2 #AEF28B
analogous
#9C8BF2 #CF8BF2 #F28BE1
triadic
#CF8BF2 #F2CF8B #8BF2CF
tetradic
#CF8BF2 #F29C8B #AEF28B #8BE1F2
square
#CF8BF2 #F29C8B #AEF28B #8BE1F2
split-complementary
#CF8BF2 #E1F28B #8BF29C
monochromatic
#A11DE6 #B854EC #CF8BF2 #E6C2F8 #F4E3FC
Accessibility & contrast
On white
2.43
#CF8BF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.63
#CF8BF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CF8BF2
8.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF8BF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF8BF2 | 1.00 | 2.43 | 8.63 | 8.63 |
| #FFFFFF | 2.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.63 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.63 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#77A2F6
Deuteranopia (green-blind)
#89A8EF
Tritanopia (blue-blind)
#CC9AB3
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #cf8bf2; /* rgb */ color: rgb(207, 139, 242); /* oklch */ color: oklch(74.3% 0.159 313.4);
Tailwind
colors: {
custom: {
50: '#dfaef6',
500: '#cf8bf2',
950: '#000000',
},
}SCSS
$custom: #cf8bf2; $custom-light: #dfaef6; $custom-dark: #000000;
JSON
{
"hex": "#cf8bf2",
"rgb": {
"r": 207,
"g": 139,
"b": 242
},
"hsl": {
"h": 279.612,
"s": 79.845,
"l": 74.706
},
"oklch": {
"l": 0.743,
"c": 0.15905,
"h": 313.4
},
"luminance": 0.38141
}Semantic roles & 50–950 ramp
primary
#CF8BF2
secondary
#E1F4D7
accent
#DC0951
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#151017
muted
#837F85