#A231C6#A231C6
#A231C6 is a mid, highly saturated purple. Relative luminance 0.140; OKLCH L 54.8% C 0.226 H 316.4°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).
Color values
| HEX | #A231C6 |
|---|---|
| RGB | rgb(162, 49, 198) |
| HSL | hsl(286, 60%, 48%) |
| HSV | hsv(286, 75%, 78%) |
| CMYK | cmyk(18.2%, 75.3%, 0%, 22.4%) |
| CIE-LAB | lab(44.17, 66.01, -55.28) |
| CIE-LCH | lch(44.17, 86.10, 320.06°) |
| OKLab | oklab(54.81% 0.1637 -0.1557) |
| OKLCH | oklch(54.81% 0.226 316.4) |
| XYZ | xyz(26.1901, 13.9563, 54.7294) |
| Luminance | 0.1396 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.08
Barney
#AC1DB8
ΔE00 3.53
Purply
#983FB2
ΔE00 3.55
Vibrant Purple
#AD03DE
ΔE00 3.78
Darkviolet
#9400D3
ΔE00 5.72
Violet (survey)
#9A0EEA
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A231C6 #55C631
analogous
#5731C6 #A231C6 #C6319F
triadic
#A231C6 #C6A231 #31C6A2
tetradic
#A231C6 #C65731 #55C631 #319FC6
square
#A231C6 #C65731 #55C631 #319FC6
split-complementary
#A231C6 #9FC631 #31C657
monochromatic
#521964 #7A2595 #A231C6 #BA5DD7 #CF8EE3
Accessibility & contrast
On white
5.54
#A231C6 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.79
#A231C6 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A231C6
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A231C6 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A231C6 | 1.00 | 5.54 | 3.79 | 5.54 |
| #FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062CA
Deuteranopia (green-blind)
#316CC3
Tritanopia (blue-blind)
#A0527A
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #a231c6; /* rgb */ color: rgb(162, 49, 198); /* oklch */ color: oklch(54.8% 0.226 316.4);
Tailwind
colors: {
custom: {
50: '#c275d8',
500: '#a231c6',
950: '#000000',
},
}SCSS
$custom: #a231c6; $custom-light: #c275d8; $custom-dark: #000000;
JSON
{
"hex": "#a231c6",
"rgb": {
"r": 162,
"g": 49,
"b": 198
},
"hsl": {
"h": 285.503,
"s": 60.324,
"l": 48.431
},
"oklch": {
"l": 0.54808,
"c": 0.22592,
"h": 316.4
},
"luminance": 0.13955
}Semantic roles & 50–950 ramp
primary
#A231C6
secondary
#97CE85
accent
#E3446B
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130915
muted
#827B83