#C02FAD#C02FAD
#C02FAD is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.5% C 0.222 H 334.1°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #C02FAD |
|---|---|
| RGB | rgb(192, 47, 173) |
| HSL | hsl(308, 61%, 47%) |
| HSV | hsv(308, 76%, 75%) |
| CMYK | cmyk(0%, 75.5%, 9.9%, 24.7%) |
| CIE-LAB | lab(47.31, 68.66, -35.35) |
| CIE-LCH | lch(47.31, 77.22, 332.76°) |
| OKLab | oklab(57.52% 0.1994 -0.0968) |
| OKLCH | oklch(57.52% 0.222 334.1) |
| XYZ | xyz(30.2979, 16.2593, 41.0697) |
| Luminance | 0.1626 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.45
Ugly Purple
#A442A0
ΔE00 4.99
Medium Purple
#9E43A2
ΔE00 6.03
Pinky Purple
#C94CBE
ΔE00 6.19
Barney
#AC1DB8
ΔE00 6.20
Purply
#983FB2
ΔE00 7.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C02FAD #2FC042
analogous
#8B2FC0 #C02FAD #C02F65
triadic
#C02FAD #ADC02F #2FADC0
tetradic
#C02FAD #C08B2F #2FC042 #2F65C0
square
#C02FAD #C08B2F #2FC042 #2F65C0
split-complementary
#C02FAD #65C02F #2FC08B
monochromatic
#5E1754 #8F2381 #C02FAD #D656C5 #E288D6
Accessibility & contrast
On white
4.94
#C02FAD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.25
#C02FAD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C02FAD
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C02FAD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C02FAD | 1.00 | 4.94 | 4.25 | 4.94 |
| #FFFFFF | 4.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B63B0
Deuteranopia (green-blind)
#6278AA
Tritanopia (blue-blind)
#C93D6C
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #c02fad; /* rgb */ color: rgb(192, 47, 173); /* oklch */ color: oklch(57.5% 0.222 334.1);
Tailwind
colors: {
custom: {
50: '#d777c6',
500: '#c02fad',
950: '#000000',
},
}SCSS
$custom: #c02fad; $custom-light: #d777c6; $custom-dark: #000000;
JSON
{
"hex": "#c02fad",
"rgb": {
"r": 192,
"g": 47,
"b": 173
},
"hsl": {
"h": 307.862,
"s": 60.669,
"l": 46.863
},
"oklch": {
"l": 0.5752,
"c": 0.22169,
"h": 334.1
},
"luminance": 0.16257
}Semantic roles & 50–950 ramp
primary
#C02FAD
secondary
#7FCB89
accent
#E45944
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82