#CF7FE2#CF7FE2
#CF7FE2 is a light, vivid purple. Relative luminance 0.339; OKLCH L 71.7% C 0.162 H 319.7°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).
Color values
| HEX | #CF7FE2 |
|---|---|
| RGB | rgb(207, 127, 226) |
| HSL | hsl(288, 63%, 69%) |
| HSV | hsv(288, 44%, 89%) |
| CMYK | cmyk(8.4%, 43.8%, 0%, 11.4%) |
| CIE-LAB | lab(64.91, 46.76, -37.91) |
| CIE-LCH | lch(64.91, 60.20, 320.96°) |
| OKLab | oklab(71.67% 0.1234 -0.1045) |
| OKLCH | oklch(71.67% 0.162 319.7) |
| XYZ | xyz(47.0472, 33.9368, 76.0089) |
| Luminance | 0.3393 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 4.34
Lavender Pink
#DD85D7
ΔE00 4.71
Violet (CSS)
#EE82EE
ΔE00 5.27
Orchid (survey)
#C875C4
ΔE00 5.51
Purply Pink
#F075E6
ΔE00 5.74
Light Purple
#BF77F6
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF7FE2 #92E27F
analogous
#9E7FE2 #CF7FE2 #E27FC4
triadic
#CF7FE2 #E2CF7F #7FE2CF
tetradic
#CF7FE2 #E29E7F #92E27F #7FC4E2
square
#CF7FE2 #E29E7F #92E27F #7FC4E2
split-complementary
#CF7FE2 #C4E27F #7FE29E
monochromatic
#A02BBC #BC4DD7 #CF7FE2 #E2B1ED #F4E3F9
Accessibility & contrast
On white
2.70
#CF7FE2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.79
#CF7FE2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CF7FE2
7.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF7FE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF7FE2 | 1.00 | 2.70 | 7.79 | 7.79 |
| #FFFFFF | 2.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7098E6
Deuteranopia (green-blind)
#86A0DF
Tritanopia (blue-blind)
#D08CA6
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #cf7fe2; /* rgb */ color: rgb(207, 127, 226); /* oklch */ color: oklch(71.7% 0.162 319.7);
Tailwind
colors: {
custom: {
50: '#dfa6eb',
500: '#cf7fe2',
950: '#000000',
},
}SCSS
$custom: #cf7fe2; $custom-light: #dfa6eb; $custom-dark: #000000;
JSON
{
"hex": "#cf7fe2",
"rgb": {
"r": 207,
"g": 127,
"b": 226
},
"hsl": {
"h": 288.485,
"s": 63.057,
"l": 69.216
},
"oklch": {
"l": 0.71665,
"c": 0.16171,
"h": 319.7
},
"luminance": 0.33935
}Semantic roles & 50–950 ramp
primary
#CF7FE2
secondary
#D6EDD0
accent
#CB1B3C
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84