#A173F4#A173F4
#A173F4 is a light, vivid violet. Relative luminance 0.264; OKLCH L 66.0% C 0.187 H 297.5°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #A173F4 |
|---|---|
| RGB | rgb(161, 115, 244) |
| HSL | hsl(261, 85%, 70%) |
| HSV | hsv(261, 53%, 96%) |
| CMYK | cmyk(34%, 52.9%, 0%, 4.3%) |
| CIE-LAB | lab(58.39, 44.96, -58.54) |
| CIE-LCH | lch(58.39, 73.81, 307.52°) |
| OKLab | oklab(66% 0.0862 -0.1656) |
| OKLCH | oklch(66% 0.187 297.5) |
| XYZ | xyz(37.1538, 26.3697, 88.7028) |
| Luminance | 0.2637 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.45
Mediumpurple
#9370DB
ΔE00 4.23
Easter Purple
#C071FE
ΔE00 5.51
Light Purple
#BF77F6
ΔE00 5.73
Lighter Purple
#A55AF4
ΔE00 5.96
Periwinkle (survey)
#8E82FE
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A173F4 #C6F473
analogous
#7386F4 #A173F4 #E173F4
triadic
#A173F4 #F4A173 #73F4A1
tetradic
#A173F4 #F47386 #C6F473 #73F4E1
square
#A173F4 #F47386 #C6F473 #73F4E1
split-complementary
#A173F4 #F4E173 #86F473
monochromatic
#5911DB #7B3AF0 #A173F4 #C7ACF8 #ECE3FD
Accessibility & contrast
On white
3.35
#A173F4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.27
#A173F4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A173F4
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A173F4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A173F4 | 1.00 | 3.35 | 6.27 | 6.27 |
| #FFFFFF | 3.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F8DF8
Deuteranopia (green-blind)
#4C8BF1
Tritanopia (blue-blind)
#8E8DA9
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #a173f4; /* rgb */ color: rgb(161, 115, 244); /* oklch */ color: oklch(66.0% 0.187 297.5);
Tailwind
colors: {
custom: {
50: '#c19cf8',
500: '#a173f4',
950: '#000000',
},
}SCSS
$custom: #a173f4; $custom-light: #c19cf8; $custom-dark: #000000;
JSON
{
"hex": "#a173f4",
"rgb": {
"r": 161,
"g": 115,
"b": 244
},
"hsl": {
"h": 261.395,
"s": 85.43,
"l": 70.392
},
"oklch": {
"l": 0.65997,
"c": 0.18667,
"h": 297.5
},
"luminance": 0.2637
}Semantic roles & 50–950 ramp
primary
#A173F4
secondary
#E6F3D0
accent
#E20493
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85