#CF54E6#CF54E6
#CF54E6 is a light, highly saturated purple. Relative luminance 0.253; OKLCH L 66.2% C 0.231 H 321.0°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #CF54E6 |
|---|---|
| RGB | rgb(207, 84, 230) |
| HSL | hsl(291, 74%, 62%) |
| HSV | hsv(291, 63%, 90%) |
| CMYK | cmyk(10%, 63.5%, 0%, 9.8%) |
| CIE-LAB | lab(57.39, 68.06, -52.01) |
| CIE-LCH | lch(57.39, 85.66, 322.61°) |
| OKLab | oklab(66.2% 0.1792 -0.1451) |
| OKLCH | oklch(66.2% 0.231 321) |
| XYZ | xyz(43.1837, 25.3214, 77.4604) |
| Luminance | 0.2532 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Heliotrope
#D94FF5
ΔE00 2.27
Pinkish Purple
#D648D7
ΔE00 3.22
Bright Lilac
#C95EFB
ΔE00 3.87
Mediumorchid
#BA55D3
ΔE00 4.19
Bright Lavender
#C760FF
ΔE00 4.66
Pink Purple
#EF1DE7
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF54E6 #6BE654
analogous
#8654E6 #CF54E6 #E654B4
triadic
#CF54E6 #E6CF54 #54E6CF
tetradic
#CF54E6 #E68654 #6BE654 #54B4E6
square
#CF54E6 #E68654 #6BE654 #54B4E6
split-complementary
#CF54E6 #B4E654 #54E686
monochromatic
#9118A7 #BF20DD #CF54E6 #DE89EE #EDBFF6
Accessibility & contrast
On white
3.46
#CF54E6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.06
#CF54E6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF54E6
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF54E6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF54E6 | 1.00 | 3.46 | 6.06 | 6.06 |
| #FFFFFF | 3.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D81EA
Deuteranopia (green-blind)
#638EE2
Tritanopia (blue-blind)
#D16C96
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #cf54e6; /* rgb */ color: rgb(207, 84, 230); /* oklch */ color: oklch(66.2% 0.231 321.0);
Tailwind
colors: {
custom: {
50: '#e18cee',
500: '#cf54e6',
950: '#000000',
},
}SCSS
$custom: #cf54e6; $custom-light: #e18cee; $custom-dark: #000000;
JSON
{
"hex": "#cf54e6",
"rgb": {
"r": 207,
"g": 84,
"b": 230
},
"hsl": {
"h": 290.548,
"s": 74.49,
"l": 61.569
},
"oklch": {
"l": 0.66195,
"c": 0.23057,
"h": 321
},
"luminance": 0.25319
}Semantic roles & 50–950 ramp
primary
#CF54E6
secondary
#B8E6B0
accent
#D70F2E
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84