#A148E2#A148E2
#A148E2 is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.9% C 0.226 H 307.3°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #A148E2 |
|---|---|
| RGB | rgb(161, 72, 226) |
| HSL | hsl(275, 73%, 58%) |
| HSV | hsv(275, 68%, 89%) |
| CMYK | cmyk(28.8%, 68.1%, 0%, 11.4%) |
| CIE-LAB | lab(49.13, 62.46, -63.33) |
| CIE-LCH | lch(49.13, 88.95, 314.60°) |
| OKLab | oklab(58.9% 0.1366 -0.1795) |
| OKLCH | oklch(58.9% 0.226 307.3) |
| XYZ | xyz(30.7399, 17.7032, 73.7344) |
| Luminance | 0.1770 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.53
Electric Purple
#AA23FF
ΔE00 4.83
Lighter Purple
#A55AF4
ΔE00 5.12
Purpley
#8756E4
ΔE00 5.16
Neon Purple
#BC13FE
ΔE00 5.54
Bright Violet
#AD0AFD
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A148E2 #89E248
analogous
#5448E2 #A148E2 #E248D6
triadic
#A148E2 #E2A148 #48E2A1
tetradic
#A148E2 #E25448 #89E248 #48D6E2
square
#A148E2 #E25448 #89E248 #48D6E2
split-complementary
#A148E2 #D6E248 #48E254
monochromatic
#621898 #8420CC #A148E2 #BC7DEA #D7B2F3
Accessibility & contrast
On white
4.62
#A148E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.54
#A148E2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #A148E2
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A148E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A148E2 | 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)
#0072E7
Deuteranopia (green-blind)
#1E75DF
Tritanopia (blue-blind)
#966A90
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #a148e2; /* rgb */ color: rgb(161, 72, 226); /* oklch */ color: oklch(58.9% 0.226 307.3);
Tailwind
colors: {
custom: {
50: '#c281ec',
500: '#a148e2',
950: '#000000',
},
}SCSS
$custom: #a148e2; $custom-light: #c281ec; $custom-dark: #000000;
JSON
{
"hex": "#a148e2",
"rgb": {
"r": 161,
"g": 72,
"b": 226
},
"hsl": {
"h": 274.675,
"s": 72.642,
"l": 58.431
},
"oklch": {
"l": 0.58903,
"c": 0.22557,
"h": 307.3
},
"luminance": 0.17703
}Semantic roles & 50–950 ramp
primary
#A148E2
secondary
#BEE1A4
accent
#EF3886
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84