#CF7BF1#CF7BF1
#CF7BF1 is a light, vivid purple. Relative luminance 0.338; OKLCH L 71.8% C 0.184 H 315.5°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).
Color values
| HEX | #CF7BF1 |
|---|---|
| RGB | rgb(207, 123, 241) |
| HSL | hsl(283, 81%, 71%) |
| HSV | hsv(283, 49%, 95%) |
| CMYK | cmyk(14.1%, 49%, 0%, 5.5%) |
| CIE-LAB | lab(64.79, 51.84, -46.41) |
| CIE-LCH | lch(64.79, 69.57, 318.16°) |
| OKLab | oklab(71.8% 0.1311 -0.129) |
| OKLCH | oklch(71.8% 0.184 315.5) |
| XYZ | xyz(48.6898, 33.7836, 87.1581) |
| Luminance | 0.3378 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.61
Easter Purple
#C071FE
ΔE00 4.75
Liliac
#C48EFD
ΔE00 5.47
Orchid
#DA70D6
ΔE00 5.92
Violet (CSS)
#EE82EE
ΔE00 6.34
Light Urple
#B36FF6
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF7BF1 #9DF17B
analogous
#947BF1 #CF7BF1 #F17BD8
triadic
#CF7BF1 #F1CF7B #7BF1CF
tetradic
#CF7BF1 #F1947B #9DF17B #7BD8F1
square
#CF7BF1 #F1947B #9DF17B #7BD8F1
split-complementary
#CF7BF1 #D8F17B #7BF194
monochromatic
#A217DA #BB44EB #CF7BF1 #E3B2F7 #F5E3FC
Accessibility & contrast
On white
2.71
#CF7BF1 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.76
#CF7BF1 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CF7BF1
7.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF7BF1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF7BF1 | 1.00 | 2.71 | 7.76 | 7.76 |
| #FFFFFF | 2.71 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6298F5
Deuteranopia (green-blind)
#7BA0EE
Tritanopia (blue-blind)
#CD8DAB
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #cf7bf1; /* rgb */ color: rgb(207, 123, 241); /* oklch */ color: oklch(71.8% 0.184 315.5);
Tailwind
colors: {
custom: {
50: '#e0a4f6',
500: '#cf7bf1',
950: '#000000',
},
}SCSS
$custom: #cf7bf1; $custom-light: #e0a4f6; $custom-dark: #000000;
JSON
{
"hex": "#cf7bf1",
"rgb": {
"r": 207,
"g": 123,
"b": 241
},
"hsl": {
"h": 282.712,
"s": 80.822,
"l": 71.373
},
"oklch": {
"l": 0.71798,
"c": 0.18396,
"h": 315.5
},
"luminance": 0.33782
}Semantic roles & 50–950 ramp
primary
#CF7BF1
secondary
#DDF3D5
accent
#DD0846
background
#FEFAFF
surface
#FCF4FE
border
#D5CED6
text
#150F17
muted
#847F85