#A342AA#A342AA
#A342AA is a mid, vivid purple. Relative luminance 0.146; OKLCH L 54.9% C 0.181 H 325.0°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).
Color values
| HEX | #A342AA |
|---|---|
| RGB | rgb(163, 66, 170) |
| HSL | hsl(296, 44%, 46%) |
| HSV | hsv(296, 61%, 67%) |
| CMYK | cmyk(4.1%, 61.2%, 0%, 33.3%) |
| CIE-LAB | lab(45.06, 54.17, -37.43) |
| CIE-LCH | lch(45.06, 65.85, 325.36°) |
| OKLab | oklab(54.94% 0.1478 -0.1037) |
| OKLCH | oklch(54.94% 0.181 325) |
| XYZ | xyz(24.3076, 14.5866, 39.5576) |
| Luminance | 0.1459 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 1.53
Ugly Purple
#A442A0
ΔE00 2.07
Purply
#983FB2
ΔE00 3.37
Barney
#AC1DB8
ΔE00 5.03
Warm Purple
#952E8F
ΔE00 6.43
Purpley Pink
#C83CB9
ΔE00 7.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A342AA #49AA42
analogous
#6F42AA #A342AA #AA427D
triadic
#A342AA #AAA342 #42AAA3
tetradic
#A342AA #AA6F42 #49AA42 #427DAA
square
#A342AA #AA6F42 #49AA42 #427DAA
split-complementary
#A342AA #7DAA42 #42AA6F
monochromatic
#4E2052 #79317E #A342AA #BD66C3 #D092D5
Accessibility & contrast
On white
5.36
#A342AA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.92
#A342AA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A342AA
5.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A342AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A342AA | 1.00 | 5.36 | 3.92 | 5.36 |
| #FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3163AD
Deuteranopia (green-blind)
#556FA7
Tritanopia (blue-blind)
#A65170
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #a342aa; /* rgb */ color: rgb(163, 66, 170); /* oklch */ color: oklch(54.9% 0.181 325.0);
Tailwind
colors: {
custom: {
50: '#c17dc4',
500: '#a342aa',
950: '#000000',
},
}SCSS
$custom: #a342aa; $custom-light: #c17dc4; $custom-dark: #000000;
JSON
{
"hex": "#a342aa",
"rgb": {
"r": 163,
"g": 66,
"b": 170
},
"hsl": {
"h": 295.962,
"s": 44.068,
"l": 46.275
},
"oklch": {
"l": 0.54944,
"c": 0.18056,
"h": 325
},
"luminance": 0.14585
}Semantic roles & 50–950 ramp
primary
#A342AA
secondary
#8CC088
accent
#D4545D
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A12
muted
#827C81