#A173DC#A173DC
#A173DC is a light, vivid violet. Relative luminance 0.250; OKLCH L 64.6% C 0.157 H 302.5°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).
Color values
| HEX | #A173DC |
|---|---|
| RGB | rgb(161, 115, 220) |
| HSL | hsl(266, 60%, 66%) |
| HSV | hsv(266, 48%, 86%) |
| CMYK | cmyk(26.8%, 47.7%, 0%, 13.7%) |
| CIE-LAB | lab(57.08, 39.04, -47.22) |
| CIE-LCH | lch(57.08, 61.27, 309.58°) |
| OKLab | oklab(64.6% 0.0843 -0.1325) |
| OKLCH | oklch(64.6% 0.157 302.5) |
| XYZ | xyz(33.7441, 25.0058, 70.7451) |
| Luminance | 0.2501 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.01
Light Urple
#B36FF6
ΔE00 4.65
Deep Lilac
#966EBD
ΔE00 5.57
Light Purple
#BF77F6
ΔE00 6.10
Easter Purple
#C071FE
ΔE00 6.64
Lighter Purple
#A55AF4
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A173DC #AEDC73
analogous
#7379DC #A173DC #D673DC
triadic
#A173DC #DCA173 #73DCA1
tetradic
#A173DC #DC7379 #AEDC73 #73DCD6
square
#A173DC #DC7379 #AEDC73 #73DCD6
split-complementary
#A173DC #DCD673 #79DC73
monochromatic
#622BAA #8042D0 #A173DC #C2A4E8 #E3D5F4
Accessibility & contrast
On white
3.50
#A173DC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.00
#A173DC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A173DC
6.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A173DC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A173DC | 1.00 | 3.50 | 6.00 | 6.00 |
| #FFFFFF | 3.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5488E0
Deuteranopia (green-blind)
#5F89D9
Tritanopia (blue-blind)
#96869D
Achromatopsia (no color)
#898989
Design tokens & code
CSS
--color: #a173dc; /* rgb */ color: rgb(161, 115, 220); /* oklch */ color: oklch(64.6% 0.157 302.5);
Tailwind
colors: {
custom: {
50: '#bf9ce7',
500: '#a173dc',
950: '#000000',
},
}SCSS
$custom: #a173dc; $custom-light: #bf9ce7; $custom-dark: #000000;
JSON
{
"hex": "#a173dc",
"rgb": {
"r": 161,
"g": 115,
"b": 220
},
"hsl": {
"h": 266.286,
"s": 60,
"l": 65.686
},
"oklch": {
"l": 0.64603,
"c": 0.157,
"h": 302.5
},
"luminance": 0.25006
}Semantic roles & 50–950 ramp
primary
#A173DC
secondary
#D8E7C4
accent
#C81E7D
background
#FCF9FE
surface
#F8F2FC
border
#D1CCD5
text
#120E16
muted
#817E84