#A230A2#A230A2
#A230A2 is a mid, vivid purple. Relative luminance 0.124; OKLCH L 52.5% C 0.197 H 327.9°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).
Color values
| HEX | #A230A2 |
|---|---|
| RGB | rgb(162, 48, 162) |
| HSL | hsl(300, 54%, 41%) |
| HSV | hsv(300, 70%, 64%) |
| CMYK | cmyk(0%, 70.4%, 0%, 36.5%) |
| CIE-LAB | lab(41.85, 59.84, -37.76) |
| CIE-LCH | lch(41.85, 70.75, 327.75°) |
| OKLab | oklab(52.46% 0.1669 -0.1045) |
| OKLCH | oklch(52.46% 0.197 327.9) |
| XYZ | xyz(22.4785, 12.4055, 35.3860) |
| Luminance | 0.1240 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 3.24
Ugly Purple
#A442A0
ΔE00 3.52
Warm Purple
#952E8F
ΔE00 3.73
Barney
#AC1DB8
ΔE00 3.82
Purply
#983FB2
ΔE00 4.34
Barney Purple
#A00498
ΔE00 4.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A230A2 #30A230
analogous
#6930A2 #A230A2 #A23069
triadic
#A230A2 #A2A230 #30A2A2
tetradic
#A230A2 #A26930 #30A230 #3069A2
square
#A230A2 #A26930 #30A230 #3069A2
split-complementary
#A230A2 #69A230 #30A269
monochromatic
#441444 #732273 #A230A2 #C847C8 #D676D6
Accessibility & contrast
On white
6.03
#A230A2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.48
#A230A2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A230A2
6.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A230A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A230A2 | 1.00 | 6.03 | 3.48 | 6.03 |
| #FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D59A5
Deuteranopia (green-blind)
#4E689F
Tritanopia (blue-blind)
#A74166
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #a230a2; /* rgb */ color: rgb(162, 48, 162); /* oklch */ color: oklch(52.5% 0.197 327.9);
Tailwind
colors: {
custom: {
50: '#c173be',
500: '#a230a2',
950: '#000000',
},
}SCSS
$custom: #a230a2; $custom-light: #c173be; $custom-dark: #000000;
JSON
{
"hex": "#a230a2",
"rgb": {
"r": 162,
"g": 48,
"b": 162
},
"hsl": {
"h": 300,
"s": 54.286,
"l": 41.176
},
"oklch": {
"l": 0.52455,
"c": 0.19691,
"h": 327.9
},
"luminance": 0.12404
}Semantic roles & 50–950 ramp
primary
#A230A2
secondary
#6FBE6F
accent
#DE4A4A
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81