#A345AA#A345AA
#A345AA is a mid, vivid purple. Relative luminance 0.149; OKLCH L 55.3% C 0.176 H 324.8°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).
Color values
| HEX | #A345AA |
|---|---|
| RGB | rgb(163, 69, 170) |
| HSL | hsl(296, 42%, 47%) |
| HSV | hsv(296, 59%, 67%) |
| CMYK | cmyk(4.1%, 59.4%, 0%, 33.3%) |
| CIE-LAB | lab(45.56, 52.81, -36.64) |
| CIE-LCH | lch(45.56, 64.27, 325.24°) |
| OKLab | oklab(55.31% 0.144 -0.1014) |
| OKLCH | oklch(55.31% 0.176 324.8) |
| XYZ | xyz(24.4875, 14.9464, 39.6175) |
| Luminance | 0.1494 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 1.65
Ugly Purple
#A442A0
ΔE00 2.07
Purply
#983FB2
ΔE00 3.71
Barney
#AC1DB8
ΔE00 5.58
Purpley Pink
#C83CB9
ΔE00 6.84
Warm Purple
#952E8F
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A345AA #4CAA45
analogous
#7145AA #A345AA #AA457E
triadic
#A345AA #AAA345 #45AAA3
tetradic
#A345AA #AA7145 #4CAA45 #457EAA
square
#A345AA #AA7145 #4CAA45 #457EAA
split-complementary
#A345AA #7EAA45 #45AA71
monochromatic
#502253 #79337E #A345AA #BC6AC2 #D095D4
Accessibility & contrast
On white
5.26
#A345AA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.99
#A345AA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A345AA
5.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A345AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A345AA | 1.00 | 5.26 | 3.99 | 5.26 |
| #FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3564AD
Deuteranopia (green-blind)
#5670A7
Tritanopia (blue-blind)
#A65371
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #a345aa; /* rgb */ color: rgb(163, 69, 170); /* oklch */ color: oklch(55.3% 0.176 324.8);
Tailwind
colors: {
custom: {
50: '#c17ec4',
500: '#a345aa',
950: '#000000',
},
}SCSS
$custom: #a345aa; $custom-light: #c17ec4; $custom-dark: #000000;
JSON
{
"hex": "#a345aa",
"rgb": {
"r": 163,
"g": 69,
"b": 170
},
"hsl": {
"h": 295.842,
"s": 42.259,
"l": 46.863
},
"oklch": {
"l": 0.55307,
"c": 0.17617,
"h": 324.8
},
"luminance": 0.14945
}Semantic roles & 50–950 ramp
primary
#A345AA
secondary
#8FC08B
accent
#D2565E
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130A12
muted
#827C81