#C330B2#C330B2
#C330B2 is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.3% C 0.226 H 333.3°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #C330B2 |
|---|---|
| RGB | rgb(195, 48, 178) |
| HSL | hsl(307, 60%, 48%) |
| HSV | hsv(307, 75%, 76%) |
| CMYK | cmyk(0%, 75.4%, 8.7%, 23.5%) |
| CIE-LAB | lab(48.18, 69.76, -36.90) |
| CIE-LCH | lch(48.18, 78.91, 332.12°) |
| OKLab | oklab(58.32% 0.2018 -0.1013) |
| OKLCH | oklch(58.32% 0.226 333.3) |
| XYZ | xyz(31.5987, 16.9331, 43.7150) |
| Luminance | 0.1693 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 2.57
Pinky Purple
#C94CBE
ΔE00 5.38
Ugly Purple
#A442A0
ΔE00 5.63
Barney
#AC1DB8
ΔE00 6.50
Medium Purple
#9E43A2
ΔE00 6.58
Purple Pink
#D725DE
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C330B2 #30C341
analogous
#8B30C3 #C330B2 #C33068
triadic
#C330B2 #B2C330 #30B2C3
tetradic
#C330B2 #C38B30 #30C341 #3068C3
square
#C330B2 #C38B30 #30C341 #3068C3
split-complementary
#C330B2 #68C330 #30C38B
monochromatic
#611858 #922485 #C330B2 #D65AC8 #E28BD8
Accessibility & contrast
On white
4.79
#C330B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.39
#C330B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C330B2
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C330B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C330B2 | 1.00 | 4.79 | 4.39 | 4.79 |
| #FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A65B5
Deuteranopia (green-blind)
#637AAF
Tritanopia (blue-blind)
#CC3F6F
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #c330b2; /* rgb */ color: rgb(195, 48, 178); /* oklch */ color: oklch(58.3% 0.226 333.3);
Tailwind
colors: {
custom: {
50: '#d978c9',
500: '#c330b2',
950: '#000000',
},
}SCSS
$custom: #c330b2; $custom-light: #d978c9; $custom-dark: #000000;
JSON
{
"hex": "#c330b2",
"rgb": {
"r": 195,
"g": 48,
"b": 178
},
"hsl": {
"h": 306.939,
"s": 60.494,
"l": 47.647
},
"oklch": {
"l": 0.58317,
"c": 0.22574,
"h": 333.3
},
"luminance": 0.1693
}Semantic roles & 50–950 ramp
primary
#C330B2
secondary
#82CC8B
accent
#E45744
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82