#CF7EF2#CF7EF2
#CF7EF2 is a light, vivid purple. Relative luminance 0.346; OKLCH L 72.3% C 0.180 H 314.9°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).
Color values
| HEX | #CF7EF2 |
|---|---|
| RGB | rgb(207, 126, 242) |
| HSL | hsl(282, 82%, 72%) |
| HSV | hsv(282, 48%, 95%) |
| CMYK | cmyk(14.5%, 47.9%, 0%, 5.1%) |
| CIE-LAB | lab(65.44, 50.50, -45.94) |
| CIE-LCH | lch(65.44, 68.27, 317.70°) |
| OKLab | oklab(72.29% 0.1272 -0.1277) |
| OKLCH | oklch(72.29% 0.18 314.9) |
| XYZ | xyz(49.2175, 34.5992, 88.0728) |
| Luminance | 0.3460 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.82
Liliac
#C48EFD
ΔE00 4.90
Easter Purple
#C071FE
ΔE00 5.05
Violet (CSS)
#EE82EE
ΔE00 6.21
Orchid
#DA70D6
ΔE00 6.26
Light Urple
#B36FF6
ΔE00 6.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF7EF2 #A1F27E
analogous
#957EF2 #CF7EF2 #F27EDB
triadic
#CF7EF2 #F2CF7E #7EF2CF
tetradic
#CF7EF2 #F2957E #A1F27E #7EDBF2
square
#CF7EF2 #F2957E #A1F27E #7EDBF2
split-complementary
#CF7EF2 #DBF27E #7EF295
monochromatic
#A316DF #BA46EC #CF7EF2 #E4B6F8 #F5E3FC
Accessibility & contrast
On white
2.65
#CF7EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.92
#CF7EF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CF7EF2
7.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF7EF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF7EF2 | 1.00 | 2.65 | 7.92 | 7.92 |
| #FFFFFF | 2.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#669AF6
Deuteranopia (green-blind)
#7DA1EF
Tritanopia (blue-blind)
#CD8FAD
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #cf7ef2; /* rgb */ color: rgb(207, 126, 242); /* oklch */ color: oklch(72.3% 0.180 314.9);
Tailwind
colors: {
custom: {
50: '#e0a5f7',
500: '#cf7ef2',
950: '#000000',
},
}SCSS
$custom: #cf7ef2; $custom-light: #e0a5f7; $custom-dark: #000000;
JSON
{
"hex": "#cf7ef2",
"rgb": {
"r": 207,
"g": 126,
"b": 242
},
"hsl": {
"h": 281.897,
"s": 81.69,
"l": 72.157
},
"oklch": {
"l": 0.72292,
"c": 0.18023,
"h": 314.9
},
"luminance": 0.34598
}Semantic roles & 50–950 ramp
primary
#CF7EF2
secondary
#E0F4D7
accent
#DE0748
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85