#A154E4#A154E4
#A154E4 is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.5% C 0.212 H 305.5°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #A154E4 |
|---|---|
| RGB | rgb(161, 84, 228) |
| HSL | hsl(272, 73%, 61%) |
| HSV | hsv(272, 63%, 89%) |
| CMYK | cmyk(29.4%, 63.2%, 0%, 10.6%) |
| CIE-LAB | lab(51.29, 57.32, -60.98) |
| CIE-LCH | lch(51.29, 83.69, 313.23°) |
| OKLab | oklab(60.49% 0.1234 -0.1727) |
| OKLCH | oklch(60.49% 0.212 305.5) |
| XYZ | xyz(31.8688, 19.5194, 75.4725) |
| Luminance | 0.1952 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 0.74
Lighter Purple
#A55AF4
ΔE00 2.92
Purpley
#8756E4
ΔE00 4.77
Mediumorchid
#BA55D3
ΔE00 6.15
Amethyst
#9B5FC0
ΔE00 6.16
Electric Purple
#AA23FF
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A154E4 #97E454
analogous
#5954E4 #A154E4 #E454DF
triadic
#A154E4 #E4A154 #54E4A1
tetradic
#A154E4 #E45954 #97E454 #54DFE4
square
#A154E4 #E45954 #97E454 #54DFE4
split-complementary
#A154E4 #DFE454 #54E459
monochromatic
#641AA4 #8422D9 #A154E4 #BE89EC #DBBEF5
Accessibility & contrast
On white
4.28
#A154E4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.90
#A154E4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A154E4
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A154E4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A154E4 | 1.00 | 4.28 | 4.90 | 4.90 |
| #FFFFFF | 4.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.90 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.90 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0078E8
Deuteranopia (green-blind)
#317AE1
Tritanopia (blue-blind)
#957295
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #a154e4; /* rgb */ color: rgb(161, 84, 228); /* oklch */ color: oklch(60.5% 0.212 305.5);
Tailwind
colors: {
custom: {
50: '#c188ed',
500: '#a154e4',
950: '#000000',
},
}SCSS
$custom: #a154e4; $custom-light: #c188ed; $custom-dark: #000000;
JSON
{
"hex": "#a154e4",
"rgb": {
"r": 161,
"g": 84,
"b": 228
},
"hsl": {
"h": 272.083,
"s": 72.727,
"l": 61.176
},
"oklch": {
"l": 0.60493,
"c": 0.21223,
"h": 305.5
},
"luminance": 0.19519
}Semantic roles & 50–950 ramp
primary
#A154E4
secondary
#C8E5AF
accent
#D5116C
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84