#A326C7#A326C7
#A326C7 is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 54.2% C 0.237 H 317.0°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).
Color values
| HEX | #A326C7 |
|---|---|
| RGB | rgb(163, 38, 199) |
| HSL | hsl(287, 68%, 46%) |
| HSV | hsv(287, 81%, 78%) |
| CMYK | cmyk(18.1%, 80.9%, 0%, 22%) |
| CIE-LAB | lab(43.21, 69.80, -57.40) |
| CIE-LCH | lch(43.21, 90.38, 320.57°) |
| OKLab | oklab(54.18% 0.1735 -0.1618) |
| OKLCH | oklch(54.18% 0.237 317) |
| XYZ | xyz(26.1046, 13.2974, 55.2134) |
| Luminance | 0.1330 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.23
Barney
#AC1DB8
ΔE00 3.18
Vibrant Purple
#AD03DE
ΔE00 3.22
Purply
#983FB2
ΔE00 4.31
Darkviolet
#9400D3
ΔE00 4.75
Violet (survey)
#9A0EEA
ΔE00 5.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A326C7 #4AC726
analogous
#5326C7 #A326C7 #C7269B
triadic
#A326C7 #C7A326 #26C7A3
tetradic
#A326C7 #C75326 #4AC726 #269BC7
square
#A326C7 #C75326 #4AC726 #269BC7
split-complementary
#A326C7 #9BC726 #26C753
monochromatic
#4F1260 #791C94 #A326C7 #BD4DDD #D081E7
Accessibility & contrast
On white
5.74
#A326C7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.66
#A326C7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A326C7
5.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A326C7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A326C7 | 1.00 | 5.74 | 3.66 | 5.74 |
| #FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FCB
Deuteranopia (green-blind)
#286AC4
Tritanopia (blue-blind)
#A14D78
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #a326c7; /* rgb */ color: rgb(163, 38, 199); /* oklch */ color: oklch(54.2% 0.237 317.0);
Tailwind
colors: {
custom: {
50: '#c371d9',
500: '#a326c7',
950: '#000000',
},
}SCSS
$custom: #a326c7; $custom-light: #c371d9; $custom-dark: #000000;
JSON
{
"hex": "#a326c7",
"rgb": {
"r": 163,
"g": 38,
"b": 199
},
"hsl": {
"h": 286.584,
"s": 67.932,
"l": 46.471
},
"oklch": {
"l": 0.54182,
"c": 0.23726,
"h": 317
},
"luminance": 0.13296
}Semantic roles & 50–950 ramp
primary
#A326C7
secondary
#8DCF79
accent
#EB3D64
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83