#C02BB2#C02BB2
#C02BB2 is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.5% C 0.229 H 332.4°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #C02BB2 |
|---|---|
| RGB | rgb(192, 43, 178) |
| HSL | hsl(306, 63%, 46%) |
| HSV | hsv(306, 78%, 75%) |
| CMYK | cmyk(0%, 77.6%, 7.3%, 24.7%) |
| CIE-LAB | lab(47.17, 70.54, -38.51) |
| CIE-LCH | lch(47.17, 80.36, 331.37°) |
| OKLab | oklab(57.5% 0.203 -0.106) |
| OKLCH | oklch(57.5% 0.229 332.4) |
| XYZ | xyz(30.6381, 16.1512, 43.6147) |
| Luminance | 0.1615 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.58
Ugly Purple
#A442A0
ΔE00 5.24
Barney
#AC1DB8
ΔE00 5.43
Medium Purple
#9E43A2
ΔE00 6.07
Pinky Purple
#C94CBE
ΔE00 6.38
Purply
#983FB2
ΔE00 7.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C02BB2 #2BC039
analogous
#832BC0 #C02BB2 #C02B67
triadic
#C02BB2 #B2C02B #2BB2C0
tetradic
#C02BB2 #C0832B #2BC039 #2B67C0
square
#C02BB2 #C0832B #2BC039 #2B67C0
split-complementary
#C02BB2 #67C02B #2BC083
monochromatic
#5C1555 #8E2084 #C02BB2 #D850CB #E382DA
Accessibility & contrast
On white
4.96
#C02BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.23
#C02BB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C02BB2
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C02BB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C02BB2 | 1.00 | 4.96 | 4.23 | 4.96 |
| #FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2063B6
Deuteranopia (green-blind)
#5E77AF
Tritanopia (blue-blind)
#C83D6E
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #c02bb2; /* rgb */ color: rgb(192, 43, 178); /* oklch */ color: oklch(57.5% 0.229 332.4);
Tailwind
colors: {
custom: {
50: '#d776c9',
500: '#c02bb2',
950: '#000000',
},
}SCSS
$custom: #c02bb2; $custom-light: #d776c9; $custom-dark: #000000;
JSON
{
"hex": "#c02bb2",
"rgb": {
"r": 192,
"g": 43,
"b": 178
},
"hsl": {
"h": 305.638,
"s": 63.404,
"l": 46.078
},
"oklch": {
"l": 0.57502,
"c": 0.22895,
"h": 332.4
},
"luminance": 0.16149
}Semantic roles & 50–950 ramp
primary
#C02BB2
secondary
#7BCC82
accent
#E65141
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82