#A173F7#A173F7
#A173F7 is a light, vivid violet. Relative luminance 0.266; OKLCH L 66.2% C 0.190 H 297.0°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).
Color values
| HEX | #A173F7 |
|---|---|
| RGB | rgb(161, 115, 247) |
| HSL | hsl(261, 89%, 71%) |
| HSV | hsv(261, 53%, 97%) |
| CMYK | cmyk(34.8%, 53.4%, 0%, 3.1%) |
| CIE-LAB | lab(58.56, 45.71, -59.92) |
| CIE-LCH | lch(58.56, 75.37, 307.34°) |
| OKLab | oklab(66.18% 0.0863 -0.1696) |
| OKLCH | oklch(66.18% 0.19 297) |
| XYZ | xyz(37.6130, 26.5534, 91.1213) |
| Luminance | 0.2655 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.54
Mediumpurple
#9370DB
ΔE00 4.57
Easter Purple
#C071FE
ΔE00 5.52
Light Purple
#BF77F6
ΔE00 5.82
Lighter Purple
#A55AF4
ΔE00 6.00
Periwinkle (survey)
#8E82FE
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A173F7 #C9F773
analogous
#7387F7 #A173F7 #E373F7
triadic
#A173F7 #F7A173 #73F7A1
tetradic
#A173F7 #F77387 #C9F773 #73F7E3
square
#A173F7 #F77387 #C9F773 #73F7E3
split-complementary
#A173F7 #F7E373 #87F773
monochromatic
#570DE3 #7A39F4 #A173F7 #C8ADFA #ECE2FD
Accessibility & contrast
On white
3.33
#A173F7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.31
#A173F7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A173F7
6.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A173F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A173F7 | 1.00 | 3.33 | 6.31 | 6.31 |
| #FFFFFF | 3.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B8DFB
Deuteranopia (green-blind)
#498BF4
Tritanopia (blue-blind)
#8D8EAA
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #a173f7; /* rgb */ color: rgb(161, 115, 247); /* oklch */ color: oklch(66.2% 0.190 297.0);
Tailwind
colors: {
custom: {
50: '#c19cfa',
500: '#a173f7',
950: '#000000',
},
}SCSS
$custom: #a173f7; $custom-light: #c19cfa; $custom-dark: #000000;
JSON
{
"hex": "#a173f7",
"rgb": {
"r": 161,
"g": 115,
"b": 247
},
"hsl": {
"h": 260.909,
"s": 89.189,
"l": 70.98
},
"oklch": {
"l": 0.6618,
"c": 0.19035,
"h": 297
},
"luminance": 0.26554
}Semantic roles & 50–950 ramp
primary
#A173F7
secondary
#E8F4D1
accent
#E60096
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85