#C02FAF#C02FAF
#C02FAF is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.6% C 0.223 H 333.4°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #C02FAF |
|---|---|
| RGB | rgb(192, 47, 175) |
| HSL | hsl(307, 61%, 47%) |
| HSV | hsv(307, 76%, 75%) |
| CMYK | cmyk(0%, 75.5%, 8.9%, 24.7%) |
| CIE-LAB | lab(47.41, 68.95, -36.37) |
| CIE-LCH | lch(47.41, 77.95, 332.19°) |
| OKLab | oklab(57.63% 0.1995 -0.0998) |
| OKLCH | oklch(57.63% 0.223 333.4) |
| XYZ | xyz(30.4928, 16.3373, 42.0966) |
| Luminance | 0.1633 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.31
Ugly Purple
#A442A0
ΔE00 5.06
Barney
#AC1DB8
ΔE00 6.02
Medium Purple
#9E43A2
ΔE00 6.03
Pinky Purple
#C94CBE
ΔE00 6.07
Purple Pink
#D725DE
ΔE00 7.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C02FAF #2FC040
analogous
#882FC0 #C02FAF #C02F67
triadic
#C02FAF #AFC02F #2FAFC0
tetradic
#C02FAF #C0882F #2FC040 #2F67C0
square
#C02FAF #C0882F #2FC040 #2F67C0
split-complementary
#C02FAF #67C02F #2FC088
monochromatic
#5E1755 #8F2382 #C02FAF #D656C7 #E288D7
Accessibility & contrast
On white
4.92
#C02FAF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.27
#C02FAF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C02FAF
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C02FAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C02FAF | 1.00 | 4.92 | 4.27 | 4.92 |
| #FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2963B2
Deuteranopia (green-blind)
#6178AC
Tritanopia (blue-blind)
#C93E6D
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #c02faf; /* rgb */ color: rgb(192, 47, 175); /* oklch */ color: oklch(57.6% 0.223 333.4);
Tailwind
colors: {
custom: {
50: '#d777c7',
500: '#c02faf',
950: '#000000',
},
}SCSS
$custom: #c02faf; $custom-light: #d777c7; $custom-dark: #000000;
JSON
{
"hex": "#c02faf",
"rgb": {
"r": 192,
"g": 47,
"b": 175
},
"hsl": {
"h": 307.034,
"s": 60.669,
"l": 46.863
},
"oklch": {
"l": 0.57625,
"c": 0.22308,
"h": 333.4
},
"luminance": 0.16335
}Semantic roles & 50–950 ramp
primary
#C02FAF
secondary
#7FCB88
accent
#E45744
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82