#A330A2#A330A2
#A330A2 is a mid, vivid purple. Relative luminance 0.125; OKLCH L 52.6% C 0.197 H 328.3°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).
Color values
| HEX | #A330A2 |
|---|---|
| RGB | rgb(163, 48, 162) |
| HSL | hsl(301, 55%, 41%) |
| HSV | hsv(301, 71%, 64%) |
| CMYK | cmyk(0%, 70.6%, 0.6%, 36.1%) |
| CIE-LAB | lab(42.02, 60.07, -37.49) |
| CIE-LCH | lch(42.02, 70.81, 328.03°) |
| OKLab | oklab(52.6% 0.168 -0.1037) |
| OKLCH | oklch(52.6% 0.197 328.3) |
| XYZ | xyz(22.6825, 12.5107, 35.3955) |
| Luminance | 0.1251 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 3.20
Ugly Purple
#A442A0
ΔE00 3.40
Warm Purple
#952E8F
ΔE00 3.82
Barney
#AC1DB8
ΔE00 3.84
Barney Purple
#A00498
ΔE00 4.43
Purply
#983FB2
ΔE00 4.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A330A2 #30A331
analogous
#6B30A3 #A330A2 #A33069
triadic
#A330A2 #A2A330 #30A2A3
tetradic
#A330A2 #A36B30 #30A331 #3069A3
square
#A330A2 #A36B30 #30A331 #3069A3
split-complementary
#A330A2 #69A330 #30A36B
monochromatic
#441444 #742273 #A330A2 #C947C8 #D777D6
Accessibility & contrast
On white
6.00
#A330A2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.50
#A330A2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A330A2
6.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A330A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A330A2 | 1.00 | 6.00 | 3.50 | 6.00 |
| #FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E59A5
Deuteranopia (green-blind)
#4F689F
Tritanopia (blue-blind)
#A84166
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #a330a2; /* rgb */ color: rgb(163, 48, 162); /* oklch */ color: oklch(52.6% 0.197 328.3);
Tailwind
colors: {
custom: {
50: '#c273be',
500: '#a330a2',
950: '#000000',
},
}SCSS
$custom: #a330a2; $custom-light: #c273be; $custom-dark: #000000;
JSON
{
"hex": "#a330a2",
"rgb": {
"r": 163,
"g": 48,
"b": 162
},
"hsl": {
"h": 300.522,
"s": 54.502,
"l": 41.373
},
"oklch": {
"l": 0.52604,
"c": 0.19742,
"h": 328.3
},
"luminance": 0.12509
}Semantic roles & 50–950 ramp
primary
#A330A2
secondary
#70BF71
accent
#DE4B4A
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81