#CF87F3#CF87F3
#CF87F3 is a light, vivid purple. Relative luminance 0.371; OKLCH L 73.7% C 0.167 H 313.6°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).
Color values
| HEX | #CF87F3 |
|---|---|
| RGB | rgb(207, 135, 243) |
| HSL | hsl(280, 82%, 74%) |
| HSV | hsv(280, 44%, 95%) |
| CMYK | cmyk(14.8%, 44.4%, 0%, 4.7%) |
| CIE-LAB | lab(67.33, 45.99, -43.52) |
| CIE-LCH | lch(67.33, 63.32, 316.58°) |
| OKLab | oklab(73.72% 0.115 -0.1207) |
| OKLCH | oklch(73.72% 0.167 313.6) |
| XYZ | xyz(50.5711, 37.0656, 89.2670) |
| Luminance | 0.3706 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Liliac
#C48EFD
ΔE00 3.62
Light Purple
#BF77F6
ΔE00 5.12
Baby Purple
#CA9BF7
ΔE00 5.19
Violet (CSS)
#EE82EE
ΔE00 6.10
Easter Purple
#C071FE
ΔE00 6.52
Pastel Purple
#CAA0FF
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF87F3 #ABF387
analogous
#9987F3 #CF87F3 #F387E1
triadic
#CF87F3 #F3CF87 #87F3CF
tetradic
#CF87F3 #F39987 #ABF387 #87E1F3
square
#CF87F3 #F39987 #ABF387 #87E1F3
split-complementary
#CF87F3 #E1F387 #87F399
monochromatic
#A218E8 #B94FED #CF87F3 #E5BFF9 #F4E3FC
Accessibility & contrast
On white
2.50
#CF87F3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.41
#CF87F3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CF87F3
8.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF87F3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF87F3 | 1.00 | 2.50 | 8.41 | 8.41 |
| #FFFFFF | 2.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#71A0F7
Deuteranopia (green-blind)
#85A6F0
Tritanopia (blue-blind)
#CC97B2
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #cf87f3; /* rgb */ color: rgb(207, 135, 243); /* oklch */ color: oklch(73.7% 0.167 313.6);
Tailwind
colors: {
custom: {
50: '#dfabf7',
500: '#cf87f3',
950: '#000000',
},
}SCSS
$custom: #cf87f3; $custom-light: #dfabf7; $custom-dark: #000000;
JSON
{
"hex": "#cf87f3",
"rgb": {
"r": 207,
"g": 135,
"b": 243
},
"hsl": {
"h": 280,
"s": 81.818,
"l": 74.118
},
"oklch": {
"l": 0.73716,
"c": 0.16674,
"h": 313.6
},
"luminance": 0.37064
}Semantic roles & 50–950 ramp
primary
#CF87F3
secondary
#E1F4D7
accent
#DE074F
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85