#CF2EC1#CF2EC1
#CF2EC1 is a mid, highly saturated purple. Relative luminance 0.191; OKLCH L 60.8% C 0.244 H 332.1°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #CF2EC1 |
|---|---|
| RGB | rgb(207, 46, 193) |
| HSL | hsl(305, 64%, 50%) |
| HSV | hsv(305, 78%, 81%) |
| CMYK | cmyk(0%, 77.8%, 6.8%, 18.8%) |
| CIE-LAB | lab(50.77, 75.07, -41.42) |
| CIE-LCH | lch(50.77, 85.74, 331.11°) |
| OKLab | oklab(60.81% 0.2156 -0.114) |
| OKLCH | oklch(60.81% 0.244 332.1) |
| XYZ | xyz(36.3349, 19.0727, 52.2095) |
| Luminance | 0.1907 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 1.79
Pinky Purple
#C94CBE
ΔE00 3.84
Purple Pink
#D725DE
ΔE00 4.30
Fuchsia (survey)
#ED0DD9
ΔE00 5.41
Pinkish Purple
#D648D7
ΔE00 5.43
Hot Magenta
#F504C9
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF2EC1 #2ECF3C
analogous
#8C2ECF #CF2EC1 #CF2E71
triadic
#CF2EC1 #C1CF2E #2EC1CF
tetradic
#CF2EC1 #CF8C2E #2ECF3C #2E71CF
square
#CF2EC1 #CF8C2E #2ECF3C #2E71CF
split-complementary
#CF2EC1 #71CF2E #2ECF8C
monochromatic
#6B1864 #9D2392 #CF2EC1 #DB5FD1 #E791DF
Accessibility & contrast
On white
4.36
#CF2EC1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.81
#CF2EC1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF2EC1
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF2EC1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF2EC1 | 1.00 | 4.36 | 4.81 | 4.81 |
| #FFFFFF | 4.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#206BC5
Deuteranopia (green-blind)
#6581BD
Tritanopia (blue-blind)
#D84277
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #cf2ec1; /* rgb */ color: rgb(207, 46, 193); /* oklch */ color: oklch(60.8% 0.244 332.1);
Tailwind
colors: {
custom: {
50: '#e27ad4',
500: '#cf2ec1',
950: '#000000',
},
}SCSS
$custom: #cf2ec1; $custom-light: #e27ad4; $custom-dark: #000000;
JSON
{
"hex": "#cf2ec1",
"rgb": {
"r": 207,
"g": 46,
"b": 193
},
"hsl": {
"h": 305.217,
"s": 63.636,
"l": 49.608
},
"oklch": {
"l": 0.60806,
"c": 0.24391,
"h": 332.1
},
"luminance": 0.1907
}Semantic roles & 50–950 ramp
primary
#CF2EC1
secondary
#88D18E
accent
#E75041
background
#FEF8FD
surface
#FDEFFA
border
#D5CAD3
text
#160A14
muted
#847C83