#A15FE0#A15FE0
#A15FE0 is a mid, vivid violet. Relative luminance 0.211; OKLCH L 61.7% C 0.192 H 305.0°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #A15FE0 |
|---|---|
| RGB | rgb(161, 95, 224) |
| HSL | hsl(271, 68%, 63%) |
| HSV | hsv(271, 58%, 88%) |
| CMYK | cmyk(28.1%, 57.6%, 0%, 12.2%) |
| CIE-LAB | lab(53.11, 50.84, -55.81) |
| CIE-LCH | lch(53.11, 75.49, 312.33°) |
| OKLab | oklab(61.74% 0.1104 -0.1575) |
| OKLCH | oklch(61.74% 0.192 305) |
| XYZ | xyz(32.2418, 21.1435, 72.8891) |
| Luminance | 0.2114 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.86
Lighter Purple
#A55AF4
ΔE00 2.90
Mediumpurple
#9370DB
ΔE00 5.24
Amethyst
#9B5FC0
ΔE00 5.27
Purpley
#8756E4
ΔE00 5.81
Mediumorchid
#BA55D3
ΔE00 5.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A15FE0 #9EE05F
analogous
#615FE0 #A15FE0 #E05FDE
triadic
#A15FE0 #E0A15F #5FE0A1
tetradic
#A15FE0 #E0615F #9EE05F #5FDEE0
square
#A15FE0 #E0615F #9EE05F #5FDEE0
split-complementary
#A15FE0 #DEE05F #5FE061
monochromatic
#6420A5 #832CD6 #A15FE0 #BF92EA #DDC6F4
Accessibility & contrast
On white
4.02
#A15FE0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.23
#A15FE0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A15FE0
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A15FE0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A15FE0 | 1.00 | 4.02 | 5.23 | 5.23 |
| #FFFFFF | 4.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#297DE4
Deuteranopia (green-blind)
#457FDD
Tritanopia (blue-blind)
#967897
Achromatopsia (no color)
#7F7F7F
Design tokens & code
CSS
--color: #a15fe0; /* rgb */ color: rgb(161, 95, 224); /* oklch */ color: oklch(61.7% 0.192 305.0);
Tailwind
colors: {
custom: {
50: '#c08fea',
500: '#a15fe0',
950: '#000000',
},
}SCSS
$custom: #a15fe0; $custom-light: #c08fea; $custom-dark: #000000;
JSON
{
"hex": "#a15fe0",
"rgb": {
"r": 161,
"g": 95,
"b": 224
},
"hsl": {
"h": 270.698,
"s": 67.539,
"l": 62.549
},
"oklch": {
"l": 0.61736,
"c": 0.19239,
"h": 305
},
"luminance": 0.21143
}Semantic roles & 50–950 ramp
primary
#A15FE0
secondary
#CDE5B6
accent
#CF1671
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130D16
muted
#827D84