#A170F4#A170F4
#A170F4 is a light, vivid violet. Relative luminance 0.257; OKLCH L 65.5% C 0.191 H 298.1°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).
Color values
| HEX | #A170F4 |
|---|---|
| RGB | rgb(161, 112, 244) |
| HSL | hsl(262, 86%, 70%) |
| HSV | hsv(262, 54%, 96%) |
| CMYK | cmyk(34%, 54.1%, 0%, 4.3%) |
| CIE-LAB | lab(57.75, 46.60, -59.56) |
| CIE-LCH | lch(57.75, 75.63, 308.04°) |
| OKLab | oklab(65.53% 0.0899 -0.1686) |
| OKLCH | oklch(65.53% 0.191 298.1) |
| XYZ | xyz(36.8172, 25.6966, 88.5906) |
| Luminance | 0.2570 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.31
Mediumpurple
#9370DB
ΔE00 4.17
Lighter Purple
#A55AF4
ΔE00 5.19
Easter Purple
#C071FE
ΔE00 5.52
Light Purple
#BF77F6
ΔE00 5.90
Periwinkle (survey)
#8E82FE
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A170F4 #C3F470
analogous
#7081F4 #A170F4 #E370F4
triadic
#A170F4 #F4A170 #70F4A1
tetradic
#A170F4 #F47081 #C3F470 #70F4E3
square
#A170F4 #F47081 #C3F470 #70F4E3
split-complementary
#A170F4 #F4E370 #81F470
monochromatic
#5B11D9 #7C37F0 #A170F4 #C6A9F8 #ECE2FD
Accessibility & contrast
On white
3.42
#A170F4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.14
#A170F4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A170F4
6.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A170F4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A170F4 | 1.00 | 3.42 | 6.14 | 6.14 |
| #FFFFFF | 3.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#388BF8
Deuteranopia (green-blind)
#4889F1
Tritanopia (blue-blind)
#8F8BA7
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #a170f4; /* rgb */ color: rgb(161, 112, 244); /* oklch */ color: oklch(65.5% 0.191 298.1);
Tailwind
colors: {
custom: {
50: '#c19af8',
500: '#a170f4',
950: '#000000',
},
}SCSS
$custom: #a170f4; $custom-light: #c19af8; $custom-dark: #000000;
JSON
{
"hex": "#a170f4",
"rgb": {
"r": 161,
"g": 112,
"b": 244
},
"hsl": {
"h": 262.273,
"s": 85.714,
"l": 69.804
},
"oklch": {
"l": 0.65525,
"c": 0.19105,
"h": 298.1
},
"luminance": 0.25697
}Semantic roles & 50–950 ramp
primary
#A170F4
secondary
#E5F3CD
accent
#E2038F
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85