#A173FC#A173FC
#A173FC is a light, vivid violet. Relative luminance 0.269; OKLCH L 66.5% C 0.196 H 296.1°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).
Color values
| HEX | #A173FC |
|---|---|
| RGB | rgb(161, 115, 252) |
| HSL | hsl(260, 96%, 72%) |
| HSV | hsv(260, 54%, 99%) |
| CMYK | cmyk(36.1%, 54.4%, 0%, 1.2%) |
| CIE-LAB | lab(58.85, 46.98, -62.22) |
| CIE-LCH | lch(58.85, 77.97, 307.06°) |
| OKLab | oklab(66.49% 0.0865 -0.1764) |
| OKLCH | oklch(66.49% 0.196 296.1) |
| XYZ | xyz(38.3949, 26.8662, 95.2394) |
| Luminance | 0.2687 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.79
Mediumpurple
#9370DB
ΔE00 5.16
Easter Purple
#C071FE
ΔE00 5.60
Periwinkle (survey)
#8E82FE
ΔE00 5.87
Light Purple
#BF77F6
ΔE00 6.04
Lighter Purple
#A55AF4
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A173FC #CEFC73
analogous
#738AFC #A173FC #E673FC
triadic
#A173FC #FCA173 #73FCA1
tetradic
#A173FC #FC738A #CEFC73 #73FCE6
square
#A173FC #FC738A #CEFC73 #73FCE6
split-complementary
#A173FC #FCE673 #8AFC73
monochromatic
#5405EF #7937FB #A173FC #C9AFFD #EBE1FE
Accessibility & contrast
On white
3.29
#A173FC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.37
#A173FC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A173FC
6.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A173FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A173FC | 1.00 | 3.29 | 6.37 | 6.37 |
| #FFFFFF | 3.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#358EFF
Deuteranopia (green-blind)
#438CF9
Tritanopia (blue-blind)
#8C8FAD
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #a173fc; /* rgb */ color: rgb(161, 115, 252); /* oklch */ color: oklch(66.5% 0.196 296.1);
Tailwind
colors: {
custom: {
50: '#c19cfe',
500: '#a173fc',
950: '#000000',
},
}SCSS
$custom: #a173fc; $custom-light: #c19cfe; $custom-dark: #000000;
JSON
{
"hex": "#a173fc",
"rgb": {
"r": 161,
"g": 115,
"b": 252
},
"hsl": {
"h": 260.146,
"s": 95.804,
"l": 71.961
},
"oklch": {
"l": 0.66489,
"c": 0.19645,
"h": 296.1
},
"luminance": 0.26867
}Semantic roles & 50–950 ramp
primary
#A173FC
secondary
#EBF7D4
accent
#E60098
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86