#A231C3#A231C3
#A231C3 is a mid, highly saturated purple. Relative luminance 0.138; OKLCH L 54.6% C 0.223 H 317.3°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #A231C3 |
|---|---|
| RGB | rgb(162, 49, 195) |
| HSL | hsl(286, 60%, 48%) |
| HSV | hsv(286, 75%, 76%) |
| CMYK | cmyk(16.9%, 74.9%, 0%, 23.5%) |
| CIE-LAB | lab(43.97, 65.44, -53.85) |
| CIE-LCH | lch(43.97, 84.75, 320.55°) |
| OKLab | oklab(54.61% 0.1641 -0.1515) |
| OKLCH | oklch(54.61% 0.223 317.3) |
| XYZ | xyz(25.8475, 13.8193, 52.9250) |
| Luminance | 0.1382 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.41
Barney
#AC1DB8
ΔE00 3.17
Purply
#983FB2
ΔE00 3.22
Vibrant Purple
#AD03DE
ΔE00 4.12
Darkviolet
#9400D3
ΔE00 5.89
Violet (survey)
#9A0EEA
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A231C3 #52C331
analogous
#5931C3 #A231C3 #C3319B
triadic
#A231C3 #C3A231 #31C3A2
tetradic
#A231C3 #C35931 #52C331 #319BC3
square
#A231C3 #C35931 #52C331 #319BC3
split-complementary
#A231C3 #9BC331 #31C359
monochromatic
#511861 #792592 #A231C3 #BA5BD6 #CF8CE2
Accessibility & contrast
On white
5.58
#A231C3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.76
#A231C3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A231C3
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A231C3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A231C3 | 1.00 | 5.58 | 3.76 | 5.58 |
| #FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061C7
Deuteranopia (green-blind)
#346BC0
Tritanopia (blue-blind)
#A05078
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #a231c3; /* rgb */ color: rgb(162, 49, 195); /* oklch */ color: oklch(54.6% 0.223 317.3);
Tailwind
colors: {
custom: {
50: '#c275d6',
500: '#a231c3',
950: '#000000',
},
}SCSS
$custom: #a231c3; $custom-light: #c275d6; $custom-dark: #000000;
JSON
{
"hex": "#a231c3",
"rgb": {
"r": 162,
"g": 49,
"b": 195
},
"hsl": {
"h": 286.438,
"s": 59.836,
"l": 47.843
},
"oklch": {
"l": 0.54606,
"c": 0.22335,
"h": 317.3
},
"luminance": 0.13818
}Semantic roles & 50–950 ramp
primary
#A231C3
secondary
#94CC83
accent
#E34569
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83