#A526C7#A526C7
#A526C7 is a mid, highly saturated purple. Relative luminance 0.135; OKLCH L 54.5% C 0.238 H 317.7°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).
Color values
| HEX | #A526C7 |
|---|---|
| RGB | rgb(165, 38, 199) |
| HSL | hsl(287, 68%, 46%) |
| HSV | hsv(287, 81%, 78%) |
| CMYK | cmyk(17.1%, 80.9%, 0%, 22%) |
| CIE-LAB | lab(43.52, 70.15, -56.88) |
| CIE-LCH | lch(43.52, 90.32, 320.96°) |
| OKLab | oklab(54.47% 0.1759 -0.1602) |
| OKLCH | oklch(54.47% 0.238 317.7) |
| XYZ | xyz(26.5175, 13.5103, 55.2327) |
| Luminance | 0.1351 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.48
Barney
#AC1DB8
ΔE00 2.97
Vibrant Purple
#AD03DE
ΔE00 3.19
Purply
#983FB2
ΔE00 4.30
Darkviolet
#9400D3
ΔE00 5.09
Violet (survey)
#9A0EEA
ΔE00 5.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A526C7 #48C726
analogous
#5526C7 #A526C7 #C72699
triadic
#A526C7 #C7A526 #26C7A5
tetradic
#A526C7 #C75526 #48C726 #2699C7
square
#A526C7 #C75526 #48C726 #2699C7
split-complementary
#A526C7 #99C726 #26C755
monochromatic
#501260 #7A1C94 #A526C7 #BF4DDD #D181E7
Accessibility & contrast
On white
5.67
#A526C7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.70
#A526C7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A526C7
5.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A526C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A526C7 | 1.00 | 5.67 | 3.70 | 5.67 |
| #FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FCB
Deuteranopia (green-blind)
#2C6AC4
Tritanopia (blue-blind)
#A44C78
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #a526c7; /* rgb */ color: rgb(165, 38, 199); /* oklch */ color: oklch(54.5% 0.238 317.7);
Tailwind
colors: {
custom: {
50: '#c471d9',
500: '#a526c7',
950: '#000000',
},
}SCSS
$custom: #a526c7; $custom-light: #c471d9; $custom-dark: #000000;
JSON
{
"hex": "#a526c7",
"rgb": {
"r": 165,
"g": 38,
"b": 199
},
"hsl": {
"h": 287.329,
"s": 67.932,
"l": 46.471
},
"oklch": {
"l": 0.54465,
"c": 0.23794,
"h": 317.7
},
"luminance": 0.13509
}Semantic roles & 50–950 ramp
primary
#A526C7
secondary
#8CCF79
accent
#EB3D62
background
#FCF7FD
surface
#F9EDFB
border
#D2C8D4
text
#130915
muted
#827B83