#A15FE3#A15FE3
#A15FE3 is a mid, vivid violet. Relative luminance 0.213; OKLCH L 61.9% C 0.196 H 304.3°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).
Color values
| HEX | #A15FE3 |
|---|---|
| RGB | rgb(161, 95, 227) |
| HSL | hsl(270, 70%, 63%) |
| HSV | hsv(270, 58%, 89%) |
| CMYK | cmyk(29.1%, 58.1%, 0%, 11%) |
| CIE-LAB | lab(53.28, 51.54, -57.21) |
| CIE-LCH | lch(53.28, 77.01, 312.01°) |
| OKLab | oklab(61.92% 0.1104 -0.1617) |
| OKLCH | oklch(61.92% 0.196 304.3) |
| XYZ | xyz(32.6522, 21.3077, 75.0508) |
| Luminance | 0.2131 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 2.48
Lightish Purple
#A552E6
ΔE00 2.82
Mediumpurple
#9370DB
ΔE00 5.23
Purpley
#8756E4
ΔE00 5.71
Amethyst
#9B5FC0
ΔE00 5.72
Light Urple
#B36FF6
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A15FE3 #A1E35F
analogous
#5F5FE3 #A15FE3 #E35FE3
triadic
#A15FE3 #E3A15F #5FE3A1
tetradic
#A15FE3 #E35F5F #A1E35F #5FE3E3
square
#A15FE3 #E35F5F #A1E35F #5FE3E3
split-complementary
#A15FE3 #E3E35F #5FE35F
monochromatic
#641EAA #822BDA #A15FE3 #C093EC #DEC7F5
Accessibility & contrast
On white
3.99
#A15FE3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.26
#A15FE3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A15FE3
5.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A15FE3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A15FE3 | 1.00 | 3.99 | 5.26 | 5.26 |
| #FFFFFF | 3.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#247EE7
Deuteranopia (green-blind)
#427FE0
Tritanopia (blue-blind)
#957998
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #a15fe3; /* rgb */ color: rgb(161, 95, 227); /* oklch */ color: oklch(61.9% 0.196 304.3);
Tailwind
colors: {
custom: {
50: '#c18fec',
500: '#a15fe3',
950: '#000000',
},
}SCSS
$custom: #a15fe3; $custom-light: #c18fec; $custom-dark: #000000;
JSON
{
"hex": "#a15fe3",
"rgb": {
"r": 161,
"g": 95,
"b": 227
},
"hsl": {
"h": 270,
"s": 70.213,
"l": 63.137
},
"oklch": {
"l": 0.61924,
"c": 0.19579,
"h": 304.3
},
"luminance": 0.21308
}Semantic roles & 50–950 ramp
primary
#A15FE3
secondary
#CFE7B7
accent
#D21373
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130D16
muted
#827D84