#A526B1#A526B1
#A526B1 is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 53.0% C 0.220 H 324.1°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).
Color values
| HEX | #A526B1 |
|---|---|
| RGB | rgb(165, 38, 177) |
| HSL | hsl(295, 65%, 42%) |
| HSV | hsv(295, 79%, 69%) |
| CMYK | cmyk(6.8%, 78.5%, 0%, 30.6%) |
| CIE-LAB | lab(42.09, 66.26, -46.27) |
| CIE-LCH | lch(42.09, 80.82, 325.07°) |
| OKLab | oklab(53% 0.1787 -0.1292) |
| OKLCH | oklch(53% 0.22 324.1) |
| XYZ | xyz(24.1453, 12.5614, 42.7393) |
| Luminance | 0.1256 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney
#AC1DB8
ΔE00 1.38
Purply
#983FB2
ΔE00 3.75
Medium Purple
#9E43A2
ΔE00 5.01
Barney Purple
#A00498
ΔE00 5.02
Darkorchid
#9932CC
ΔE00 5.39
Ugly Purple
#A442A0
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A526B1 #32B126
analogous
#6026B1 #A526B1 #B12678
triadic
#A526B1 #B1A526 #26B1A5
tetradic
#A526B1 #B16026 #32B126 #2678B1
square
#A526B1 #B16026 #32B126 #2678B1
split-complementary
#A526B1 #78B126 #26B160
monochromatic
#47104C #761B7F #A526B1 #C93FD6 #D771E0
Accessibility & contrast
On white
5.98
#A526B1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#A526B1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A526B1
5.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A526B1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A526B1 | 1.00 | 5.98 | 3.51 | 5.98 |
| #FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AB5
Deuteranopia (green-blind)
#4268AE
Tritanopia (blue-blind)
#A8416C
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #a526b1; /* rgb */ color: rgb(165, 38, 177); /* oklch */ color: oklch(53.0% 0.220 324.1);
Tailwind
colors: {
custom: {
50: '#c470c9',
500: '#a526b1',
950: '#000000',
},
}SCSS
$custom: #a526b1; $custom-light: #c470c9; $custom-dark: #000000;
JSON
{
"hex": "#a526b1",
"rgb": {
"r": 165,
"g": 38,
"b": 177
},
"hsl": {
"h": 294.82,
"s": 64.651,
"l": 42.157
},
"oklch": {
"l": 0.53004,
"c": 0.22049,
"h": 324.1
},
"luminance": 0.1256
}Semantic roles & 50–950 ramp
primary
#A526B1
secondary
#73C76B
accent
#E8404F
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82