#A227B0#A227B0
#A227B0 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.6% C 0.218 H 323.4°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).
Color values
| HEX | #A227B0 |
|---|---|
| RGB | rgb(162, 39, 176) |
| HSL | hsl(294, 64%, 42%) |
| HSV | hsv(294, 78%, 69%) |
| CMYK | cmyk(8%, 77.8%, 0%, 31%) |
| CIE-LAB | lab(41.64, 65.20, -46.44) |
| CIE-LCH | lch(41.64, 80.05, 324.54°) |
| OKLab | oklab(52.57% 0.1746 -0.1297) |
| OKLCH | oklch(52.57% 0.218 323.4) |
| XYZ | xyz(23.4616, 12.2685, 42.1982) |
| Luminance | 0.1227 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney
#AC1DB8
ΔE00 1.82
Purply
#983FB2
ΔE00 3.60
Barney Purple
#A00498
ΔE00 4.88
Medium Purple
#9E43A2
ΔE00 5.07
Darkorchid
#9932CC
ΔE00 5.26
Warm Purple
#952E8F
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A227B0 #35B027
analogous
#5E27B0 #A227B0 #B02779
triadic
#A227B0 #B0A227 #27B0A2
tetradic
#A227B0 #B05E27 #35B027 #2779B0
square
#A227B0 #B05E27 #35B027 #2779B0
split-complementary
#A227B0 #79B027 #27B05E
monochromatic
#46114C #741C7E #A227B0 #C540D5 #D472E0
Accessibility & contrast
On white
6.08
#A227B0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#A227B0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A227B0
6.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A227B0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A227B0 | 1.00 | 6.08 | 3.45 | 6.08 |
| #FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059B4
Deuteranopia (green-blind)
#4067AD
Tritanopia (blue-blind)
#A5426B
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #a227b0; /* rgb */ color: rgb(162, 39, 176); /* oklch */ color: oklch(52.6% 0.218 323.4);
Tailwind
colors: {
custom: {
50: '#c270c8',
500: '#a227b0',
950: '#000000',
},
}SCSS
$custom: #a227b0; $custom-light: #c270c8; $custom-dark: #000000;
JSON
{
"hex": "#a227b0",
"rgb": {
"r": 162,
"g": 39,
"b": 176
},
"hsl": {
"h": 293.869,
"s": 63.721,
"l": 42.157
},
"oklch": {
"l": 0.52566,
"c": 0.21755,
"h": 323.4
},
"luminance": 0.12267
}Semantic roles & 50–950 ramp
primary
#A227B0
secondary
#75C76C
accent
#E74152
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130813
muted
#827B82