#A155E5#A155E5
#A155E5 is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.7% C 0.212 H 305.2°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #A155E5 |
|---|---|
| RGB | rgb(161, 85, 229) |
| HSL | hsl(272, 73%, 62%) |
| HSV | hsv(272, 63%, 90%) |
| CMYK | cmyk(29.7%, 62.9%, 0%, 10.2%) |
| CIE-LAB | lab(51.53, 57.06, -61.16) |
| CIE-LCH | lch(51.53, 83.64, 313.02°) |
| OKLab | oklab(60.69% 0.1222 -0.1732) |
| OKLCH | oklch(60.69% 0.212 305.2) |
| XYZ | xyz(32.0862, 19.7314, 76.2317) |
| Luminance | 0.1973 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 0.82
Lighter Purple
#A55AF4
ΔE00 2.66
Purpley
#8756E4
ΔE00 4.78
Mediumorchid
#BA55D3
ΔE00 6.19
Amethyst
#9B5FC0
ΔE00 6.23
Electric Purple
#AA23FF
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A155E5 #99E555
analogous
#5955E5 #A155E5 #E555E1
triadic
#A155E5 #E5A155 #55E5A1
tetradic
#A155E5 #E55955 #99E555 #55E1E5
square
#A155E5 #E55955 #99E555 #55E1E5
split-complementary
#A155E5 #E1E555 #55E559
monochromatic
#6419A6 #8422DB #A155E5 #BE8AED #DCBFF5
Accessibility & contrast
On white
4.25
#A155E5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.95
#A155E5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A155E5
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A155E5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A155E5 | 1.00 | 4.25 | 4.95 | 4.95 |
| #FFFFFF | 4.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079E9
Deuteranopia (green-blind)
#317BE2
Tritanopia (blue-blind)
#957395
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #a155e5; /* rgb */ color: rgb(161, 85, 229); /* oklch */ color: oklch(60.7% 0.212 305.2);
Tailwind
colors: {
custom: {
50: '#c189ee',
500: '#a155e5',
950: '#000000',
},
}SCSS
$custom: #a155e5; $custom-light: #c189ee; $custom-dark: #000000;
JSON
{
"hex": "#a155e5",
"rgb": {
"r": 161,
"g": 85,
"b": 229
},
"hsl": {
"h": 271.667,
"s": 73.469,
"l": 61.569
},
"oklch": {
"l": 0.60689,
"c": 0.21195,
"h": 305.2
},
"luminance": 0.19731
}Semantic roles & 50–950 ramp
primary
#A155E5
secondary
#C9E6B0
accent
#D6106D
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84