#CF71E2#CF71E2
#CF71E2 is a light, vivid purple. Relative luminance 0.306; OKLCH L 69.6% C 0.185 H 320.7°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).
Color values
| HEX | #CF71E2 |
|---|---|
| RGB | rgb(207, 113, 226) |
| HSL | hsl(290, 66%, 66%) |
| HSV | hsv(290, 50%, 89%) |
| CMYK | cmyk(8.4%, 50%, 0%, 11.4%) |
| CIE-LAB | lab(62.14, 53.93, -42.25) |
| CIE-LCH | lch(62.14, 68.51, 321.92°) |
| OKLab | oklab(69.61% 0.1428 -0.1169) |
| OKLCH | oklch(69.61% 0.185 320.7) |
| XYZ | xyz(45.3631, 30.5685, 75.4476) |
| Luminance | 0.3057 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 3.52
Light Purple
#BF77F6
ΔE00 5.26
Orchid (survey)
#C875C4
ΔE00 5.59
Purply Pink
#F075E6
ΔE00 6.02
Bright Lilac
#C95EFB
ΔE00 6.04
Easter Purple
#C071FE
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF71E2 #84E271
analogous
#9771E2 #CF71E2 #E271BC
triadic
#CF71E2 #E2CF71 #71E2CF
tetradic
#CF71E2 #E29771 #84E271 #71BCE2
square
#CF71E2 #E29771 #84E271 #71BCE2
split-complementary
#CF71E2 #BCE271 #71E297
monochromatic
#9C25B4 #BE3ED8 #CF71E2 #E0A4EC #F1D7F7
Accessibility & contrast
On white
2.95
#CF71E2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.11
#CF71E2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CF71E2
7.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF71E2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF71E2 | 1.00 | 2.95 | 7.11 | 7.11 |
| #FFFFFF | 2.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E8FE6
Deuteranopia (green-blind)
#7B9ADF
Tritanopia (blue-blind)
#D1809F
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #cf71e2; /* rgb */ color: rgb(207, 113, 226); /* oklch */ color: oklch(69.6% 0.185 320.7);
Tailwind
colors: {
custom: {
50: '#e09deb',
500: '#cf71e2',
950: '#000000',
},
}SCSS
$custom: #cf71e2; $custom-light: #e09deb; $custom-dark: #000000;
JSON
{
"hex": "#cf71e2",
"rgb": {
"r": 207,
"g": 113,
"b": 226
},
"hsl": {
"h": 289.912,
"s": 66.082,
"l": 66.471
},
"oklch": {
"l": 0.69606,
"c": 0.18456,
"h": 320.7
},
"luminance": 0.30567
}Semantic roles & 50–950 ramp
primary
#CF71E2
secondary
#CBEAC5
accent
#CE1836
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#150F16
muted
#847E84