#A334C6#A334C6
#A334C6 is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.2% C 0.223 H 316.6°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).
Color values
| HEX | #A334C6 |
|---|---|
| RGB | rgb(163, 52, 198) |
| HSL | hsl(286, 58%, 49%) |
| HSV | hsv(286, 74%, 78%) |
| CMYK | cmyk(17.7%, 73.7%, 0%, 22.4%) |
| CIE-LAB | lab(44.69, 65.15, -54.43) |
| CIE-LCH | lch(44.69, 84.89, 320.12°) |
| OKLab | oklab(55.21% 0.1622 -0.1532) |
| OKLCH | oklch(55.21% 0.223 316.6) |
| XYZ | xyz(26.5237, 14.3208, 54.7822) |
| Luminance | 0.1432 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.41
Purply
#983FB2
ΔE00 3.44
Barney
#AC1DB8
ΔE00 3.68
Vibrant Purple
#AD03DE
ΔE00 4.02
Violet (survey)
#9A0EEA
ΔE00 6.22
Darkviolet
#9400D3
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A334C6 #57C634
analogous
#5A34C6 #A334C6 #C634A0
triadic
#A334C6 #C6A334 #34C6A3
tetradic
#A334C6 #C65A34 #57C634 #34A0C6
square
#A334C6 #C65A34 #57C634 #34A0C6
split-complementary
#A334C6 #A0C634 #34C65A
monochromatic
#531B65 #7B2796 #A334C6 #BA62D6 #CF92E2
Accessibility & contrast
On white
5.43
#A334C6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.86
#A334C6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A334C6
5.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A334C6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A334C6 | 1.00 | 5.43 | 3.86 | 5.43 |
| #FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063CA
Deuteranopia (green-blind)
#356DC3
Tritanopia (blue-blind)
#A1537B
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #a334c6; /* rgb */ color: rgb(163, 52, 198); /* oklch */ color: oklch(55.2% 0.223 316.6);
Tailwind
colors: {
custom: {
50: '#c277d8',
500: '#a334c6',
950: '#000000',
},
}SCSS
$custom: #a334c6; $custom-light: #c277d8; $custom-dark: #000000;
JSON
{
"hex": "#a334c6",
"rgb": {
"r": 163,
"g": 52,
"b": 198
},
"hsl": {
"h": 285.616,
"s": 58.4,
"l": 49.02
},
"oklch": {
"l": 0.55206,
"c": 0.22313,
"h": 316.6
},
"luminance": 0.1432
}Semantic roles & 50–950 ramp
primary
#A334C6
secondary
#99CD89
accent
#E2466B
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130915
muted
#827B83