#A431C8#A431C8
#A431C8 is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.2% C 0.228 H 316.6°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).
Color values
| HEX | #A431C8 |
|---|---|
| RGB | rgb(164, 49, 200) |
| HSL | hsl(286, 61%, 49%) |
| HSV | hsv(286, 76%, 78%) |
| CMYK | cmyk(18%, 75.5%, 0%, 21.6%) |
| CIE-LAB | lab(44.60, 66.78, -55.72) |
| CIE-LCH | lch(44.60, 86.97, 320.16°) |
| OKLab | oklab(55.22% 0.1659 -0.157) |
| OKLCH | oklch(55.22% 0.228 316.6) |
| XYZ | xyz(26.8319, 14.2604, 55.9715) |
| Luminance | 0.1426 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.28
Vibrant Purple
#AD03DE
ΔE00 3.60
Barney
#AC1DB8
ΔE00 3.64
Purply
#983FB2
ΔE00 3.81
Violet (survey)
#9A0EEA
ΔE00 5.88
Darkviolet
#9400D3
ΔE00 5.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A431C8 #55C831
analogous
#5831C8 #A431C8 #C831A1
triadic
#A431C8 #C8A431 #31C8A4
tetradic
#A431C8 #C85831 #55C831 #31A1C8
square
#A431C8 #C85831 #55C831 #31A1C8
split-complementary
#A431C8 #A1C831 #31C858
monochromatic
#531966 #7C2597 #A431C8 #BB5FD8 #D090E4
Accessibility & contrast
On white
5.45
#A431C8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.85
#A431C8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A431C8
5.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A431C8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A431C8 | 1.00 | 5.45 | 3.85 | 5.45 |
| #FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0063CC
Deuteranopia (green-blind)
#316DC5
Tritanopia (blue-blind)
#A2527B
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #a431c8; /* rgb */ color: rgb(164, 49, 200); /* oklch */ color: oklch(55.2% 0.228 316.6);
Tailwind
colors: {
custom: {
50: '#c375d9',
500: '#a431c8',
950: '#000000',
},
}SCSS
$custom: #a431c8; $custom-light: #c375d9; $custom-dark: #000000;
JSON
{
"hex": "#a431c8",
"rgb": {
"r": 164,
"g": 49,
"b": 200
},
"hsl": {
"h": 285.695,
"s": 60.643,
"l": 48.824
},
"oklch": {
"l": 0.55218,
"c": 0.22835,
"h": 316.6
},
"luminance": 0.14259
}Semantic roles & 50–950 ramp
primary
#A431C8
secondary
#98CE86
accent
#E4446A
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130915
muted
#827B83