#CC3AC2#CC3AC2
#CC3AC2 is a mid, highly saturated purple. Relative luminance 0.198; OKLCH L 61.3% C 0.231 H 331.0°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #CC3AC2 |
|---|---|
| RGB | rgb(204, 58, 194) |
| HSL | hsl(304, 59%, 51%) |
| HSV | hsv(304, 72%, 80%) |
| CMYK | cmyk(0%, 71.6%, 4.9%, 20%) |
| CIE-LAB | lab(51.57, 71.04, -40.77) |
| CIE-LCH | lch(51.57, 81.91, 330.15°) |
| OKLab | oklab(61.3% 0.2024 -0.1123) |
| OKLCH | oklch(61.3% 0.231 331) |
| XYZ | xyz(36.1524, 19.7614, 52.9387) |
| Luminance | 0.1976 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 1.50
Pinky Purple
#C94CBE
ΔE00 2.71
Purple Pink
#D725DE
ΔE00 4.22
Pinkish Purple
#D648D7
ΔE00 4.53
Fuchsia (survey)
#ED0DD9
ΔE00 5.38
Mediumorchid
#BA55D3
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC3AC2 #3ACC44
analogous
#8D3ACC #CC3AC2 #CC3A79
triadic
#CC3AC2 #C2CC3A #3AC2CC
tetradic
#CC3AC2 #CC8D3A #3ACC44 #3A79CC
square
#CC3AC2 #CC8D3A #3ACC44 #3A79CC
split-complementary
#CC3AC2 #79CC3A #3ACC8D
monochromatic
#6F1D69 #A02997 #CC3AC2 #D96BD1 #E59BE0
Accessibility & contrast
On white
4.24
#CC3AC2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.95
#CC3AC2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CC3AC2
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC3AC2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC3AC2 | 1.00 | 4.24 | 4.95 | 4.95 |
| #FFFFFF | 4.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D6EC6
Deuteranopia (green-blind)
#6782BE
Tritanopia (blue-blind)
#D44C7A
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #cc3ac2; /* rgb */ color: rgb(204, 58, 194); /* oklch */ color: oklch(61.3% 0.231 331.0);
Tailwind
colors: {
custom: {
50: '#df7ed5',
500: '#cc3ac2',
950: '#000000',
},
}SCSS
$custom: #cc3ac2; $custom-light: #df7ed5; $custom-dark: #000000;
JSON
{
"hex": "#cc3ac2",
"rgb": {
"r": 204,
"g": 58,
"b": 194
},
"hsl": {
"h": 304.11,
"s": 58.871,
"l": 51.373
},
"oklch": {
"l": 0.61298,
"c": 0.23147,
"h": 331
},
"luminance": 0.19759
}Semantic roles & 50–950 ramp
primary
#CC3AC2
secondary
#91D195
accent
#E25046
background
#FEF8FD
surface
#FCEFFA
border
#D5CAD3
text
#160B14
muted
#847C83