#A173F9#A173F9
#A173F9 is a light, vivid violet. Relative luminance 0.267; OKLCH L 66.3% C 0.193 H 296.6°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).
Color values
| HEX | #A173F9 |
|---|---|
| RGB | rgb(161, 115, 249) |
| HSL | hsl(261, 92%, 71%) |
| HSV | hsv(261, 54%, 98%) |
| CMYK | cmyk(35.3%, 53.8%, 0%, 2.4%) |
| CIE-LAB | lab(58.67, 46.22, -60.84) |
| CIE-LCH | lch(58.67, 76.41, 307.22°) |
| OKLab | oklab(66.3% 0.0864 -0.1723) |
| OKLCH | oklch(66.3% 0.193 296.6) |
| XYZ | xyz(37.9232, 26.6775, 92.7554) |
| Luminance | 0.2668 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.63
Mediumpurple
#9370DB
ΔE00 4.81
Easter Purple
#C071FE
ΔE00 5.54
Light Purple
#BF77F6
ΔE00 5.90
Periwinkle (survey)
#8E82FE
ΔE00 6.00
Lighter Purple
#A55AF4
ΔE00 6.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A173F9 #CBF973
analogous
#7388F9 #A173F9 #E473F9
triadic
#A173F9 #F9A173 #73F9A1
tetradic
#A173F9 #F97388 #CBF973 #73F9E4
square
#A173F9 #F97388 #CBF973 #73F9E4
split-complementary
#A173F9 #F9E473 #88F973
monochromatic
#560AE8 #7A38F6 #A173F9 #C8AEFC #EBE2FE
Accessibility & contrast
On white
3.31
#A173F9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.34
#A173F9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A173F9
6.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A173F9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A173F9 | 1.00 | 3.31 | 6.34 | 6.34 |
| #FFFFFF | 3.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#398EFE
Deuteranopia (green-blind)
#478BF6
Tritanopia (blue-blind)
#8D8EAB
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #a173f9; /* rgb */ color: rgb(161, 115, 249); /* oklch */ color: oklch(66.3% 0.193 296.6);
Tailwind
colors: {
custom: {
50: '#c19cfc',
500: '#a173f9',
950: '#000000',
},
}SCSS
$custom: #a173f9; $custom-light: #c19cfc; $custom-dark: #000000;
JSON
{
"hex": "#a173f9",
"rgb": {
"r": 161,
"g": 115,
"b": 249
},
"hsl": {
"h": 260.597,
"s": 91.781,
"l": 71.373
},
"oklch": {
"l": 0.66303,
"c": 0.1928,
"h": 296.6
},
"luminance": 0.26678
}Semantic roles & 50–950 ramp
primary
#A173F9
secondary
#E9F5D2
accent
#E60097
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85