#A345B2#A345B2
#A345B2 is a mid, vivid purple. Relative luminance 0.153; OKLCH L 55.8% C 0.184 H 321.9°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #A345B2 |
|---|---|
| RGB | rgb(163, 69, 178) |
| HSL | hsl(292, 44%, 48%) |
| HSV | hsv(292, 61%, 70%) |
| CMYK | cmyk(8.4%, 61.2%, 0%, 30.2%) |
| CIE-LAB | lab(45.99, 54.32, -40.68) |
| CIE-LCH | lch(45.99, 67.86, 323.17°) |
| OKLab | oklab(55.75% 0.1445 -0.1131) |
| OKLCH | oklch(55.75% 0.184 321.9) |
| XYZ | xyz(25.2674, 15.2584, 43.7251) |
| Luminance | 0.1526 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 2.92
Purply
#983FB2
ΔE00 2.95
Ugly Purple
#A442A0
ΔE00 3.55
Barney
#AC1DB8
ΔE00 5.16
Darkorchid
#9932CC
ΔE00 6.45
Amethyst
#9B5FC0
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A345B2 #54B245
analogous
#6C45B2 #A345B2 #B2458A
triadic
#A345B2 #B2A345 #45B2A3
tetradic
#A345B2 #B26C45 #54B245 #458AB2
square
#A345B2 #B26C45 #54B245 #458AB2
split-complementary
#A345B2 #8AB245 #45B26C
monochromatic
#52235A #7B3486 #A345B2 #BA6EC7 #CF9AD8
Accessibility & contrast
On white
5.18
#A345B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.05
#A345B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A345B2
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A345B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A345B2 | 1.00 | 5.18 | 4.05 | 5.18 |
| #FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E66B5
Deuteranopia (green-blind)
#5271AF
Tritanopia (blue-blind)
#A55675
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #a345b2; /* rgb */ color: rgb(163, 69, 178); /* oklch */ color: oklch(55.8% 0.184 321.9);
Tailwind
colors: {
custom: {
50: '#c17ec9',
500: '#a345b2',
950: '#000000',
},
}SCSS
$custom: #a345b2; $custom-light: #c17ec9; $custom-dark: #000000;
JSON
{
"hex": "#a345b2",
"rgb": {
"r": 163,
"g": 69,
"b": 178
},
"hsl": {
"h": 291.743,
"s": 44.13,
"l": 48.431
},
"oklch": {
"l": 0.55754,
"c": 0.18355,
"h": 321.9
},
"luminance": 0.15257
}Semantic roles & 50–950 ramp
primary
#A345B2
secondary
#96C48F
accent
#D45466
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130A13
muted
#827C82