#CF45E6#CF45E6
#CF45E6 is a light, highly saturated purple. Relative luminance 0.232; OKLCH L 64.7% C 0.249 H 321.6°. Best body text is #000000 at 5.65:1 contrast (WCAG AA passes).
Color values
| HEX | #CF45E6 |
|---|---|
| RGB | rgb(207, 69, 230) |
| HSL | hsl(291, 76%, 59%) |
| HSV | hsv(291, 70%, 90%) |
| CMYK | cmyk(10%, 70%, 0%, 9.8%) |
| CIE-LAB | lab(55.32, 73.87, -55.31) |
| CIE-LCH | lch(55.32, 92.29, 323.17°) |
| OKLab | oklab(64.71% 0.1949 -0.1546) |
| OKLCH | oklch(64.71% 0.249 321.6) |
| XYZ | xyz(42.1416, 23.2371, 77.1131) |
| Luminance | 0.2324 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Pinkish Purple
#D648D7
ΔE00 3.05
Heliotrope
#D94FF5
ΔE00 3.38
Purple Pink
#D725DE
ΔE00 3.42
Mediumorchid
#BA55D3
ΔE00 3.97
Pink Purple
#EF1DE7
ΔE00 4.82
Bright Lilac
#C95EFB
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF45E6 #5CE645
analogous
#7E45E6 #CF45E6 #E645AC
triadic
#CF45E6 #E6CF45 #45E6CF
tetradic
#CF45E6 #E67E45 #5CE645 #45ACE6
square
#CF45E6 #E67E45 #5CE645 #45ACE6
split-complementary
#CF45E6 #ACE645 #45E67E
monochromatic
#88159C #B81CD2 #CF45E6 #DD7BED #EBB1F5
Accessibility & contrast
On white
3.72
#CF45E6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.65
#CF45E6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF45E6
5.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF45E6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF45E6 | 1.00 | 3.72 | 5.65 | 5.65 |
| #FFFFFF | 3.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007BEB
Deuteranopia (green-blind)
#598AE2
Tritanopia (blue-blind)
#D16291
Achromatopsia (no color)
#848484
Design tokens & code
CSS
--color: #cf45e6; /* rgb */ color: rgb(207, 69, 230); /* oklch */ color: oklch(64.7% 0.249 321.6);
Tailwind
colors: {
custom: {
50: '#e284ef',
500: '#cf45e6',
950: '#000000',
},
}SCSS
$custom: #cf45e6; $custom-light: #e284ef; $custom-dark: #000000;
JSON
{
"hex": "#cf45e6",
"rgb": {
"r": 207,
"g": 69,
"b": 230
},
"hsl": {
"h": 291.429,
"s": 76.303,
"l": 58.627
},
"oklch": {
"l": 0.64707,
"c": 0.24874,
"h": 321.6
},
"luminance": 0.23235
}Semantic roles & 50–950 ramp
primary
#CF45E6
secondary
#ADE3A4
accent
#F33550
background
#FEF8FE
surface
#FDF0FD
border
#D5CBD5
text
#160C16
muted
#847D84