#A173FD#A173FD
#A173FD is a light, vivid violet. Relative luminance 0.269; OKLCH L 66.6% C 0.198 H 296.0°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #A173FD |
|---|---|
| RGB | rgb(161, 115, 253) |
| HSL | hsl(260, 97%, 72%) |
| HSV | hsv(260, 55%, 99%) |
| CMYK | cmyk(36.4%, 54.5%, 0%, 0.8%) |
| CIE-LAB | lab(58.91, 47.24, -62.68) |
| CIE-LCH | lch(58.91, 78.48, 307.01°) |
| OKLab | oklab(66.55% 0.0865 -0.1777) |
| OKLCH | oklch(66.55% 0.198 296) |
| XYZ | xyz(38.5538, 26.9297, 96.0762) |
| Luminance | 0.2693 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.85
Mediumpurple
#9370DB
ΔE00 5.28
Easter Purple
#C071FE
ΔE00 5.62
Periwinkle (survey)
#8E82FE
ΔE00 5.84
Light Purple
#BF77F6
ΔE00 6.08
Lighter Purple
#A55AF4
ΔE00 6.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A173FD #CFFD73
analogous
#738AFD #A173FD #E673FD
triadic
#A173FD #FDA173 #73FDA1
tetradic
#A173FD #FD738A #CFFD73 #73FDE6
square
#A173FD #FD738A #CFFD73 #73FDE6
split-complementary
#A173FD #FDE673 #8AFD73
monochromatic
#5303F2 #7837FC #A173FD #CAAFFE #EBE1FF
Accessibility & contrast
On white
3.29
#A173FD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.39
#A173FD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A173FD
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A173FD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A173FD | 1.00 | 3.29 | 6.39 | 6.39 |
| #FFFFFF | 3.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#338FFF
Deuteranopia (green-blind)
#428CFA
Tritanopia (blue-blind)
#8B8FAD
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #a173fd; /* rgb */ color: rgb(161, 115, 253); /* oklch */ color: oklch(66.6% 0.198 296.0);
Tailwind
colors: {
custom: {
50: '#c19dff',
500: '#a173fd',
950: '#000000',
},
}SCSS
$custom: #a173fd; $custom-light: #c19dff; $custom-dark: #000000;
JSON
{
"hex": "#a173fd",
"rgb": {
"r": 161,
"g": 115,
"b": 253
},
"hsl": {
"h": 260,
"s": 97.183,
"l": 72.157
},
"oklch": {
"l": 0.66551,
"c": 0.19766,
"h": 296
},
"luminance": 0.2693
}Semantic roles & 50–950 ramp
primary
#A173FD
secondary
#EBF7D4
accent
#E60099
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86