#CF7FE6#CF7FE6
#CF7FE6 is a light, vivid purple. Relative luminance 0.342; OKLCH L 71.9% C 0.166 H 318.4°. Best body text is #000000 at 7.83:1 contrast (WCAG AA passes).
Color values
| HEX | #CF7FE6 |
|---|---|
| RGB | rgb(207, 127, 230) |
| HSL | hsl(287, 67%, 70%) |
| HSV | hsv(287, 45%, 90%) |
| CMYK | cmyk(10%, 44.8%, 0%, 9.8%) |
| CIE-LAB | lab(65.09, 47.55, -39.86) |
| CIE-LCH | lch(65.09, 62.05, 320.03°) |
| OKLab | oklab(71.85% 0.1241 -0.1101) |
| OKLCH | oklch(71.85% 0.166 318.4) |
| XYZ | xyz(47.6025, 34.1589, 78.9333) |
| Luminance | 0.3416 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 4.78
Lavender Pink
#DD85D7
ΔE00 5.30
Light Purple
#BF77F6
ΔE00 5.37
Violet (CSS)
#EE82EE
ΔE00 5.38
Purply Pink
#F075E6
ΔE00 5.95
Liliac
#C48EFD
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF7FE6 #96E67F
analogous
#9C7FE6 #CF7FE6 #E67FC9
triadic
#CF7FE6 #E6CF7F #7FE6CF
tetradic
#CF7FE6 #E69C7F #96E67F #7FC9E6
square
#CF7FE6 #E69C7F #96E67F #7FC9E6
split-complementary
#CF7FE6 #C9E67F #7FE69C
monochromatic
#A126C4 #BC4CDC #CF7FE6 #E2B2F0 #F5E5FA
Accessibility & contrast
On white
2.68
#CF7FE6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.83
#CF7FE6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CF7FE6
7.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF7FE6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF7FE6 | 1.00 | 2.68 | 7.83 | 7.83 |
| #FFFFFF | 2.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E99EA
Deuteranopia (green-blind)
#84A1E3
Tritanopia (blue-blind)
#CF8DA8
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #cf7fe6; /* rgb */ color: rgb(207, 127, 230); /* oklch */ color: oklch(71.9% 0.166 318.4);
Tailwind
colors: {
custom: {
50: '#dfa6ee',
500: '#cf7fe6',
950: '#000000',
},
}SCSS
$custom: #cf7fe6; $custom-light: #dfa6ee; $custom-dark: #000000;
JSON
{
"hex": "#cf7fe6",
"rgb": {
"r": 207,
"g": 127,
"b": 230
},
"hsl": {
"h": 286.602,
"s": 67.32,
"l": 70
},
"oklch": {
"l": 0.71854,
"c": 0.16589,
"h": 318.4
},
"luminance": 0.34157
}Semantic roles & 50–950 ramp
primary
#CF7FE6
secondary
#D8EFD2
accent
#CF1640
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84