#A145E9#A145E9
#A145E9 is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 59.1% C 0.236 H 306.0°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #A145E9 |
|---|---|
| RGB | rgb(161, 69, 233) |
| HSL | hsl(274, 79%, 59%) |
| HSV | hsv(274, 70%, 91%) |
| CMYK | cmyk(30.9%, 70.4%, 0%, 8.6%) |
| CIE-LAB | lab(49.15, 65.30, -67.26) |
| CIE-LCH | lch(49.15, 93.75, 314.15°) |
| OKLab | oklab(59.07% 0.1386 -0.1911) |
| OKLCH | oklch(59.07% 0.236 306) |
| XYZ | xyz(31.5308, 17.7168, 78.8336) |
| Luminance | 0.1772 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.87
Electric Purple
#AA23FF
ΔE00 3.98
Bright Violet
#AD0AFD
ΔE00 4.93
Neon Purple
#BC13FE
ΔE00 4.98
Lighter Purple
#A55AF4
ΔE00 5.07
Purpley
#8756E4
ΔE00 5.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A145E9 #8DE945
analogous
#4F45E9 #A145E9 #E945DF
triadic
#A145E9 #E9A145 #45E9A1
tetradic
#A145E9 #E94F45 #8DE945 #45DFE9
square
#A145E9 #E94F45 #8DE945 #45DFE9
split-complementary
#A145E9 #DFE945 #45E94F
monochromatic
#6213A1 #8419D7 #A145E9 #BD7CEF #D8B2F6
Accessibility & contrast
On white
4.62
#A145E9 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.54
#A145E9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #A145E9
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A145E9 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A145E9 | 1.00 | 4.62 | 4.54 | 4.62 |
| #FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0072EE
Deuteranopia (green-blind)
#0075E6
Tritanopia (blue-blind)
#946B93
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #a145e9; /* rgb */ color: rgb(161, 69, 233); /* oklch */ color: oklch(59.1% 0.236 306.0);
Tailwind
colors: {
custom: {
50: '#c280f1',
500: '#a145e9',
950: '#000000',
},
}SCSS
$custom: #a145e9; $custom-light: #c280f1; $custom-dark: #000000;
JSON
{
"hex": "#a145e9",
"rgb": {
"r": 161,
"g": 69,
"b": 233
},
"hsl": {
"h": 273.659,
"s": 78.846,
"l": 59.216
},
"oklch": {
"l": 0.59067,
"c": 0.23605,
"h": 306
},
"luminance": 0.17717
}Semantic roles & 50–950 ramp
primary
#A145E9
secondary
#C1E5A5
accent
#F53288
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85