#CF7EE2#CF7EE2
#CF7EE2 is a light, vivid purple. Relative luminance 0.337; OKLCH L 71.5% C 0.163 H 319.8°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).
Color values
| HEX | #CF7EE2 |
|---|---|
| RGB | rgb(207, 126, 226) |
| HSL | hsl(289, 63%, 69%) |
| HSV | hsv(289, 44%, 89%) |
| CMYK | cmyk(8.4%, 44.2%, 0%, 11.4%) |
| CIE-LAB | lab(64.71, 47.28, -38.23) |
| CIE-LCH | lch(64.71, 60.81, 321.04°) |
| OKLab | oklab(71.51% 0.1248 -0.1054) |
| OKLCH | oklch(71.51% 0.163 319.8) |
| XYZ | xyz(46.9187, 33.6797, 75.9661) |
| Luminance | 0.3368 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 4.20
Lavender Pink
#DD85D7
ΔE00 4.82
Violet (CSS)
#EE82EE
ΔE00 5.32
Orchid (survey)
#C875C4
ΔE00 5.46
Purply Pink
#F075E6
ΔE00 5.69
Light Purple
#BF77F6
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF7EE2 #91E27E
analogous
#9D7EE2 #CF7EE2 #E27EC3
triadic
#CF7EE2 #E2CF7E #7EE2CF
tetradic
#CF7EE2 #E29D7E #91E27E #7EC3E2
square
#CF7EE2 #E29D7E #91E27E #7EC3E2
split-complementary
#CF7EE2 #C3E27E #7EE29D
monochromatic
#A02ABB #BC4CD7 #CF7EE2 #E2B0ED #F4E2F8
Accessibility & contrast
On white
2.71
#CF7EE2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.74
#CF7EE2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CF7EE2
7.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF7EE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF7EE2 | 1.00 | 2.71 | 7.74 | 7.74 |
| #FFFFFF | 2.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F97E6
Deuteranopia (green-blind)
#85A0DF
Tritanopia (blue-blind)
#D08BA5
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #cf7ee2; /* rgb */ color: rgb(207, 126, 226); /* oklch */ color: oklch(71.5% 0.163 319.8);
Tailwind
colors: {
custom: {
50: '#dfa5eb',
500: '#cf7ee2',
950: '#000000',
},
}SCSS
$custom: #cf7ee2; $custom-light: #dfa5eb; $custom-dark: #000000;
JSON
{
"hex": "#cf7ee2",
"rgb": {
"r": 207,
"g": 126,
"b": 226
},
"hsl": {
"h": 288.6,
"s": 63.291,
"l": 69.02
},
"oklch": {
"l": 0.71512,
"c": 0.16339,
"h": 319.8
},
"luminance": 0.33678
}Semantic roles & 50–950 ramp
primary
#CF7EE2
secondary
#D5EDCF
accent
#CB1A3C
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84