#C334C2#C334C2
#C334C2 is a mid, highly saturated purple. Relative luminance 0.180; OKLCH L 59.5% C 0.233 H 328.3°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #C334C2 |
|---|---|
| RGB | rgb(195, 52, 194) |
| HSL | hsl(300, 58%, 48%) |
| HSV | hsv(300, 73%, 76%) |
| CMYK | cmyk(0%, 73.3%, 0.5%, 23.5%) |
| CIE-LAB | lab(49.44, 71.01, -44.23) |
| CIE-LCH | lch(49.44, 83.66, 328.08°) |
| OKLab | oklab(59.5% 0.1986 -0.1225) |
| OKLCH | oklch(59.5% 0.233 328.3) |
| XYZ | xyz(33.4709, 17.9556, 52.7314) |
| Luminance | 0.1795 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 2.66
Pinky Purple
#C94CBE
ΔE00 4.74
Purple Pink
#D725DE
ΔE00 4.75
Mediumorchid
#BA55D3
ΔE00 6.02
Pinkish Purple
#D648D7
ΔE00 6.37
Barney
#AC1DB8
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C334C2 #34C335
analogous
#7D34C3 #C334C2 #C3347A
triadic
#C334C2 #C2C334 #34C2C3
tetradic
#C334C2 #C37D34 #34C335 #347AC3
square
#C334C2 #C37D34 #34C335 #347AC3
split-complementary
#C334C2 #7AC334 #34C37D
monochromatic
#621A62 #932792 #C334C2 #D560D4 #E190E1
Accessibility & contrast
On white
4.57
#C334C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.59
#C334C2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C334C2
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C334C2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C334C2 | 1.00 | 4.57 | 4.59 | 4.59 |
| #FFFFFF | 4.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#176AC6
Deuteranopia (green-blind)
#5C7CBE
Tritanopia (blue-blind)
#C94A79
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #c334c2; /* rgb */ color: rgb(195, 52, 194); /* oklch */ color: oklch(59.5% 0.233 328.3);
Tailwind
colors: {
custom: {
50: '#d97ad5',
500: '#c334c2',
950: '#000000',
},
}SCSS
$custom: #c334c2; $custom-light: #d97ad5; $custom-dark: #000000;
JSON
{
"hex": "#c334c2",
"rgb": {
"r": 195,
"g": 52,
"b": 194
},
"hsl": {
"h": 300.42,
"s": 57.895,
"l": 48.431
},
"oklch": {
"l": 0.59496,
"c": 0.23334,
"h": 328.3
},
"luminance": 0.17953
}Semantic roles & 50–950 ramp
primary
#C334C2
secondary
#87CC87
accent
#E14847
background
#FDF8FD
surface
#FBEFFA
border
#D4CAD3
text
#150A14
muted
#837C83