#CF51E3#CF51E3
#CF51E3 is a light, highly saturated purple. Relative luminance 0.247; OKLCH L 65.7% C 0.232 H 321.9°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).
Color values
| HEX | #CF51E3 |
|---|---|
| RGB | rgb(207, 81, 227) |
| HSL | hsl(292, 72%, 60%) |
| HSV | hsv(292, 64%, 89%) |
| CMYK | cmyk(8.8%, 64.3%, 0%, 11%) |
| CIE-LAB | lab(56.78, 68.75, -51.29) |
| CIE-LCH | lch(56.78, 85.77, 323.27°) |
| OKLab | oklab(65.71% 0.1825 -0.1429) |
| OKLCH | oklch(65.71% 0.232 321.9) |
| XYZ | xyz(42.5382, 24.6985, 75.1848) |
| Luminance | 0.2470 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Pinkish Purple
#D648D7
ΔE00 2.64
Heliotrope
#D94FF5
ΔE00 2.70
Mediumorchid
#BA55D3
ΔE00 3.85
Bright Lilac
#C95EFB
ΔE00 4.49
Purple Pink
#D725DE
ΔE00 4.92
Pink Purple
#EF1DE7
ΔE00 5.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF51E3 #65E351
analogous
#8651E3 #CF51E3 #E351AE
triadic
#CF51E3 #E3CF51 #51E3CF
tetradic
#CF51E3 #E38651 #65E351 #51AEE3
square
#CF51E3 #E38651 #65E351 #51AEE3
split-complementary
#CF51E3 #AEE351 #51E386
monochromatic
#8D1AA0 #BC22D5 #CF51E3 #DE86EB #ECBAF4
Accessibility & contrast
On white
3.54
#CF51E3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.94
#CF51E3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF51E3
5.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF51E3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF51E3 | 1.00 | 3.54 | 5.94 | 5.94 |
| #FFFFFF | 3.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B7FE7
Deuteranopia (green-blind)
#638DDF
Tritanopia (blue-blind)
#D16993
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #cf51e3; /* rgb */ color: rgb(207, 81, 227); /* oklch */ color: oklch(65.7% 0.232 321.9);
Tailwind
colors: {
custom: {
50: '#e18aec',
500: '#cf51e3',
950: '#000000',
},
}SCSS
$custom: #cf51e3; $custom-light: #e18aec; $custom-dark: #000000;
JSON
{
"hex": "#cf51e3",
"rgb": {
"r": 207,
"g": 81,
"b": 227
},
"hsl": {
"h": 291.781,
"s": 72.277,
"l": 60.392
},
"oklch": {
"l": 0.65705,
"c": 0.23184,
"h": 321.9
},
"luminance": 0.24696
}Semantic roles & 50–950 ramp
primary
#CF51E3
secondary
#B4E4AC
accent
#D4112C
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C16
muted
#847D84