#A145E2#A145E2
#A145E2 is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.6% C 0.229 H 307.5°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #A145E2 |
|---|---|
| RGB | rgb(161, 69, 226) |
| HSL | hsl(275, 73%, 58%) |
| HSV | hsv(275, 69%, 89%) |
| CMYK | cmyk(28.8%, 69.5%, 0%, 11.4%) |
| CIE-LAB | lab(48.67, 63.77, -64.09) |
| CIE-LCH | lch(48.67, 90.41, 314.86°) |
| OKLab | oklab(58.57% 0.1396 -0.1817) |
| OKLCH | oklch(58.57% 0.229 307.5) |
| XYZ | xyz(30.5506, 17.3247, 73.6713) |
| Luminance | 0.1732 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.08
Electric Purple
#AA23FF
ΔE00 4.47
Bright Violet
#AD0AFD
ΔE00 5.21
Neon Purple
#BC13FE
ΔE00 5.31
Purpley
#8756E4
ΔE00 5.39
Darkorchid
#9932CC
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A145E2 #86E245
analogous
#5245E2 #A145E2 #E245D5
triadic
#A145E2 #E2A145 #45E2A1
tetradic
#A145E2 #E25245 #86E245 #45D5E2
square
#A145E2 #E25245 #86E245 #45D5E2
split-complementary
#A145E2 #D5E245 #45E252
monochromatic
#611795 #8420CA #A145E2 #BC7AEA #D7AFF3
Accessibility & contrast
On white
4.70
#A145E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.46
#A145E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A145E2
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A145E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A145E2 | 1.00 | 4.70 | 4.46 | 4.70 |
| #FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070E7
Deuteranopia (green-blind)
#1774DF
Tritanopia (blue-blind)
#96688F
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #a145e2; /* rgb */ color: rgb(161, 69, 226); /* oklch */ color: oklch(58.6% 0.229 307.5);
Tailwind
colors: {
custom: {
50: '#c280ec',
500: '#a145e2',
950: '#000000',
},
}SCSS
$custom: #a145e2; $custom-light: #c280ec; $custom-dark: #000000;
JSON
{
"hex": "#a145e2",
"rgb": {
"r": 161,
"g": 69,
"b": 226
},
"hsl": {
"h": 275.159,
"s": 73.023,
"l": 57.843
},
"oklch": {
"l": 0.5857,
"c": 0.22917,
"h": 307.5
},
"luminance": 0.17324
}Semantic roles & 50–950 ramp
primary
#A145E2
secondary
#BCE1A2
accent
#F03884
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84