#CF4FE2#CF4FE2
#CF4FE2 is a light, highly saturated purple. Relative luminance 0.243; OKLCH L 65.4% C 0.234 H 322.3°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #CF4FE2 |
|---|---|
| RGB | rgb(207, 79, 226) |
| HSL | hsl(292, 72%, 60%) |
| HSV | hsv(292, 65%, 89%) |
| CMYK | cmyk(8.4%, 65%, 0%, 11.4%) |
| CIE-LAB | lab(56.44, 69.38, -51.27) |
| CIE-LCH | lch(56.44, 86.27, 323.53°) |
| OKLab | oklab(65.44% 0.1847 -0.1429) |
| OKLCH | oklch(65.44% 0.234 322.3) |
| XYZ | xyz(42.2542, 24.3506, 74.4112) |
| Luminance | 0.2435 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Pinkish Purple
#D648D7
ΔE00 2.42
Heliotrope
#D94FF5
ΔE00 2.92
Mediumorchid
#BA55D3
ΔE00 3.73
Purple Pink
#D725DE
ΔE00 4.56
Bright Lilac
#C95EFB
ΔE00 4.77
Pink Purple
#EF1DE7
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF4FE2 #62E24F
analogous
#864FE2 #CF4FE2 #E24FAB
triadic
#CF4FE2 #E2CF4F #4FE2CF
tetradic
#CF4FE2 #E2864F #62E24F #4FABE2
square
#CF4FE2 #E2864F #62E24F #4FABE2
split-complementary
#CF4FE2 #ABE24F #4FE286
monochromatic
#8C1A9D #BB22D1 #CF4FE2 #DD84EB #ECB8F3
Accessibility & contrast
On white
3.58
#CF4FE2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.87
#CF4FE2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF4FE2
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF4FE2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF4FE2 | 1.00 | 3.58 | 5.87 | 5.87 |
| #FFFFFF | 3.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#287EE6
Deuteranopia (green-blind)
#628CDE
Tritanopia (blue-blind)
#D26792
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #cf4fe2; /* rgb */ color: rgb(207, 79, 226); /* oklch */ color: oklch(65.4% 0.234 322.3);
Tailwind
colors: {
custom: {
50: '#e189ec',
500: '#cf4fe2',
950: '#000000',
},
}SCSS
$custom: #cf4fe2; $custom-light: #e189ec; $custom-dark: #000000;
JSON
{
"hex": "#cf4fe2",
"rgb": {
"r": 207,
"g": 79,
"b": 226
},
"hsl": {
"h": 292.245,
"s": 71.707,
"l": 59.804
},
"oklch": {
"l": 0.6544,
"c": 0.23353,
"h": 322.3
},
"luminance": 0.24348
}Semantic roles & 50–950 ramp
primary
#CF4FE2
secondary
#B1E3AA
accent
#EE3951
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C16
muted
#847D84