#A345BF#A345BF
#A345BF is a mid, vivid purple. Relative luminance 0.158; OKLCH L 56.5% C 0.196 H 317.7°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #A345BF |
|---|---|
| RGB | rgb(163, 69, 191) |
| HSL | hsl(286, 49%, 51%) |
| HSV | hsv(286, 64%, 75%) |
| CMYK | cmyk(14.7%, 63.9%, 0%, 25.1%) |
| CIE-LAB | lab(46.72, 56.86, -47.11) |
| CIE-LCH | lch(46.72, 73.84, 320.35°) |
| OKLab | oklab(56.52% 0.1447 -0.1319) |
| OKLCH | oklch(56.52% 0.196 317.7) |
| XYZ | xyz(26.6350, 15.8054, 50.9279) |
| Luminance | 0.1580 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.22
Darkorchid
#9932CC
ΔE00 4.96
Medium Purple
#9E43A2
ΔE00 5.14
Barney
#AC1DB8
ΔE00 5.38
Ugly Purple
#A442A0
ΔE00 5.84
Amethyst
#9B5FC0
ΔE00 6.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A345BF #61BF45
analogous
#6645BF #A345BF #BF459E
triadic
#A345BF #BFA345 #45BFA3
tetradic
#A345BF #BF6645 #61BF45 #459EBF
square
#A345BF #BF6645 #61BF45 #459EBF
split-complementary
#A345BF #9EBF45 #45BF66
monochromatic
#572366 #7E3394 #A345BF #BA73CF #D0A0DE
Accessibility & contrast
On white
5.05
#A345BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#A345BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A345BF
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A345BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A345BF | 1.00 | 5.05 | 4.16 | 5.05 |
| #FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C69C3
Deuteranopia (green-blind)
#4972BC
Tritanopia (blue-blind)
#A25B7C
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #a345bf; /* rgb */ color: rgb(163, 69, 191); /* oklch */ color: oklch(56.5% 0.196 317.7);
Tailwind
colors: {
custom: {
50: '#c17fd3',
500: '#a345bf',
950: '#000000',
},
}SCSS
$custom: #a345bf; $custom-light: #c17fd3; $custom-dark: #000000;
JSON
{
"hex": "#a345bf",
"rgb": {
"r": 163,
"g": 69,
"b": 191
},
"hsl": {
"h": 286.23,
"s": 48.8,
"l": 50.98
},
"oklch": {
"l": 0.56521,
"c": 0.19582,
"h": 317.7
},
"luminance": 0.15804
}Semantic roles & 50–950 ramp
primary
#A345BF
secondary
#A1CB95
accent
#D84F6F
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130A14
muted
#827C83