#C331C6#C331C6
#C331C6 is a mid, highly saturated purple. Relative luminance 0.179; OKLCH L 59.5% C 0.239 H 327.2°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #C331C6 |
|---|---|
| RGB | rgb(195, 49, 198) |
| HSL | hsl(299, 60%, 48%) |
| HSV | hsv(299, 75%, 78%) |
| CMYK | cmyk(1.5%, 75.3%, 0%, 22.4%) |
| CIE-LAB | lab(49.35, 72.55, -46.69) |
| CIE-LCH | lch(49.35, 86.28, 327.24°) |
| OKLab | oklab(59.5% 0.2011 -0.1297) |
| OKLCH | oklch(59.5% 0.239 327.2) |
| XYZ | xyz(33.7965, 17.8784, 55.0859) |
| Luminance | 0.1788 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 3.35
Purple Pink
#D725DE
ΔE00 4.43
Pinky Purple
#C94CBE
ΔE00 5.26
Mediumorchid
#BA55D3
ΔE00 5.98
Barney
#AC1DB8
ΔE00 6.28
Hot Purple
#CB00F5
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C331C6 #34C631
analogous
#7831C6 #C331C6 #C6317E
triadic
#C331C6 #C6C331 #31C6C3
tetradic
#C331C6 #C67831 #34C631 #317EC6
square
#C331C6 #C67831 #34C631 #317EC6
split-complementary
#C331C6 #7EC631 #31C678
monochromatic
#621964 #932595 #C331C6 #D55DD7 #E18EE3
Accessibility & contrast
On white
4.59
#C331C6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.58
#C331C6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #C331C6
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C331C6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C331C6 | 1.00 | 4.59 | 4.58 | 4.59 |
| #FFFFFF | 4.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069CA
Deuteranopia (green-blind)
#587CC2
Tritanopia (blue-blind)
#C94A7A
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #c331c6; /* rgb */ color: rgb(195, 49, 198); /* oklch */ color: oklch(59.5% 0.239 327.2);
Tailwind
colors: {
custom: {
50: '#d979d8',
500: '#c331c6',
950: '#000000',
},
}SCSS
$custom: #c331c6; $custom-light: #d979d8; $custom-dark: #000000;
JSON
{
"hex": "#c331c6",
"rgb": {
"r": 195,
"g": 49,
"b": 198
},
"hsl": {
"h": 298.792,
"s": 60.324,
"l": 48.431
},
"oklch": {
"l": 0.595,
"c": 0.23925,
"h": 327.2
},
"luminance": 0.17876
}Semantic roles & 50–950 ramp
primary
#C331C6
secondary
#87CE85
accent
#E34448
background
#FDF7FD
surface
#FBEEFA
border
#D4C9D3
text
#150A14
muted
#837C83