#A3299A#A3299A
#A3299A is a mid, vivid purple. Relative luminance 0.117; OKLCH L 51.6% C 0.199 H 331.3°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).
Color values
| HEX | #A3299A |
|---|---|
| RGB | rgb(163, 41, 154) |
| HSL | hsl(304, 60%, 40%) |
| HSV | hsv(304, 75%, 64%) |
| CMYK | cmyk(0%, 74.8%, 5.5%, 36.1%) |
| CIE-LAB | lab(40.75, 61.13, -34.69) |
| CIE-LCH | lch(40.75, 70.29, 330.43°) |
| OKLab | oklab(51.55% 0.1746 -0.0956) |
| OKLCH | oklch(51.55% 0.199 331.3) |
| XYZ | xyz(21.7299, 11.7073, 31.6808) |
| Luminance | 0.1171 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Warm Purple
#952E8F
ΔE00 2.77
Barney Purple
#A00498
ΔE00 3.30
Ugly Purple
#A442A0
ΔE00 4.32
Medium Purple
#9E43A2
ΔE00 4.39
Barney
#AC1DB8
ΔE00 4.95
Purply
#983FB2
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A3299A #29A332
analogous
#6F29A3 #A3299A #A3295D
triadic
#A3299A #9AA329 #299AA3
tetradic
#A3299A #A36F29 #29A332 #295DA3
square
#A3299A #A36F29 #29A332 #295DA3
split-complementary
#A3299A #5DA329 #29A36F
monochromatic
#41103E #721D6C #A3299A #CE3BC3 #DA6CD2
Accessibility & contrast
On white
6.29
#A3299A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.34
#A3299A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A3299A
6.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A3299A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A3299A | 1.00 | 6.29 | 3.34 | 6.29 |
| #FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E559D
Deuteranopia (green-blind)
#506697
Tritanopia (blue-blind)
#AA385F
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #a3299a; /* rgb */ color: rgb(163, 41, 154); /* oklch */ color: oklch(51.6% 0.199 331.3);
Tailwind
colors: {
custom: {
50: '#c270b8',
500: '#a3299a',
950: '#000000',
},
}SCSS
$custom: #a3299a; $custom-light: #c270b8; $custom-dark: #000000;
JSON
{
"hex": "#a3299a",
"rgb": {
"r": 163,
"g": 41,
"b": 154
},
"hsl": {
"h": 304.426,
"s": 59.804,
"l": 40
},
"oklch": {
"l": 0.51552,
"c": 0.19903,
"h": 331.3
},
"luminance": 0.11706
}Semantic roles & 50–950 ramp
primary
#A3299A
secondary
#67C16E
accent
#E35045
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80