#CF7EF1#CF7EF1
#CF7EF1 is a light, vivid purple. Relative luminance 0.345; OKLCH L 72.2% C 0.179 H 315.2°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).
Color values
| HEX | #CF7EF1 |
|---|---|
| RGB | rgb(207, 126, 241) |
| HSL | hsl(282, 80%, 72%) |
| HSV | hsv(282, 48%, 95%) |
| CMYK | cmyk(14.1%, 47.7%, 0%, 5.5%) |
| CIE-LAB | lab(65.39, 50.29, -45.46) |
| CIE-LCH | lch(65.39, 67.80, 317.89°) |
| OKLab | oklab(72.24% 0.1271 -0.1263) |
| OKLCH | oklch(72.24% 0.179 315.2) |
| XYZ | xyz(49.0677, 34.5393, 87.2840) |
| Luminance | 0.3454 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.91
Liliac
#C48EFD
ΔE00 4.99
Easter Purple
#C071FE
ΔE00 5.16
Violet (CSS)
#EE82EE
ΔE00 6.12
Orchid
#DA70D6
ΔE00 6.12
Purply Pink
#F075E6
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF7EF1 #A0F17E
analogous
#967EF1 #CF7EF1 #F17EDA
triadic
#CF7EF1 #F1CF7E #7EF1CF
tetradic
#CF7EF1 #F1967E #A0F17E #7EDAF1
square
#CF7EF1 #F1967E #A0F17E #7EDAF1
split-complementary
#CF7EF1 #DAF17E #7EF196
monochromatic
#A218DD #BA47EB #CF7EF1 #E4B5F7 #F5E3FC
Accessibility & contrast
On white
2.66
#CF7EF1 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.91
#CF7EF1 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CF7EF1
7.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF7EF1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF7EF1 | 1.00 | 2.66 | 7.91 | 7.91 |
| #FFFFFF | 2.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#679AF5
Deuteranopia (green-blind)
#7EA1EE
Tritanopia (blue-blind)
#CD8FAC
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #cf7ef1; /* rgb */ color: rgb(207, 126, 241); /* oklch */ color: oklch(72.2% 0.179 315.2);
Tailwind
colors: {
custom: {
50: '#e0a5f6',
500: '#cf7ef1',
950: '#000000',
},
}SCSS
$custom: #cf7ef1; $custom-light: #e0a5f6; $custom-dark: #000000;
JSON
{
"hex": "#cf7ef1",
"rgb": {
"r": 207,
"g": 126,
"b": 241
},
"hsl": {
"h": 282.261,
"s": 80.42,
"l": 71.961
},
"oklch": {
"l": 0.72242,
"c": 0.17917,
"h": 315.2
},
"luminance": 0.34538
}Semantic roles & 50–950 ramp
primary
#CF7EF1
secondary
#E0F4D7
accent
#DD0947
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#150F17
muted
#837F85