#CF86FD#CF86FD
#CF86FD is a light, vivid violet. Relative luminance 0.374; OKLCH L 74.1% C 0.179 H 311.0°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).
Color values
| HEX | #CF86FD |
|---|---|
| RGB | rgb(207, 134, 253) |
| HSL | hsl(277, 97%, 76%) |
| HSV | hsv(277, 47%, 99%) |
| CMYK | cmyk(18.2%, 47%, 0%, 0.8%) |
| CIE-LAB | lab(67.58, 48.63, -48.59) |
| CIE-LCH | lch(67.58, 68.75, 315.02°) |
| OKLab | oklab(74.06% 0.1178 -0.1354) |
| OKLCH | oklch(74.06% 0.179 311) |
| XYZ | xyz(51.9837, 37.4084, 97.3915) |
| Luminance | 0.3741 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 2.93
Light Purple
#BF77F6
ΔE00 4.46
Baby Purple
#CA9BF7
ΔE00 5.55
Easter Purple
#C071FE
ΔE00 5.62
Pastel Purple
#CAA0FF
ΔE00 6.59
Lilac (survey)
#CEA2FD
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF86FD #B4FD86
analogous
#9386FD #CF86FD #FD86EF
triadic
#CF86FD #FDCF86 #86FDCF
tetradic
#CF86FD #FD9386 #B4FD86 #86EFFD
square
#CF86FD #FD9386 #B4FD86 #86EFFD
split-complementary
#CF86FD #EFFD86 #86FD93
monochromatic
#9F0EFB #B74AFC #CF86FD #E7C2FE #F3E1FF
Accessibility & contrast
On white
2.48
#CF86FD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.48
#CF86FD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CF86FD
8.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF86FD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF86FD | 1.00 | 2.48 | 8.48 | 8.48 |
| #FFFFFF | 2.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6AA1FF
Deuteranopia (green-blind)
#7FA6FA
Tritanopia (blue-blind)
#CA99B6
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #cf86fd; /* rgb */ color: rgb(207, 134, 253); /* oklch */ color: oklch(74.1% 0.179 311.0);
Tailwind
colors: {
custom: {
50: '#e0abfe',
500: '#cf86fd',
950: '#000000',
},
}SCSS
$custom: #cf86fd; $custom-light: #e0abfe; $custom-dark: #000000;
JSON
{
"hex": "#cf86fd",
"rgb": {
"r": 207,
"g": 134,
"b": 253
},
"hsl": {
"h": 276.807,
"s": 96.748,
"l": 75.882
},
"oklch": {
"l": 0.74059,
"c": 0.17948,
"h": 311
},
"luminance": 0.37407
}Semantic roles & 50–950 ramp
primary
#CF86FD
secondary
#E2F7D4
accent
#E60059
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86