#CF74E8#CF74E8
#CF74E8 is a light, vivid purple. Relative luminance 0.316; OKLCH L 70.3% C 0.186 H 318.7°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).
Color values
| HEX | #CF74E8 |
|---|---|
| RGB | rgb(207, 116, 232) |
| HSL | hsl(287, 72%, 68%) |
| HSV | hsv(287, 50%, 91%) |
| CMYK | cmyk(10.8%, 50%, 0%, 9%) |
| CIE-LAB | lab(63.00, 53.59, -44.25) |
| CIE-LCH | lch(63.00, 69.50, 320.45°) |
| OKLab | oklab(70.33% 0.1395 -0.1227) |
| OKLCH | oklch(70.33% 0.186 318.7) |
| XYZ | xyz(46.5411, 31.5841, 79.9730) |
| Luminance | 0.3158 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Orchid
#DA70D6
ΔE00 4.37
Light Purple
#BF77F6
ΔE00 4.40
Easter Purple
#C071FE
ΔE00 5.29
Bright Lilac
#C95EFB
ΔE00 5.83
Bright Lavender
#C760FF
ΔE00 6.09
Purply Pink
#F075E6
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF74E8 #8DE874
analogous
#9574E8 #CF74E8 #E874C7
triadic
#CF74E8 #E8CF74 #74E8CF
tetradic
#CF74E8 #E89574 #8DE874 #74C7E8
square
#CF74E8 #E89574 #8DE874 #74C7E8
split-complementary
#CF74E8 #C7E874 #74E895
monochromatic
#9F20C2 #BD3FDF #CF74E8 #E1A9F1 #F3DDF9
Accessibility & contrast
On white
2.87
#CF74E8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.32
#CF74E8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CF74E8
7.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF74E8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF74E8 | 1.00 | 2.87 | 7.32 | 7.32 |
| #FFFFFF | 2.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.32 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.32 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F92EC
Deuteranopia (green-blind)
#7A9CE5
Tritanopia (blue-blind)
#CF85A4
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #cf74e8; /* rgb */ color: rgb(207, 116, 232); /* oklch */ color: oklch(70.3% 0.186 318.7);
Tailwind
colors: {
custom: {
50: '#e09ff0',
500: '#cf74e8',
950: '#000000',
},
}SCSS
$custom: #cf74e8; $custom-light: #e09ff0; $custom-dark: #000000;
JSON
{
"hex": "#cf74e8",
"rgb": {
"r": 207,
"g": 116,
"b": 232
},
"hsl": {
"h": 287.069,
"s": 71.605,
"l": 68.235
},
"oklch": {
"l": 0.70331,
"c": 0.18578,
"h": 318.7
},
"luminance": 0.31582
}Semantic roles & 50–950 ramp
primary
#CF74E8
secondary
#D2EDCA
accent
#D4123C
background
#FEFAFE
surface
#FCF3FD
border
#D5CDD5
text
#150F16
muted
#847F84