#A342B4#A342B4
#A342B4 is a mid, vivid purple. Relative luminance 0.150; OKLCH L 55.5% C 0.190 H 321.4°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).
Color values
| HEX | #A342B4 |
|---|---|
| RGB | rgb(163, 66, 180) |
| HSL | hsl(291, 46%, 48%) |
| HSV | hsv(291, 63%, 71%) |
| CMYK | cmyk(9.4%, 63.3%, 0%, 29.4%) |
| CIE-LAB | lab(45.61, 56.05, -42.46) |
| CIE-LCH | lch(45.61, 70.32, 322.85°) |
| OKLab | oklab(55.51% 0.1482 -0.1183) |
| OKLCH | oklch(55.51% 0.19 321.4) |
| XYZ | xyz(25.2898, 14.9795, 44.7304) |
| Luminance | 0.1498 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.48
Medium Purple
#9E43A2
ΔE00 3.21
Ugly Purple
#A442A0
ΔE00 3.92
Barney
#AC1DB8
ΔE00 4.55
Darkorchid
#9932CC
ΔE00 5.80
Purpley Pink
#C83CB9
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A342B4 #53B442
analogous
#6A42B4 #A342B4 #B4428C
triadic
#A342B4 #B4A342 #42B4A3
tetradic
#A342B4 #B46A42 #53B442 #428CB4
square
#A342B4 #B46A42 #53B442 #428CB4
split-complementary
#A342B4 #8CB442 #42B46A
monochromatic
#52215A #7A3287 #A342B4 #BB6BC9 #CF97D9
Accessibility & contrast
On white
5.26
#A342B4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.00
#A342B4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A342B4
5.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A342B4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A342B4 | 1.00 | 5.26 | 4.00 | 5.26 |
| #FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2665B7
Deuteranopia (green-blind)
#4F70B1
Tritanopia (blue-blind)
#A55475
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #a342b4; /* rgb */ color: rgb(163, 66, 180); /* oklch */ color: oklch(55.5% 0.190 321.4);
Tailwind
colors: {
custom: {
50: '#c17dcb',
500: '#a342b4',
950: '#000000',
},
}SCSS
$custom: #a342b4; $custom-light: #c17dcb; $custom-dark: #000000;
JSON
{
"hex": "#a342b4",
"rgb": {
"r": 163,
"g": 66,
"b": 180
},
"hsl": {
"h": 291.053,
"s": 46.341,
"l": 48.235
},
"oklch": {
"l": 0.55514,
"c": 0.18966,
"h": 321.4
},
"luminance": 0.14978
}Semantic roles & 50–950 ramp
primary
#A342B4
secondary
#95C58D
accent
#D65266
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82