#A15FD6#A15FD6
#A15FD6 is a mid, vivid violet. Relative luminance 0.206; OKLCH L 61.1% C 0.181 H 307.5°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #A15FD6 |
|---|---|
| RGB | rgb(161, 95, 214) |
| HSL | hsl(273, 59%, 61%) |
| HSV | hsv(273, 56%, 84%) |
| CMYK | cmyk(24.8%, 55.6%, 0%, 16.1%) |
| CIE-LAB | lab(52.53, 48.52, -51.07) |
| CIE-LCH | lch(52.53, 70.44, 313.53°) |
| OKLab | oklab(61.12% 0.1102 -0.1437) |
| OKLCH | oklch(61.12% 0.181 307.5) |
| XYZ | xyz(30.9253, 20.6169, 65.9556) |
| Luminance | 0.2062 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.51
Amethyst
#9B5FC0
ΔE00 3.71
Lighter Purple
#A55AF4
ΔE00 4.41
Mediumorchid
#BA55D3
ΔE00 5.09
Mediumpurple
#9370DB
ΔE00 5.59
Deep Lavender
#8D5EB7
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A15FD6 #94D65F
analogous
#655FD6 #A15FD6 #D65FD0
triadic
#A15FD6 #D6A15F #5FD6A1
tetradic
#A15FD6 #D6655F #94D65F #5FD0D6
square
#A15FD6 #D6655F #94D65F #5FD0D6
split-complementary
#A15FD6 #D0D65F #5FD665
monochromatic
#632695 #8433C5 #A15FD6 #BE90E2 #DAC0EF
Accessibility & contrast
On white
4.10
#A15FD6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.12
#A15FD6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A15FD6
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A15FD6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A15FD6 | 1.00 | 4.10 | 5.12 | 5.12 |
| #FFFFFF | 4.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#367BDA
Deuteranopia (green-blind)
#4E7ED3
Tritanopia (blue-blind)
#997591
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #a15fd6; /* rgb */ color: rgb(161, 95, 214); /* oklch */ color: oklch(61.1% 0.181 307.5);
Tailwind
colors: {
custom: {
50: '#c08fe3',
500: '#a15fd6',
950: '#000000',
},
}SCSS
$custom: #a15fd6; $custom-light: #c08fe3; $custom-dark: #000000;
JSON
{
"hex": "#a15fd6",
"rgb": {
"r": 161,
"g": 95,
"b": 214
},
"hsl": {
"h": 273.277,
"s": 59.204,
"l": 60.588
},
"oklch": {
"l": 0.61125,
"c": 0.18107,
"h": 307.5
},
"luminance": 0.20617
}Semantic roles & 50–950 ramp
primary
#A15FD6
secondary
#C6DFB2
accent
#C71F6A
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130D15
muted
#827D84