#CF7BEB#CF7BEB
#CF7BEB is a light, vivid purple. Relative luminance 0.334; OKLCH L 71.5% C 0.178 H 317.2°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).
Color values
| HEX | #CF7BEB |
|---|---|
| RGB | rgb(207, 123, 235) |
| HSL | hsl(285, 74%, 70%) |
| HSV | hsv(285, 48%, 92%) |
| CMYK | cmyk(11.9%, 47.7%, 0%, 7.8%) |
| CIE-LAB | lab(64.51, 50.62, -43.54) |
| CIE-LCH | lch(64.51, 66.77, 319.30°) |
| OKLab | oklab(71.5% 0.1304 -0.1207) |
| OKLCH | oklch(71.5% 0.178 317.2) |
| XYZ | xyz(47.8083, 33.4310, 82.5156) |
| Luminance | 0.3343 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 4.30
Orchid
#DA70D6
ΔE00 5.06
Easter Purple
#C071FE
ΔE00 5.50
Violet (CSS)
#EE82EE
ΔE00 5.91
Liliac
#C48EFD
ΔE00 6.00
Purply Pink
#F075E6
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF7BEB #97EB7B
analogous
#977BEB #CF7BEB #EB7BCF
triadic
#CF7BEB #EBCF7B #7BEBCF
tetradic
#CF7BEB #EB977B #97EB7B #7BCFEB
square
#CF7BEB #EB977B #97EB7B #7BCFEB
split-complementary
#CF7BEB #CFEB7B #7BEB97
monochromatic
#A11FCD #BC46E3 #CF7BEB #E2B0F3 #F5E4FB
Accessibility & contrast
On white
2.73
#CF7BEB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.69
#CF7BEB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CF7BEB
7.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF7BEB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF7BEB | 1.00 | 2.73 | 7.69 | 7.69 |
| #FFFFFF | 2.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6697EF
Deuteranopia (green-blind)
#7E9FE8
Tritanopia (blue-blind)
#CE8BA8
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #cf7beb; /* rgb */ color: rgb(207, 123, 235); /* oklch */ color: oklch(71.5% 0.178 317.2);
Tailwind
colors: {
custom: {
50: '#e0a3f2',
500: '#cf7beb',
950: '#000000',
},
}SCSS
$custom: #cf7beb; $custom-light: #e0a3f2; $custom-dark: #000000;
JSON
{
"hex": "#cf7beb",
"rgb": {
"r": 207,
"g": 123,
"b": 235
},
"hsl": {
"h": 285,
"s": 73.684,
"l": 70.196
},
"oklch": {
"l": 0.71496,
"c": 0.17766,
"h": 317.2
},
"luminance": 0.33429
}Semantic roles & 50–950 ramp
primary
#CF7BEB
secondary
#D9F0D1
accent
#D61041
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85