#A342B2#A342B2
#A342B2 is a mid, vivid purple. Relative luminance 0.149; OKLCH L 55.4% C 0.188 H 322.1°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #A342B2 |
|---|---|
| RGB | rgb(163, 66, 178) |
| HSL | hsl(292, 46%, 48%) |
| HSV | hsv(292, 63%, 70%) |
| CMYK | cmyk(8.4%, 62.9%, 0%, 30.2%) |
| CIE-LAB | lab(45.49, 55.67, -41.46) |
| CIE-LCH | lch(45.49, 69.41, 323.32°) |
| OKLab | oklab(55.4% 0.1482 -0.1154) |
| OKLCH | oklch(55.4% 0.188 322.1) |
| XYZ | xyz(25.0875, 14.8986, 43.6651) |
| Luminance | 0.1490 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.57
Medium Purple
#9E43A2
ΔE00 2.87
Ugly Purple
#A442A0
ΔE00 3.56
Barney
#AC1DB8
ΔE00 4.58
Darkorchid
#9932CC
ΔE00 6.08
Purpley Pink
#C83CB9
ΔE00 7.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A342B2 #51B242
analogous
#6B42B2 #A342B2 #B24289
triadic
#A342B2 #B2A342 #42B2A3
tetradic
#A342B2 #B26B42 #51B242 #4289B2
square
#A342B2 #B26B42 #51B242 #4289B2
split-complementary
#A342B2 #89B242 #42B26B
monochromatic
#512159 #7A3185 #A342B2 #BB6AC8 #CF96D8
Accessibility & contrast
On white
5.28
#A342B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.98
#A342B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A342B2
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A342B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A342B2 | 1.00 | 5.28 | 3.98 | 5.28 |
| #FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2965B5
Deuteranopia (green-blind)
#506FAF
Tritanopia (blue-blind)
#A55474
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #a342b2; /* rgb */ color: rgb(163, 66, 178); /* oklch */ color: oklch(55.4% 0.188 322.1);
Tailwind
colors: {
custom: {
50: '#c17dc9',
500: '#a342b2',
950: '#000000',
},
}SCSS
$custom: #a342b2; $custom-light: #c17dc9; $custom-dark: #000000;
JSON
{
"hex": "#a342b2",
"rgb": {
"r": 163,
"g": 66,
"b": 178
},
"hsl": {
"h": 291.964,
"s": 45.902,
"l": 47.843
},
"oklch": {
"l": 0.55398,
"c": 0.18782,
"h": 322.1
},
"luminance": 0.14897
}Semantic roles & 50–950 ramp
primary
#A342B2
secondary
#93C48C
accent
#D65264
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82