#A342B0#A342B0
#A342B0 is a mid, vivid purple. Relative luminance 0.148; OKLCH L 55.3% C 0.186 H 322.8°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).
Color values
| HEX | #A342B0 |
|---|---|
| RGB | rgb(163, 66, 176) |
| HSL | hsl(293, 45%, 47%) |
| HSV | hsv(293, 63%, 69%) |
| CMYK | cmyk(7.4%, 62.5%, 0%, 31%) |
| CIE-LAB | lab(45.39, 55.29, -40.46) |
| CIE-LCH | lch(45.39, 68.51, 323.80°) |
| OKLab | oklab(55.28% 0.1481 -0.1125) |
| OKLCH | oklch(55.28% 0.186 322.8) |
| XYZ | xyz(24.8882, 14.8189, 42.6153) |
| Luminance | 0.1482 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 2.52
Purply
#983FB2
ΔE00 2.71
Ugly Purple
#A442A0
ΔE00 3.19
Barney
#AC1DB8
ΔE00 4.65
Darkorchid
#9932CC
ΔE00 6.38
Purpley Pink
#C83CB9
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A342B0 #4FB042
analogous
#6C42B0 #A342B0 #B04286
triadic
#A342B0 #B0A342 #42B0A3
tetradic
#A342B0 #B06C42 #4FB042 #4286B0
square
#A342B0 #B06C42 #4FB042 #4286B0
split-complementary
#A342B0 #86B042 #42B06C
monochromatic
#512157 #7A3183 #A342B0 #BB69C7 #CF95D7
Accessibility & contrast
On white
5.30
#A342B0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.96
#A342B0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A342B0
5.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A342B0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A342B0 | 1.00 | 5.30 | 3.96 | 5.30 |
| #FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B64B3
Deuteranopia (green-blind)
#516FAD
Tritanopia (blue-blind)
#A55373
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #a342b0; /* rgb */ color: rgb(163, 66, 176); /* oklch */ color: oklch(55.3% 0.186 322.8);
Tailwind
colors: {
custom: {
50: '#c17dc8',
500: '#a342b0',
950: '#000000',
},
}SCSS
$custom: #a342b0; $custom-light: #c17dc8; $custom-dark: #000000;
JSON
{
"hex": "#a342b0",
"rgb": {
"r": 163,
"g": 66,
"b": 176
},
"hsl": {
"h": 292.909,
"s": 45.455,
"l": 47.451
},
"oklch": {
"l": 0.55283,
"c": 0.18599,
"h": 322.8
},
"luminance": 0.14818
}Semantic roles & 50–950 ramp
primary
#A342B0
secondary
#91C38B
accent
#D55362
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82