#CF8BF3#CF8BF3
#CF8BF3 is a light, vivid violet. Relative luminance 0.382; OKLCH L 74.3% C 0.160 H 313.1°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).
Color values
| HEX | #CF8BF3 |
|---|---|
| RGB | rgb(207, 139, 243) |
| HSL | hsl(279, 81%, 75%) |
| HSV | hsv(279, 43%, 95%) |
| CMYK | cmyk(14.8%, 42.8%, 0%, 4.7%) |
| CIE-LAB | lab(68.17, 43.87, -42.20) |
| CIE-LCH | lch(68.17, 60.87, 316.11°) |
| OKLab | oklab(74.35% 0.1095 -0.1169) |
| OKLCH | oklch(74.35% 0.16 313.1) |
| XYZ | xyz(51.1397, 38.2028, 89.4565) |
| Luminance | 0.3820 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.36
Baby Purple
#CA9BF7
ΔE00 4.29
Pastel Purple
#CAA0FF
ΔE00 5.75
Lavender (survey)
#C79FEF
ΔE00 5.82
Lilac (survey)
#CEA2FD
ΔE00 5.83
Light Purple
#BF77F6
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF8BF3 #AFF38B
analogous
#9B8BF3 #CF8BF3 #F38BE3
triadic
#CF8BF3 #F3CF8B #8BF3CF
tetradic
#CF8BF3 #F39B8B #AFF38B #8BE3F3
square
#CF8BF3 #F39B8B #AFF38B #8BE3F3
split-complementary
#CF8BF3 #E3F38B #8BF39B
monochromatic
#A11CE8 #B854ED #CF8BF3 #E6C2F9 #F4E3FC
Accessibility & contrast
On white
2.43
#CF8BF3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.64
#CF8BF3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CF8BF3
8.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF8BF3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF8BF3 | 1.00 | 2.43 | 8.64 | 8.64 |
| #FFFFFF | 2.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#77A2F7
Deuteranopia (green-blind)
#88A8F0
Tritanopia (blue-blind)
#CC9AB4
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #cf8bf3; /* rgb */ color: rgb(207, 139, 243); /* oklch */ color: oklch(74.3% 0.160 313.1);
Tailwind
colors: {
custom: {
50: '#dfaef7',
500: '#cf8bf3',
950: '#000000',
},
}SCSS
$custom: #cf8bf3; $custom-light: #dfaef7; $custom-dark: #000000;
JSON
{
"hex": "#cf8bf3",
"rgb": {
"r": 207,
"g": 139,
"b": 243
},
"hsl": {
"h": 279.231,
"s": 81.25,
"l": 74.902
},
"oklch": {
"l": 0.74348,
"c": 0.16017,
"h": 313.1
},
"luminance": 0.38202
}Semantic roles & 50–950 ramp
primary
#CF8BF3
secondary
#E1F4D7
accent
#DE0852
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85