#CF76E2#CF76E2
#CF76E2 is a light, vivid purple. Relative luminance 0.317; OKLCH L 70.3% C 0.177 H 320.4°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).
Color values
| HEX | #CF76E2 |
|---|---|
| RGB | rgb(207, 118, 226) |
| HSL | hsl(289, 65%, 67%) |
| HSV | hsv(289, 48%, 89%) |
| CMYK | cmyk(8.4%, 47.8%, 0%, 11.4%) |
| CIE-LAB | lab(63.11, 51.41, -40.74) |
| CIE-LCH | lch(63.11, 65.59, 321.60°) |
| OKLab | oklab(70.32% 0.136 -0.1126) |
| OKLCH | oklch(70.32% 0.177 320.4) |
| XYZ | xyz(45.9364, 31.7150, 75.6386) |
| Luminance | 0.3171 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 3.51
Light Purple
#BF77F6
ΔE00 5.30
Orchid (survey)
#C875C4
ΔE00 5.37
Purply Pink
#F075E6
ΔE00 5.71
Lavender Pink
#DD85D7
ΔE00 5.97
Violet (CSS)
#EE82EE
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF76E2 #89E276
analogous
#9976E2 #CF76E2 #E276BF
triadic
#CF76E2 #E2CF76 #76E2CF
tetradic
#CF76E2 #E29976 #89E276 #76BFE2
square
#CF76E2 #E29976 #89E276 #76BFE2
split-complementary
#CF76E2 #BFE276 #76E299
monochromatic
#9E27B7 #BD43D7 #CF76E2 #E1A9ED #F2DBF7
Accessibility & contrast
On white
2.86
#CF76E2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.34
#CF76E2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CF76E2
7.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF76E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF76E2 | 1.00 | 2.86 | 7.34 | 7.34 |
| #FFFFFF | 2.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6592E6
Deuteranopia (green-blind)
#7F9CDF
Tritanopia (blue-blind)
#D084A2
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #cf76e2; /* rgb */ color: rgb(207, 118, 226); /* oklch */ color: oklch(70.3% 0.177 320.4);
Tailwind
colors: {
custom: {
50: '#e0a0eb',
500: '#cf76e2',
950: '#000000',
},
}SCSS
$custom: #cf76e2; $custom-light: #e0a0eb; $custom-dark: #000000;
JSON
{
"hex": "#cf76e2",
"rgb": {
"r": 207,
"g": 118,
"b": 226
},
"hsl": {
"h": 289.444,
"s": 65.06,
"l": 67.451
},
"oklch": {
"l": 0.70321,
"c": 0.17654,
"h": 320.4
},
"luminance": 0.31713
}Semantic roles & 50–950 ramp
primary
#CF76E2
secondary
#CFEBC9
accent
#CD1938
background
#FDFAFE
surface
#FBF3FD
border
#D4CDD5
text
#150F16
muted
#837F84