#CF7BEA#CF7BEA
#CF7BEA is a light, vivid purple. Relative luminance 0.334; OKLCH L 71.4% C 0.177 H 317.5°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).
Color values
| HEX | #CF7BEA |
|---|---|
| RGB | rgb(207, 123, 234) |
| HSL | hsl(285, 73%, 70%) |
| HSV | hsv(285, 47%, 92%) |
| CMYK | cmyk(11.5%, 47.4%, 0%, 8.2%) |
| CIE-LAB | lab(64.46, 50.42, -43.05) |
| CIE-LCH | lch(64.46, 66.30, 319.51°) |
| OKLab | oklab(71.45% 0.1302 -0.1193) |
| OKLCH | oklch(71.45% 0.177 317.5) |
| XYZ | xyz(47.6643, 33.3734, 81.7569) |
| Luminance | 0.3337 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 4.43
Orchid
#DA70D6
ΔE00 4.92
Easter Purple
#C071FE
ΔE00 5.64
Violet (CSS)
#EE82EE
ΔE00 5.85
Liliac
#C48EFD
ΔE00 6.10
Purply Pink
#F075E6
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF7BEA #96EA7B
analogous
#977BEA #CF7BEA #EA7BCE
triadic
#CF7BEA #EACF7B #7BEACF
tetradic
#CF7BEA #EA977B #96EA7B #7BCEEA
square
#CF7BEA #EA977B #96EA7B #7BCEEA
split-complementary
#CF7BEA #CEEA7B #7BEA97
monochromatic
#A120CA #BC46E2 #CF7BEA #E2B0F2 #F5E5FB
Accessibility & contrast
On white
2.74
#CF7BEA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.67
#CF7BEA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CF7BEA
7.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF7BEA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF7BEA | 1.00 | 2.74 | 7.67 | 7.67 |
| #FFFFFF | 2.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6797EE
Deuteranopia (green-blind)
#7F9FE7
Tritanopia (blue-blind)
#CF8BA8
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #cf7bea; /* rgb */ color: rgb(207, 123, 234); /* oklch */ color: oklch(71.4% 0.177 317.5);
Tailwind
colors: {
custom: {
50: '#e0a3f1',
500: '#cf7bea',
950: '#000000',
},
}SCSS
$custom: #cf7bea; $custom-light: #e0a3f1; $custom-dark: #000000;
JSON
{
"hex": "#cf7bea",
"rgb": {
"r": 207,
"g": 123,
"b": 234
},
"hsl": {
"h": 285.405,
"s": 72.549,
"l": 70
},
"oklch": {
"l": 0.71447,
"c": 0.17662,
"h": 317.5
},
"luminance": 0.33372
}Semantic roles & 50–950 ramp
primary
#CF7BEA
secondary
#D8F0D1
accent
#D51140
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85