#A173F0#A173F0
#A173F0 is a light, vivid violet. Relative luminance 0.261; OKLCH L 65.8% C 0.182 H 298.2°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).
Color values
| HEX | #A173F0 |
|---|---|
| RGB | rgb(161, 115, 240) |
| HSL | hsl(262, 81%, 70%) |
| HSV | hsv(262, 52%, 94%) |
| CMYK | cmyk(32.9%, 52.1%, 0%, 5.9%) |
| CIE-LAB | lab(58.16, 43.95, -56.68) |
| CIE-LCH | lch(58.16, 71.73, 307.79°) |
| OKLab | oklab(65.76% 0.086 -0.1601) |
| OKLCH | oklch(65.76% 0.182 298.2) |
| XYZ | xyz(36.5530, 26.1294, 85.5389) |
| Luminance | 0.2613 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.40
Mediumpurple
#9370DB
ΔE00 3.81
Easter Purple
#C071FE
ΔE00 5.55
Light Purple
#BF77F6
ΔE00 5.64
Lighter Purple
#A55AF4
ΔE00 5.95
Periwinkle (survey)
#8E82FE
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A173F0 #C2F073
analogous
#7384F0 #A173F0 #E073F0
triadic
#A173F0 #F0A173 #73F0A1
tetradic
#A173F0 #F07384 #C2F073 #73F0E0
square
#A173F0 #F07384 #C2F073 #73F0E0
split-complementary
#A173F0 #F0E073 #84F073
monochromatic
#5C17D2 #7C3CEA #A173F0 #C6AAF6 #EBE2FC
Accessibility & contrast
On white
3.37
#A173F0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.23
#A173F0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A173F0
6.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A173F0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A173F0 | 1.00 | 3.37 | 6.23 | 6.23 |
| #FFFFFF | 3.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#438CF4
Deuteranopia (green-blind)
#508BED
Tritanopia (blue-blind)
#908CA7
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #a173f0; /* rgb */ color: rgb(161, 115, 240); /* oklch */ color: oklch(65.8% 0.182 298.2);
Tailwind
colors: {
custom: {
50: '#c09cf5',
500: '#a173f0',
950: '#000000',
},
}SCSS
$custom: #a173f0; $custom-light: #c09cf5; $custom-dark: #000000;
JSON
{
"hex": "#a173f0",
"rgb": {
"r": 161,
"g": 115,
"b": 240
},
"hsl": {
"h": 262.08,
"s": 80.645,
"l": 69.608
},
"oklch": {
"l": 0.65755,
"c": 0.18177,
"h": 298.2
},
"luminance": 0.2613
}Semantic roles & 50–950 ramp
primary
#A173F0
secondary
#E4F1CE
accent
#DD098F
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85