#CF42C2#CF42C2
#CF42C2 is a light, highly saturated purple. Relative luminance 0.211; OKLCH L 62.4% C 0.224 H 331.9°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #CF42C2 |
|---|---|
| RGB | rgb(207, 66, 194) |
| HSL | hsl(306, 59%, 54%) |
| HSV | hsv(306, 68%, 81%) |
| CMYK | cmyk(0%, 68.1%, 6.3%, 18.8%) |
| CIE-LAB | lab(53.01, 68.97, -38.46) |
| CIE-LCH | lch(53.01, 78.97, 330.86°) |
| OKLab | oklab(62.43% 0.1975 -0.1056) |
| OKLCH | oklch(62.43% 0.224 331.9) |
| XYZ | xyz(37.4180, 21.0598, 53.1227) |
| Luminance | 0.2106 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Pinky Purple
#C94CBE
ΔE00 1.52
Purpley Pink
#C83CB9
ΔE00 2.34
Pinkish Purple
#D648D7
ΔE00 3.63
Purpleish Pink
#DF4EC8
ΔE00 4.33
Purple Pink
#D725DE
ΔE00 4.72
Fuchsia (survey)
#ED0DD9
ΔE00 4.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF42C2 #42CF4F
analogous
#9542CF #CF42C2 #CF427B
triadic
#CF42C2 #C2CF42 #42C2CF
tetradic
#CF42C2 #CF9542 #42CF4F #427BCF
square
#CF42C2 #CF9542 #42CF4F #427BCF
split-complementary
#CF42C2 #7BCF42 #42CF95
monochromatic
#781F70 #A92B9D #CF42C2 #DB73D2 #E8A4E2
Accessibility & contrast
On white
4.03
#CF42C2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.21
#CF42C2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CF42C2
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF42C2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CF42C2 | 1.00 | 4.03 | 5.21 | 5.21 |
| #FFFFFF | 4.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A72C6
Deuteranopia (green-blind)
#6D86BE
Tritanopia (blue-blind)
#D7517D
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #cf42c2; /* rgb */ color: rgb(207, 66, 194); /* oklch */ color: oklch(62.4% 0.224 331.9);
Tailwind
colors: {
custom: {
50: '#e182d5',
500: '#cf42c2',
950: '#000000',
},
}SCSS
$custom: #cf42c2; $custom-light: #e182d5; $custom-dark: #000000;
JSON
{
"hex": "#cf42c2",
"rgb": {
"r": 207,
"g": 66,
"b": 194
},
"hsl": {
"h": 305.532,
"s": 59.494,
"l": 53.529
},
"oklch": {
"l": 0.62434,
"c": 0.22397,
"h": 331.9
},
"luminance": 0.21057
}Semantic roles & 50–950 ramp
primary
#CF42C2
secondary
#98D59E
accent
#E35445
background
#FEF8FD
surface
#FCF0FA
border
#D5CBD3
text
#160B14
muted
#847C83