#A159DC#A159DC
#A159DC is a mid, vivid violet. Relative luminance 0.199; OKLCH L 60.6% C 0.197 H 306.8°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #A159DC |
|---|---|
| RGB | rgb(161, 89, 220) |
| HSL | hsl(273, 65%, 61%) |
| HSV | hsv(273, 60%, 86%) |
| CMYK | cmyk(26.8%, 59.5%, 0%, 13.7%) |
| CIE-LAB | lab(51.71, 53.00, -55.78) |
| CIE-LCH | lch(51.71, 76.94, 313.53°) |
| OKLab | oklab(60.64% 0.1178 -0.1574) |
| OKLCH | oklch(60.64% 0.197 306.8) |
| XYZ | xyz(31.1859, 19.8895, 69.8924) |
| Luminance | 0.1989 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 1.90
Lighter Purple
#A55AF4
ΔE00 3.52
Amethyst
#9B5FC0
ΔE00 4.77
Mediumorchid
#BA55D3
ΔE00 5.37
Purpley
#8756E4
ΔE00 5.41
Mediumpurple
#9370DB
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A159DC #94DC59
analogous
#5F59DC #A159DC #DC59D5
triadic
#A159DC #DCA159 #59DCA1
tetradic
#A159DC #DC5F59 #94DC59 #59D5DC
square
#A159DC #DC5F59 #94DC59 #59D5DC
split-complementary
#A159DC #D5DC59 #59DC5F
monochromatic
#63209A #842BCD #A159DC #BE8CE7 #DABEF1
Accessibility & contrast
On white
4.22
#A159DC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.98
#A159DC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A159DC
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A159DC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A159DC | 1.00 | 4.22 | 4.98 | 4.98 |
| #FFFFFF | 4.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.98 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.98 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E79E0
Deuteranopia (green-blind)
#427CD9
Tritanopia (blue-blind)
#987392
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #a159dc; /* rgb */ color: rgb(161, 89, 220); /* oklch */ color: oklch(60.6% 0.197 306.8);
Tailwind
colors: {
custom: {
50: '#c08be7',
500: '#a159dc',
950: '#000000',
},
}SCSS
$custom: #a159dc; $custom-light: #c08be7; $custom-dark: #000000;
JSON
{
"hex": "#a159dc",
"rgb": {
"r": 161,
"g": 89,
"b": 220
},
"hsl": {
"h": 272.977,
"s": 65.174,
"l": 60.588
},
"oklch": {
"l": 0.60641,
"c": 0.19662,
"h": 306.8
},
"luminance": 0.19889
}Semantic roles & 50–950 ramp
primary
#A159DC
secondary
#C6E1AF
accent
#CD186A
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84