#A173F5#A173F5
#A173F5 is a light, vivid violet. Relative luminance 0.264; OKLCH L 66.1% C 0.188 H 297.3°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).
Color values
| HEX | #A173F5 |
|---|---|
| RGB | rgb(161, 115, 245) |
| HSL | hsl(261, 87%, 71%) |
| HSV | hsv(261, 53%, 96%) |
| CMYK | cmyk(34.3%, 53.1%, 0%, 3.9%) |
| CIE-LAB | lab(58.44, 45.21, -59.00) |
| CIE-LCH | lch(58.44, 74.33, 307.46°) |
| OKLab | oklab(66.06% 0.0862 -0.1669) |
| OKLCH | oklch(66.06% 0.188 297.3) |
| XYZ | xyz(37.3060, 26.4306, 89.5046) |
| Luminance | 0.2643 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.47
Mediumpurple
#9370DB
ΔE00 4.34
Easter Purple
#C071FE
ΔE00 5.51
Light Purple
#BF77F6
ΔE00 5.76
Lighter Purple
#A55AF4
ΔE00 5.97
Periwinkle (survey)
#8E82FE
ΔE00 6.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A173F5 #C7F573
analogous
#7386F5 #A173F5 #E273F5
triadic
#A173F5 #F5A173 #73F5A1
tetradic
#A173F5 #F57386 #C7F573 #73F5E2
square
#A173F5 #F57386 #C7F573 #73F5E2
split-complementary
#A173F5 #F5E273 #86F573
monochromatic
#5910DE #7B3AF1 #A173F5 #C7ACF9 #ECE2FD
Accessibility & contrast
On white
3.34
#A173F5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.29
#A173F5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A173F5
6.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A173F5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A173F5 | 1.00 | 3.34 | 6.29 | 6.29 |
| #FFFFFF | 3.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E8DF9
Deuteranopia (green-blind)
#4B8BF2
Tritanopia (blue-blind)
#8E8DA9
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #a173f5; /* rgb */ color: rgb(161, 115, 245); /* oklch */ color: oklch(66.1% 0.188 297.3);
Tailwind
colors: {
custom: {
50: '#c19cf9',
500: '#a173f5',
950: '#000000',
},
}SCSS
$custom: #a173f5; $custom-light: #c19cf9; $custom-dark: #000000;
JSON
{
"hex": "#a173f5",
"rgb": {
"r": 161,
"g": 115,
"b": 245
},
"hsl": {
"h": 261.231,
"s": 86.667,
"l": 70.588
},
"oklch": {
"l": 0.66057,
"c": 0.1879,
"h": 297.3
},
"luminance": 0.26431
}Semantic roles & 50–950 ramp
primary
#A173F5
secondary
#E7F4D0
accent
#E30294
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85