#A726A2#A726A2
#A726A2 is a mid, highly saturated purple. Relative luminance 0.122; OKLCH L 52.4% C 0.210 H 329.8°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).
Color values
| HEX | #A726A2 |
|---|---|
| RGB | rgb(167, 38, 162) |
| HSL | hsl(302, 63%, 40%) |
| HSV | hsv(302, 77%, 65%) |
| CMYK | cmyk(0%, 77.2%, 3%, 34.5%) |
| CIE-LAB | lab(41.55, 64.19, -38.18) |
| CIE-LCH | lch(41.55, 74.69, 329.25°) |
| OKLab | oklab(52.4% 0.1815 -0.1056) |
| OKLCH | oklch(52.4% 0.21 329.8) |
| XYZ | xyz(23.1509, 12.2122, 35.3133) |
| Luminance | 0.1221 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney
#AC1DB8
ΔE00 3.59
Barney Purple
#A00498
ΔE00 3.63
Warm Purple
#952E8F
ΔE00 3.98
Ugly Purple
#A442A0
ΔE00 4.34
Medium Purple
#9E43A2
ΔE00 4.34
Purply
#983FB2
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A726A2 #26A72B
analogous
#6C26A7 #A726A2 #A72661
triadic
#A726A2 #A2A726 #26A2A7
tetradic
#A726A2 #A76C26 #26A72B #2661A7
square
#A726A2 #A76C26 #26A72B #2661A7
split-complementary
#A726A2 #61A726 #26A76C
monochromatic
#430F41 #751B72 #A726A2 #D238CC #DD6AD9
Accessibility & contrast
On white
6.10
#A726A2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#A726A2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A726A2
6.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A726A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A726A2 | 1.00 | 6.10 | 3.44 | 6.10 |
| #FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1057A5
Deuteranopia (green-blind)
#4E689F
Tritanopia (blue-blind)
#AD3963
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #a726a2; /* rgb */ color: rgb(167, 38, 162); /* oklch */ color: oklch(52.4% 0.210 329.8);
Tailwind
colors: {
custom: {
50: '#c570be',
500: '#a726a2',
950: '#000000',
},
}SCSS
$custom: #a726a2; $custom-light: #c570be; $custom-dark: #000000;
JSON
{
"hex": "#a726a2",
"rgb": {
"r": 167,
"g": 38,
"b": 162
},
"hsl": {
"h": 302.326,
"s": 62.927,
"l": 40.196
},
"oklch": {
"l": 0.52399,
"c": 0.20997,
"h": 329.8
},
"luminance": 0.1221
}Semantic roles & 50–950 ramp
primary
#A726A2
secondary
#65C369
accent
#E64842
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130812
muted
#827B81