#CF7BE8#CF7BE8
#CF7BE8 is a light, vivid purple. Relative luminance 0.333; OKLCH L 71.3% C 0.175 H 318.1°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).
Color values
| HEX | #CF7BE8 |
|---|---|
| RGB | rgb(207, 123, 232) |
| HSL | hsl(286, 70%, 70%) |
| HSV | hsv(286, 47%, 91%) |
| CMYK | cmyk(10.8%, 47%, 0%, 9%) |
| CIE-LAB | lab(64.37, 50.02, -42.09) |
| CIE-LCH | lch(64.37, 65.38, 319.92°) |
| OKLab | oklab(71.35% 0.1299 -0.1165) |
| OKLCH | oklch(71.35% 0.175 318.1) |
| XYZ | xyz(47.3786, 33.2591, 80.2522) |
| Luminance | 0.3326 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 4.64
Light Purple
#BF77F6
ΔE00 4.70
Violet (CSS)
#EE82EE
ΔE00 5.75
Easter Purple
#C071FE
ΔE00 5.92
Purply Pink
#F075E6
ΔE00 6.00
Lavender Pink
#DD85D7
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF7BE8 #94E87B
analogous
#997BE8 #CF7BE8 #E87BCA
triadic
#CF7BE8 #E8CF7B #7BE8CF
tetradic
#CF7BE8 #E8997B #94E87B #7BCAE8
square
#CF7BE8 #E8997B #94E87B #7BCAE8
split-complementary
#CF7BE8 #CAE87B #7BE899
monochromatic
#A123C6 #BC47DF #CF7BE8 #E2AFF1 #F5E3FA
Accessibility & contrast
On white
2.74
#CF7BE8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.65
#CF7BE8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CF7BE8
7.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF7BE8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF7BE8 | 1.00 | 2.74 | 7.65 | 7.65 |
| #FFFFFF | 2.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6897EC
Deuteranopia (green-blind)
#809FE5
Tritanopia (blue-blind)
#CF8AA7
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #cf7be8; /* rgb */ color: rgb(207, 123, 232); /* oklch */ color: oklch(71.3% 0.175 318.1);
Tailwind
colors: {
custom: {
50: '#e0a3ef',
500: '#cf7be8',
950: '#000000',
},
}SCSS
$custom: #cf7be8; $custom-light: #e0a3ef; $custom-dark: #000000;
JSON
{
"hex": "#cf7be8",
"rgb": {
"r": 207,
"g": 123,
"b": 232
},
"hsl": {
"h": 286.239,
"s": 70.323,
"l": 69.608
},
"oklch": {
"l": 0.71349,
"c": 0.17455,
"h": 318.1
},
"luminance": 0.33258
}Semantic roles & 50–950 ramp
primary
#CF7BE8
secondary
#D7EFD0
accent
#D2133F
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84