#CF87F6#CF87F6
#CF87F6 is a light, vivid violet. Relative luminance 0.372; OKLCH L 73.9% C 0.170 H 312.8°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).
Color values
| HEX | #CF87F6 |
|---|---|
| RGB | rgb(207, 135, 246) |
| HSL | hsl(279, 86%, 75%) |
| HSV | hsv(279, 45%, 96%) |
| CMYK | cmyk(15.9%, 45.1%, 0%, 3.5%) |
| CIE-LAB | lab(67.46, 46.62, -44.95) |
| CIE-LCH | lch(67.46, 64.76, 316.04°) |
| OKLab | oklab(73.86% 0.1155 -0.1249) |
| OKLCH | oklch(73.86% 0.17 312.8) |
| XYZ | xyz(51.0278, 37.2483, 91.6725) |
| Luminance | 0.3725 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.29
Light Purple
#BF77F6
ΔE00 4.91
Baby Purple
#CA9BF7
ΔE00 5.18
Easter Purple
#C071FE
ΔE00 6.27
Violet (CSS)
#EE82EE
ΔE00 6.37
Pastel Purple
#CAA0FF
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF87F6 #AEF687
analogous
#9887F6 #CF87F6 #F687E6
triadic
#CF87F6 #F6CF87 #87F6CF
tetradic
#CF87F6 #F69887 #AEF687 #87E6F6
square
#CF87F6 #F69887 #AEF687 #87E6F6
split-complementary
#CF87F6 #E6F687 #87F698
monochromatic
#A115ED #B84EF2 #CF87F6 #E6C0FA #F4E3FD
Accessibility & contrast
On white
2.49
#CF87F6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.45
#CF87F6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CF87F6
8.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF87F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF87F6 | 1.00 | 2.49 | 8.45 | 8.45 |
| #FFFFFF | 2.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#70A0FA
Deuteranopia (green-blind)
#83A6F3
Tritanopia (blue-blind)
#CB98B3
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #cf87f6; /* rgb */ color: rgb(207, 135, 246); /* oklch */ color: oklch(73.9% 0.170 312.8);
Tailwind
colors: {
custom: {
50: '#dfabf9',
500: '#cf87f6',
950: '#000000',
},
}SCSS
$custom: #cf87f6; $custom-light: #dfabf9; $custom-dark: #000000;
JSON
{
"hex": "#cf87f6",
"rgb": {
"r": 207,
"g": 135,
"b": 246
},
"hsl": {
"h": 278.919,
"s": 86.047,
"l": 74.706
},
"oklch": {
"l": 0.73863,
"c": 0.17008,
"h": 312.8
},
"luminance": 0.37247
}Semantic roles & 50–950 ramp
primary
#CF87F6
secondary
#E1F5D6
accent
#E30352
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85