#A15FE4#A15FE4
#A15FE4 is a mid, vivid violet. Relative luminance 0.214; OKLCH L 62.0% C 0.197 H 304.1°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).
Color values
| HEX | #A15FE4 |
|---|---|
| RGB | rgb(161, 95, 228) |
| HSL | hsl(270, 71%, 63%) |
| HSV | hsv(270, 58%, 89%) |
| CMYK | cmyk(29.4%, 58.3%, 0%, 10.6%) |
| CIE-LAB | lab(53.34, 51.78, -57.68) |
| CIE-LCH | lch(53.34, 77.51, 311.91°) |
| OKLab | oklab(61.99% 0.1104 -0.163) |
| OKLCH | oklch(61.99% 0.197 304.1) |
| XYZ | xyz(32.7906, 21.3630, 75.7797) |
| Luminance | 0.2136 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 2.35
Lightish Purple
#A552E6
ΔE00 2.83
Mediumpurple
#9370DB
ΔE00 5.23
Purpley
#8756E4
ΔE00 5.68
Light Urple
#B36FF6
ΔE00 5.73
Amethyst
#9B5FC0
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A15FE4 #A2E45F
analogous
#5F5FE4 #A15FE4 #E35FE4
triadic
#A15FE4 #E4A15F #5FE4A1
tetradic
#A15FE4 #E45F5F #A2E45F #5FE4E3
square
#A15FE4 #E45F5F #A2E45F #5FE4E3
split-complementary
#A15FE4 #E4E35F #5FE45F
monochromatic
#641DAC #822BDB #A15FE4 #C093ED #DFC8F6
Accessibility & contrast
On white
3.98
#A15FE4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.27
#A15FE4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A15FE4
5.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A15FE4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A15FE4 | 1.00 | 3.98 | 5.27 | 5.27 |
| #FFFFFF | 3.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#227EE8
Deuteranopia (green-blind)
#417FE1
Tritanopia (blue-blind)
#957A99
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #a15fe4; /* rgb */ color: rgb(161, 95, 228); /* oklch */ color: oklch(62.0% 0.197 304.1);
Tailwind
colors: {
custom: {
50: '#c18fed',
500: '#a15fe4',
950: '#000000',
},
}SCSS
$custom: #a15fe4; $custom-light: #c18fed; $custom-dark: #000000;
JSON
{
"hex": "#a15fe4",
"rgb": {
"r": 161,
"g": 95,
"b": 228
},
"hsl": {
"h": 269.774,
"s": 71.123,
"l": 63.333
},
"oklch": {
"l": 0.61987,
"c": 0.19691,
"h": 304.1
},
"luminance": 0.21363
}Semantic roles & 50–950 ramp
primary
#A15FE4
secondary
#D0E7B8
accent
#D31273
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130D16
muted
#827D84