#A342B3#A342B3
#A342B3 is a mid, vivid purple. Relative luminance 0.149; OKLCH L 55.5% C 0.189 H 321.7°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #A342B3 |
|---|---|
| RGB | rgb(163, 66, 179) |
| HSL | hsl(292, 46%, 48%) |
| HSV | hsv(292, 63%, 70%) |
| CMYK | cmyk(8.9%, 63.1%, 0%, 29.8%) |
| CIE-LAB | lab(45.55, 55.86, -41.96) |
| CIE-LCH | lch(45.55, 69.86, 323.09°) |
| OKLab | oklab(55.46% 0.1482 -0.1168) |
| OKLCH | oklch(55.46% 0.189 321.7) |
| XYZ | xyz(25.1883, 14.9389, 44.1958) |
| Luminance | 0.1494 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.52
Medium Purple
#9E43A2
ΔE00 3.04
Ugly Purple
#A442A0
ΔE00 3.74
Barney
#AC1DB8
ΔE00 4.56
Darkorchid
#9932CC
ΔE00 5.94
Purpley Pink
#C83CB9
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A342B3 #52B342
analogous
#6A42B3 #A342B3 #B3428B
triadic
#A342B3 #B3A342 #42B3A3
tetradic
#A342B3 #B36A42 #52B342 #428BB3
square
#A342B3 #B36A42 #52B342 #428BB3
split-complementary
#A342B3 #8BB342 #42B36A
monochromatic
#52215A #7A3286 #A342B3 #BB6AC8 #CF97D9
Accessibility & contrast
On white
5.27
#A342B3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.99
#A342B3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A342B3
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A342B3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A342B3 | 1.00 | 5.27 | 3.99 | 5.27 |
| #FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2865B6
Deuteranopia (green-blind)
#4F70B0
Tritanopia (blue-blind)
#A55475
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #a342b3; /* rgb */ color: rgb(163, 66, 179); /* oklch */ color: oklch(55.5% 0.189 321.7);
Tailwind
colors: {
custom: {
50: '#c17dca',
500: '#a342b3',
950: '#000000',
},
}SCSS
$custom: #a342b3; $custom-light: #c17dca; $custom-dark: #000000;
JSON
{
"hex": "#a342b3",
"rgb": {
"r": 163,
"g": 66,
"b": 179
},
"hsl": {
"h": 291.504,
"s": 46.122,
"l": 48.039
},
"oklch": {
"l": 0.55456,
"c": 0.18874,
"h": 321.7
},
"luminance": 0.14938
}Semantic roles & 50–950 ramp
primary
#A342B3
secondary
#94C48C
accent
#D65265
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82