#A227D0#A227D0
#A227D0 is a mid, highly saturated purple. Relative luminance 0.137; OKLCH L 54.8% C 0.243 H 314.2°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).
Color values
| HEX | #A227D0 |
|---|---|
| RGB | rgb(162, 39, 208) |
| HSL | hsl(284, 68%, 48%) |
| HSV | hsv(284, 81%, 82%) |
| CMYK | cmyk(22.1%, 81.3%, 0%, 18.4%) |
| CIE-LAB | lab(43.78, 71.04, -61.70) |
| CIE-LCH | lch(43.78, 94.09, 319.03°) |
| OKLab | oklab(54.75% 0.1698 -0.1745) |
| OKLCH | oklch(54.75% 0.243 314.2) |
| XYZ | xyz(27.0090, 13.6874, 60.8815) |
| Luminance | 0.1369 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 1.60
Vibrant Purple
#AD03DE
ΔE00 2.35
Violet (survey)
#9A0EEA
ΔE00 4.16
Darkviolet
#9400D3
ΔE00 4.39
Barney
#AC1DB8
ΔE00 4.49
Blueviolet
#8A2BE2
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A227D0 #55D027
analogous
#4E27D0 #A227D0 #D027A9
triadic
#A227D0 #D0A227 #27D0A2
tetradic
#A227D0 #D04E27 #55D027 #27A9D0
square
#A227D0 #D04E27 #55D027 #27A9D0
split-complementary
#A227D0 #A9D027 #27D04E
monochromatic
#521469 #7A1D9C #A227D0 #BA55DF #CF89E9
Accessibility & contrast
On white
5.62
#A227D0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.74
#A227D0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A227D0
5.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A227D0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A227D0 | 1.00 | 5.62 | 3.74 | 5.62 |
| #FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0061D4
Deuteranopia (green-blind)
#136ACD
Tritanopia (blue-blind)
#9D527E
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #a227d0; /* rgb */ color: rgb(162, 39, 208); /* oklch */ color: oklch(54.8% 0.243 314.2);
Tailwind
colors: {
custom: {
50: '#c372df',
500: '#a227d0',
950: '#000000',
},
}SCSS
$custom: #a227d0; $custom-light: #c372df; $custom-dark: #000000;
JSON
{
"hex": "#a227d0",
"rgb": {
"r": 162,
"g": 39,
"b": 208
},
"hsl": {
"h": 283.669,
"s": 68.421,
"l": 48.431
},
"oklch": {
"l": 0.54752,
"c": 0.24349,
"h": 314.2
},
"luminance": 0.13686
}Semantic roles & 50–950 ramp
primary
#A227D0
secondary
#97D280
accent
#EB3D6C
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83