#A5339D#A5339D
#A5339D is a mid, vivid purple. Relative luminance 0.128; OKLCH L 52.9% C 0.191 H 330.9°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).
Color values
| HEX | #A5339D |
|---|---|
| RGB | rgb(165, 51, 157) |
| HSL | hsl(304, 53%, 42%) |
| HSV | hsv(304, 69%, 65%) |
| CMYK | cmyk(0%, 69.1%, 4.8%, 35.3%) |
| CIE-LAB | lab(42.46, 58.61, -33.76) |
| CIE-LCH | lch(42.46, 67.64, 330.06°) |
| OKLab | oklab(52.9% 0.1668 -0.0929) |
| OKLCH | oklch(52.9% 0.191 330.9) |
| XYZ | xyz(22.7866, 12.8030, 33.1628) |
| Luminance | 0.1280 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Ugly Purple
#A442A0
ΔE00 2.67
Medium Purple
#9E43A2
ΔE00 2.99
Warm Purple
#952E8F
ΔE00 3.78
Barney
#AC1DB8
ΔE00 4.96
Barney Purple
#A00498
ΔE00 4.96
Purply
#983FB2
ΔE00 5.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5339D #33A53B
analogous
#7433A5 #A5339D #A53364
triadic
#A5339D #9DA533 #339DA5
tetradic
#A5339D #A57433 #33A53B #3364A5
square
#A5339D #A57433 #33A53B #3364A5
split-complementary
#A5339D #64A533 #33A574
monochromatic
#481644 #762571 #A5339D #C84DBF #D67CD0
Accessibility & contrast
On white
5.90
#A5339D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.56
#A5339D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A5339D
5.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5339D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A5339D | 1.00 | 5.90 | 3.56 | 5.90 |
| #FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A5AA0
Deuteranopia (green-blind)
#556A9A
Tritanopia (blue-blind)
#AB4064
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #a5339d; /* rgb */ color: rgb(165, 51, 157); /* oklch */ color: oklch(52.9% 0.191 330.9);
Tailwind
colors: {
custom: {
50: '#c375ba',
500: '#a5339d',
950: '#000000',
},
}SCSS
$custom: #a5339d; $custom-light: #c375ba; $custom-dark: #000000;
JSON
{
"hex": "#a5339d",
"rgb": {
"r": 165,
"g": 51,
"b": 157
},
"hsl": {
"h": 304.211,
"s": 52.778,
"l": 42.353
},
"oklch": {
"l": 0.52903,
"c": 0.19094,
"h": 330.9
},
"luminance": 0.12801
}Semantic roles & 50–950 ramp
primary
#A5339D
secondary
#75BF7A
accent
#DC564C
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80