#A626C7#A626C7
#A626C7 is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.6% C 0.238 H 318.0°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).
Color values
| HEX | #A626C7 |
|---|---|
| RGB | rgb(166, 38, 199) |
| HSL | hsl(288, 68%, 46%) |
| HSV | hsv(288, 81%, 78%) |
| CMYK | cmyk(16.6%, 80.9%, 0%, 22%) |
| CIE-LAB | lab(43.68, 70.33, -56.62) |
| CIE-LCH | lch(43.68, 90.29, 321.16°) |
| OKLab | oklab(54.61% 0.1771 -0.1594) |
| OKLCH | oklch(54.61% 0.238 318) |
| XYZ | xyz(26.7263, 13.6180, 55.2425) |
| Luminance | 0.1362 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.62
Barney
#AC1DB8
ΔE00 2.88
Vibrant Purple
#AD03DE
ΔE00 3.19
Purply
#983FB2
ΔE00 4.31
Darkviolet
#9400D3
ΔE00 5.27
Violet (survey)
#9A0EEA
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A626C7 #47C726
analogous
#5626C7 #A626C7 #C72698
triadic
#A626C7 #C7A626 #26C7A6
tetradic
#A626C7 #C75626 #47C726 #2698C7
square
#A626C7 #C75626 #47C726 #2698C7
split-complementary
#A626C7 #98C726 #26C756
monochromatic
#501260 #7B1C94 #A626C7 #C04DDD #D281E7
Accessibility & contrast
On white
5.64
#A626C7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.72
#A626C7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A626C7
5.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A626C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A626C7 | 1.00 | 5.64 | 3.72 | 5.64 |
| #FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FCB
Deuteranopia (green-blind)
#2D6BC4
Tritanopia (blue-blind)
#A54C78
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #a626c7; /* rgb */ color: rgb(166, 38, 199); /* oklch */ color: oklch(54.6% 0.238 318.0);
Tailwind
colors: {
custom: {
50: '#c571d9',
500: '#a626c7',
950: '#000000',
},
}SCSS
$custom: #a626c7; $custom-light: #c571d9; $custom-dark: #000000;
JSON
{
"hex": "#a626c7",
"rgb": {
"r": 166,
"g": 38,
"b": 199
},
"hsl": {
"h": 287.702,
"s": 67.932,
"l": 46.471
},
"oklch": {
"l": 0.54607,
"c": 0.23828,
"h": 318
},
"luminance": 0.13617
}Semantic roles & 50–950 ramp
primary
#A626C7
secondary
#8BCF79
accent
#EB3D61
background
#FCF7FD
surface
#F9EDFB
border
#D2C8D4
text
#130915
muted
#827B83