#A172E9#A172E9
#A172E9 is a light, vivid violet. Relative luminance 0.255; OKLCH L 65.2% C 0.175 H 299.8°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).
Color values
| HEX | #A172E9 |
|---|---|
| RGB | rgb(161, 114, 233) |
| HSL | hsl(264, 73%, 68%) |
| HSV | hsv(264, 51%, 91%) |
| CMYK | cmyk(30.9%, 51.1%, 0%, 8.6%) |
| CIE-LAB | lab(57.55, 42.77, -53.75) |
| CIE-LCH | lch(57.55, 68.69, 308.51°) |
| OKLab | oklab(65.18% 0.0868 -0.1515) |
| OKLCH | oklch(65.18% 0.175 299.8) |
| XYZ | xyz(35.4198, 25.4946, 80.1299) |
| Luminance | 0.2550 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.15
Light Urple
#B36FF6
ΔE00 3.50
Light Purple
#BF77F6
ΔE00 5.67
Easter Purple
#C071FE
ΔE00 5.75
Lighter Purple
#A55AF4
ΔE00 5.82
Periwinkle (survey)
#8E82FE
ΔE00 7.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A172E9 #BAE972
analogous
#727FE9 #A172E9 #DC72E9
triadic
#A172E9 #E9A172 #72E9A1
tetradic
#A172E9 #E9727F #BAE972 #72E9DC
square
#A172E9 #E9727F #BAE972 #72E9DC
split-complementary
#A172E9 #E9DC72 #7FE972
monochromatic
#5F1EC2 #7E3DE1 #A172E9 #C4A7F1 #E8DCFA
Accessibility & contrast
On white
3.44
#A172E9 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.10
#A172E9 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A172E9
6.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A172E9 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A172E9 | 1.00 | 3.44 | 6.10 | 6.10 |
| #FFFFFF | 3.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#488AED
Deuteranopia (green-blind)
#5589E6
Tritanopia (blue-blind)
#9289A3
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #a172e9; /* rgb */ color: rgb(161, 114, 233); /* oklch */ color: oklch(65.2% 0.175 299.8);
Tailwind
colors: {
custom: {
50: '#c09cf0',
500: '#a172e9',
950: '#000000',
},
}SCSS
$custom: #a172e9; $custom-light: #c09cf0; $custom-dark: #000000;
JSON
{
"hex": "#a172e9",
"rgb": {
"r": 161,
"g": 114,
"b": 233
},
"hsl": {
"h": 263.697,
"s": 73.006,
"l": 68.039
},
"oklch": {
"l": 0.6518,
"c": 0.17465,
"h": 299.8
},
"luminance": 0.25495
}Semantic roles & 50–950 ramp
primary
#A172E9
secondary
#DFEEC9
accent
#D51087
background
#FCF9FE
surface
#F8F2FD
border
#D1CCD5
text
#130E17
muted
#827E85