#C030B2#C030B2
#C030B2 is a mid, highly saturated purple. Relative luminance 0.165; OKLCH L 57.9% C 0.224 H 332.4°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).
Color values
| HEX | #C030B2 |
|---|---|
| RGB | rgb(192, 48, 178) |
| HSL | hsl(306, 60%, 47%) |
| HSV | hsv(306, 75%, 75%) |
| CMYK | cmyk(0%, 75%, 7.3%, 24.7%) |
| CIE-LAB | lab(47.67, 69.10, -37.72) |
| CIE-LCH | lch(47.67, 78.73, 331.37°) |
| OKLab | oklab(57.86% 0.1988 -0.1037) |
| OKLCH | oklch(57.86% 0.224 332.4) |
| XYZ | xyz(30.8312, 16.5373, 43.6791) |
| Luminance | 0.1653 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.04
Ugly Purple
#A442A0
ΔE00 5.20
Pinky Purple
#C94CBE
ΔE00 5.81
Barney
#AC1DB8
ΔE00 5.89
Medium Purple
#9E43A2
ΔE00 6.08
Purple Pink
#D725DE
ΔE00 7.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C030B2 #30C03E
analogous
#8630C0 #C030B2 #C0306A
triadic
#C030B2 #B2C030 #30B2C0
tetradic
#C030B2 #C08630 #30C03E #306AC0
square
#C030B2 #C08630 #30C03E #306AC0
split-complementary
#C030B2 #6AC030 #30C086
monochromatic
#5E1857 #8F2485 #C030B2 #D558C9 #E189D9
Accessibility & contrast
On white
4.88
#C030B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.31
#C030B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C030B2
4.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C030B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C030B2 | 1.00 | 4.88 | 4.31 | 4.88 |
| #FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2764B5
Deuteranopia (green-blind)
#6078AF
Tritanopia (blue-blind)
#C8406F
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #c030b2; /* rgb */ color: rgb(192, 48, 178); /* oklch */ color: oklch(57.9% 0.224 332.4);
Tailwind
colors: {
custom: {
50: '#d778c9',
500: '#c030b2',
950: '#000000',
},
}SCSS
$custom: #c030b2; $custom-light: #d778c9; $custom-dark: #000000;
JSON
{
"hex": "#c030b2",
"rgb": {
"r": 192,
"g": 48,
"b": 178
},
"hsl": {
"h": 305.833,
"s": 60,
"l": 47.059
},
"oklch": {
"l": 0.5786,
"c": 0.22421,
"h": 332.4
},
"luminance": 0.16535
}Semantic roles & 50–950 ramp
primary
#C030B2
secondary
#80CB88
accent
#E35445
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82