#A173CA#A173CA
#A173CA is a light, vivid violet. Relative luminance 0.241; OKLCH L 63.6% C 0.135 H 307.3°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).
Color values
| HEX | #A173CA |
|---|---|
| RGB | rgb(161, 115, 202) |
| HSL | hsl(272, 45%, 62%) |
| HSV | hsv(272, 43%, 79%) |
| CMYK | cmyk(20.3%, 43.1%, 0%, 20.8%) |
| CIE-LAB | lab(56.19, 34.80, -38.46) |
| CIE-LCH | lch(56.19, 51.86, 312.14°) |
| OKLab | oklab(63.65% 0.0817 -0.107) |
| OKLCH | oklch(63.65% 0.135 307.3) |
| XYZ | xyz(31.4873, 24.1031, 58.8593) |
| Luminance | 0.2410 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lilac
#966EBD
ΔE00 3.08
Wisteria
#A87DC2
ΔE00 4.38
Soft Purple
#A66FB5
ΔE00 4.99
Mediumpurple
#9370DB
ΔE00 5.15
Amethyst
#9B5FC0
ΔE00 5.98
Light Urple
#B36FF6
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A173CA #9CCA73
analogous
#7673CA #A173CA #CA73C8
triadic
#A173CA #CAA173 #73CAA1
tetradic
#A173CA #CA7673 #9CCA73 #73C8CA
square
#A173CA #CA7673 #9CCA73 #73C8CA
split-complementary
#A173CA #C8CA73 #73CA76
monochromatic
#64358D #8347B9 #A173CA #BF9FDB #DDCCEC
Accessibility & contrast
On white
3.61
#A173CA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.82
#A173CA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A173CA
5.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A173CA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A173CA | 1.00 | 3.61 | 5.82 | 5.82 |
| #FFFFFF | 3.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F85CD
Deuteranopia (green-blind)
#6A87C8
Tritanopia (blue-blind)
#9B8195
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #a173ca; /* rgb */ color: rgb(161, 115, 202); /* oklch */ color: oklch(63.6% 0.135 307.3);
Tailwind
colors: {
custom: {
50: '#be9cda',
500: '#a173ca',
950: '#000000',
},
}SCSS
$custom: #a173ca; $custom-light: #be9cda; $custom-dark: #000000;
JSON
{
"hex": "#a173ca",
"rgb": {
"r": 161,
"g": 115,
"b": 202
},
"hsl": {
"h": 271.724,
"s": 45.078,
"l": 62.157
},
"oklch": {
"l": 0.63646,
"c": 0.13461,
"h": 307.3
},
"luminance": 0.24103
}Semantic roles & 50–950 ramp
primary
#A173CA
secondary
#CBDCBC
accent
#B82D6F
background
#FBF9FD
surface
#F7F2FB
border
#D0CCD4
text
#120E15
muted
#817E83