#A172FA#A172FA
#A172FA is a light, vivid violet. Relative luminance 0.265; OKLCH L 66.2% C 0.195 H 296.6°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #A172FA |
|---|---|
| RGB | rgb(161, 114, 250) |
| HSL | hsl(261, 93%, 71%) |
| HSV | hsv(261, 54%, 98%) |
| CMYK | cmyk(35.6%, 54.4%, 0%, 2%) |
| CIE-LAB | lab(58.52, 47.02, -61.64) |
| CIE-LCH | lch(58.52, 77.53, 307.34°) |
| OKLab | oklab(66.21% 0.0877 -0.1747) |
| OKLCH | oklch(66.21% 0.195 296.6) |
| XYZ | xyz(37.9662, 26.5132, 93.5412) |
| Luminance | 0.2651 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.61
Mediumpurple
#9370DB
ΔE00 4.89
Easter Purple
#C071FE
ΔE00 5.54
Lighter Purple
#A55AF4
ΔE00 5.83
Light Purple
#BF77F6
ΔE00 5.99
Periwinkle (survey)
#8E82FE
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A172FA #CBFA72
analogous
#7287FA #A172FA #E572FA
triadic
#A172FA #FAA172 #72FAA1
tetradic
#A172FA #FA7287 #CBFA72 #72FAE5
square
#A172FA #FA7287 #CBFA72 #72FAE5
split-complementary
#A172FA #FAE572 #87FA72
monochromatic
#5608E9 #7A37F8 #A172FA #C8ADFC #EBE1FE
Accessibility & contrast
On white
3.33
#A172FA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.30
#A172FA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A172FA
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A172FA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A172FA | 1.00 | 3.33 | 6.30 | 6.30 |
| #FFFFFF | 3.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#358DFF
Deuteranopia (green-blind)
#448BF7
Tritanopia (blue-blind)
#8C8EAB
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #a172fa; /* rgb */ color: rgb(161, 114, 250); /* oklch */ color: oklch(66.2% 0.195 296.6);
Tailwind
colors: {
custom: {
50: '#c19cfd',
500: '#a172fa',
950: '#000000',
},
}SCSS
$custom: #a172fa; $custom-light: #c19cfd; $custom-dark: #000000;
JSON
{
"hex": "#a172fa",
"rgb": {
"r": 161,
"g": 114,
"b": 250
},
"hsl": {
"h": 260.735,
"s": 93.151,
"l": 71.373
},
"oklch": {
"l": 0.66208,
"c": 0.19545,
"h": 296.6
},
"luminance": 0.26514
}Semantic roles & 50–950 ramp
primary
#A172FA
secondary
#E9F6D2
accent
#E60096
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86