#A15FCC#A15FCC
#A15FCC is a mid, vivid violet. Relative luminance 0.201; OKLCH L 60.5% C 0.170 H 310.2°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #A15FCC |
|---|---|
| RGB | rgb(161, 95, 204) |
| HSL | hsl(276, 52%, 59%) |
| HSV | hsv(276, 53%, 80%) |
| CMYK | cmyk(21.1%, 53.4%, 0%, 20%) |
| CIE-LAB | lab(51.97, 46.25, -46.25) |
| CIE-LCH | lch(51.97, 65.41, 315.00°) |
| OKLab | oklab(60.54% 0.1097 -0.1296) |
| OKLCH | oklch(60.54% 0.17 310.2) |
| XYZ | xyz(29.6872, 20.1217, 59.4350) |
| Luminance | 0.2012 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Amethyst
#9B5FC0
ΔE00 2.16
Lightish Purple
#A552E6
ΔE00 4.74
Mediumorchid
#BA55D3
ΔE00 4.75
Deep Lavender
#8D5EB7
ΔE00 4.89
Deep Lilac
#966EBD
ΔE00 5.44
Lighter Purple
#A55AF4
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A15FCC #8ACC5F
analogous
#6A5FCC #A15FCC #CC5FC1
triadic
#A15FCC #CCA15F #5FCCA1
tetradic
#A15FCC #CC6A5F #8ACC5F #5FC1CC
square
#A15FCC #CC6A5F #8ACC5F #5FC1CC
split-complementary
#A15FCC #C1CC5F #5FCC6A
monochromatic
#622B86 #8439B4 #A15FCC #BC8DDB #D8BCEA
Accessibility & contrast
On white
4.18
#A15FCC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.02
#A15FCC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A15FCC
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A15FCC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A15FCC | 1.00 | 4.18 | 5.02 | 5.02 |
| #FFFFFF | 4.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4079D0
Deuteranopia (green-blind)
#557DC9
Tritanopia (blue-blind)
#9C728D
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #a15fcc; /* rgb */ color: rgb(161, 95, 204); /* oklch */ color: oklch(60.5% 0.170 310.2);
Tailwind
colors: {
custom: {
50: '#bf8fdc',
500: '#a15fcc',
950: '#000000',
},
}SCSS
$custom: #a15fcc; $custom-light: #bf8fdc; $custom-dark: #000000;
JSON
{
"hex": "#a15fcc",
"rgb": {
"r": 161,
"g": 95,
"b": 204
},
"hsl": {
"h": 276.33,
"s": 51.659,
"l": 58.627
},
"oklch": {
"l": 0.60539,
"c": 0.16976,
"h": 310.2
},
"luminance": 0.20121
}Semantic roles & 50–950 ramp
primary
#A15FCC
secondary
#BFD9AE
accent
#DB4D85
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#120C15
muted
#817D83