#C02BAF#C02BAF
#C02BAF is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 57.3% C 0.227 H 333.4°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #C02BAF |
|---|---|
| RGB | rgb(192, 43, 175) |
| HSL | hsl(307, 63%, 46%) |
| HSV | hsv(307, 78%, 75%) |
| CMYK | cmyk(0%, 77.6%, 8.9%, 24.7%) |
| CIE-LAB | lab(47.02, 70.09, -36.99) |
| CIE-LCH | lch(47.02, 79.25, 332.18°) |
| OKLab | oklab(57.34% 0.2029 -0.1016) |
| OKLCH | oklch(57.34% 0.227 333.4) |
| XYZ | xyz(30.3402, 16.0320, 42.0457) |
| Luminance | 0.1603 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.71
Ugly Purple
#A442A0
ΔE00 5.10
Barney
#AC1DB8
ΔE00 5.67
Medium Purple
#9E43A2
ΔE00 6.03
Pinky Purple
#C94CBE
ΔE00 6.52
Purply
#983FB2
ΔE00 7.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C02BAF #2BC03C
analogous
#862BC0 #C02BAF #C02B64
triadic
#C02BAF #AFC02B #2BAFC0
tetradic
#C02BAF #C0862B #2BC03C #2B64C0
square
#C02BAF #C0862B #2BC03C #2B64C0
split-complementary
#C02BAF #64C02B #2BC086
monochromatic
#5C1554 #8E2081 #C02BAF #D850C8 #E382D8
Accessibility & contrast
On white
4.99
#C02BAF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.21
#C02BAF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C02BAF
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C02BAF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C02BAF | 1.00 | 4.99 | 4.21 | 4.99 |
| #FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2462B2
Deuteranopia (green-blind)
#6077AC
Tritanopia (blue-blind)
#C93B6C
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #c02baf; /* rgb */ color: rgb(192, 43, 175); /* oklch */ color: oklch(57.3% 0.227 333.4);
Tailwind
colors: {
custom: {
50: '#d776c7',
500: '#c02baf',
950: '#000000',
},
}SCSS
$custom: #c02baf; $custom-light: #d776c7; $custom-dark: #000000;
JSON
{
"hex": "#c02baf",
"rgb": {
"r": 192,
"g": 43,
"b": 175
},
"hsl": {
"h": 306.846,
"s": 63.404,
"l": 46.078
},
"oklch": {
"l": 0.5734,
"c": 0.22687,
"h": 333.4
},
"luminance": 0.16029
}Semantic roles & 50–950 ramp
primary
#C02BAF
secondary
#7BCC84
accent
#E65441
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82