#CC2FBE#CC2FBE
#CC2FBE is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 60.3% C 0.240 H 332.2°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #CC2FBE |
|---|---|
| RGB | rgb(204, 47, 190) |
| HSL | hsl(305, 63%, 49%) |
| HSV | hsv(305, 77%, 80%) |
| CMYK | cmyk(0%, 77%, 6.9%, 20%) |
| CIE-LAB | lab(50.21, 73.74, -40.60) |
| CIE-LCH | lch(50.21, 84.18, 331.16°) |
| OKLab | oklab(60.26% 0.2119 -0.1117) |
| OKLCH | oklch(60.26% 0.24 332.2) |
| XYZ | xyz(35.2127, 18.5911, 50.4391) |
| Luminance | 0.1859 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 1.55
Pinky Purple
#C94CBE
ΔE00 4.02
Purple Pink
#D725DE
ΔE00 4.82
Pinkish Purple
#D648D7
ΔE00 5.97
Fuchsia (survey)
#ED0DD9
ΔE00 6.06
Hot Magenta
#F504C9
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC2FBE #2FCC3D
analogous
#8C2FCC #CC2FBE #CC2F70
triadic
#CC2FBE #BECC2F #2FBECC
tetradic
#CC2FBE #CC8C2F #2FCC3D #2F70CC
square
#CC2FBE #CC8C2F #2FCC3D #2F70CC
split-complementary
#CC2FBE #70CC2F #2FCC8C
monochromatic
#691861 #9A2490 #CC2FBE #DA5ECF #E590DE
Accessibility & contrast
On white
4.45
#CC2FBE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.72
#CC2FBE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CC2FBE
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC2FBE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC2FBE | 1.00 | 4.45 | 4.72 | 4.72 |
| #FFFFFF | 4.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2269C2
Deuteranopia (green-blind)
#657FBA
Tritanopia (blue-blind)
#D54275
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #cc2fbe; /* rgb */ color: rgb(204, 47, 190); /* oklch */ color: oklch(60.3% 0.240 332.2);
Tailwind
colors: {
custom: {
50: '#e079d2',
500: '#cc2fbe',
950: '#000000',
},
}SCSS
$custom: #cc2fbe; $custom-light: #e079d2; $custom-dark: #000000;
JSON
{
"hex": "#cc2fbe",
"rgb": {
"r": 204,
"g": 47,
"b": 190
},
"hsl": {
"h": 305.35,
"s": 62.55,
"l": 49.216
},
"oklch": {
"l": 0.60256,
"c": 0.23952,
"h": 332.2
},
"luminance": 0.18588
}Semantic roles & 50–950 ramp
primary
#CC2FBE
secondary
#87D08D
accent
#E65142
background
#FEF8FC
surface
#FCEFF9
border
#D5CAD2
text
#160A14
muted
#847C82