#A15FDC#A15FDC
#A15FDC is a mid, vivid violet. Relative luminance 0.209; OKLCH L 61.5% C 0.188 H 306.0°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #A15FDC |
|---|---|
| RGB | rgb(161, 95, 220) |
| HSL | hsl(272, 64%, 62%) |
| HSV | hsv(272, 57%, 86%) |
| CMYK | cmyk(26.8%, 56.8%, 0%, 13.7%) |
| CIE-LAB | lab(52.87, 49.90, -53.92) |
| CIE-LCH | lch(52.87, 73.47, 312.78°) |
| OKLab | oklab(61.49% 0.1104 -0.152) |
| OKLCH | oklch(61.49% 0.188 306) |
| XYZ | xyz(31.7057, 20.9291, 70.0657) |
| Luminance | 0.2093 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 3.03
Lighter Purple
#A55AF4
ΔE00 3.48
Amethyst
#9B5FC0
ΔE00 4.65
Mediumpurple
#9370DB
ΔE00 5.33
Mediumorchid
#BA55D3
ΔE00 5.51
Purpley
#8756E4
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A15FDC #9ADC5F
analogous
#635FDC #A15FDC #DC5FD9
triadic
#A15FDC #DCA15F #5FDCA1
tetradic
#A15FDC #DC635F #9ADC5F #5FD9DC
square
#A15FDC #DC635F #9ADC5F #5FD9DC
split-complementary
#A15FDC #D9DC5F #5FDC63
monochromatic
#64239E #832ED0 #A15FDC #BF91E7 #DCC3F2
Accessibility & contrast
On white
4.05
#A15FDC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.19
#A15FDC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A15FDC
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A15FDC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A15FDC | 1.00 | 4.05 | 5.19 | 5.19 |
| #FFFFFF | 4.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F7CE0
Deuteranopia (green-blind)
#497FD9
Tritanopia (blue-blind)
#977794
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #a15fdc; /* rgb */ color: rgb(161, 95, 220); /* oklch */ color: oklch(61.5% 0.188 306.0);
Tailwind
colors: {
custom: {
50: '#c08fe7',
500: '#a15fdc',
950: '#000000',
},
}SCSS
$custom: #a15fdc; $custom-light: #c08fe7; $custom-dark: #000000;
JSON
{
"hex": "#a15fdc",
"rgb": {
"r": 161,
"g": 95,
"b": 220
},
"hsl": {
"h": 271.68,
"s": 64.103,
"l": 61.765
},
"oklch": {
"l": 0.61489,
"c": 0.18787,
"h": 306
},
"luminance": 0.20929
}Semantic roles & 50–950 ramp
primary
#A15FDC
secondary
#CAE3B4
accent
#CC1A6E
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130D16
muted
#827D84