#A333A7#A333A7
#A333A7 is a mid, vivid purple. Relative luminance 0.129; OKLCH L 53.2% C 0.198 H 326.5°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #A333A7 |
|---|---|
| RGB | rgb(163, 51, 167) |
| HSL | hsl(298, 53%, 43%) |
| HSV | hsv(298, 69%, 65%) |
| CMYK | cmyk(2.4%, 69.5%, 0%, 34.5%) |
| CIE-LAB | lab(42.68, 59.82, -39.42) |
| CIE-LCH | lch(42.68, 71.64, 326.62°) |
| OKLab | oklab(53.17% 0.165 -0.1093) |
| OKLCH | oklch(53.17% 0.198 326.5) |
| XYZ | xyz(23.2627, 12.9457, 37.8252) |
| Luminance | 0.1294 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 2.89
Barney
#AC1DB8
ΔE00 3.31
Ugly Purple
#A442A0
ΔE00 3.32
Purply
#983FB2
ΔE00 3.57
Warm Purple
#952E8F
ΔE00 4.63
Barney Purple
#A00498
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A333A7 #37A733
analogous
#6933A7 #A333A7 #A73371
triadic
#A333A7 #A7A333 #33A7A3
tetradic
#A333A7 #A76933 #37A733 #3371A7
square
#A333A7 #A76933 #37A733 #3371A7
split-complementary
#A333A7 #71A733 #33A769
monochromatic
#471649 #752578 #A333A7 #C54EC9 #D47DD7
Accessibility & contrast
On white
5.85
#A333A7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#A333A7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A333A7
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A333A7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A333A7 | 1.00 | 5.85 | 3.59 | 5.85 |
| #FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C5CAA
Deuteranopia (green-blind)
#4D6AA4
Tritanopia (blue-blind)
#A74569
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #a333a7; /* rgb */ color: rgb(163, 51, 167); /* oklch */ color: oklch(53.2% 0.198 326.5);
Tailwind
colors: {
custom: {
50: '#c275c1',
500: '#a333a7',
950: '#000000',
},
}SCSS
$custom: #a333a7; $custom-light: #c275c1; $custom-dark: #000000;
JSON
{
"hex": "#a333a7",
"rgb": {
"r": 163,
"g": 51,
"b": 167
},
"hsl": {
"h": 297.931,
"s": 53.211,
"l": 42.745
},
"oklch": {
"l": 0.53171,
"c": 0.19791,
"h": 326.5
},
"luminance": 0.12944
}Semantic roles & 50–950 ramp
primary
#A333A7
secondary
#78C076
accent
#DD4B50
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81