#A170F8#A170F8
#A170F8 is a light, vivid violet. Relative luminance 0.259; OKLCH L 65.8% C 0.196 H 297.4°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).
Color values
| HEX | #A170F8 |
|---|---|
| RGB | rgb(161, 112, 248) |
| HSL | hsl(262, 91%, 71%) |
| HSV | hsv(262, 55%, 97%) |
| CMYK | cmyk(35.1%, 54.8%, 0%, 2.7%) |
| CIE-LAB | lab(57.98, 47.61, -61.40) |
| CIE-LCH | lch(57.98, 77.69, 307.79°) |
| OKLab | oklab(65.77% 0.09 -0.174) |
| OKLCH | oklch(65.77% 0.196 297.4) |
| XYZ | xyz(37.4311, 25.9422, 91.8240) |
| Luminance | 0.2594 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.44
Mediumpurple
#9370DB
ΔE00 4.62
Lighter Purple
#A55AF4
ΔE00 5.27
Easter Purple
#C071FE
ΔE00 5.53
Light Purple
#BF77F6
ΔE00 6.02
Periwinkle (survey)
#8E82FE
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A170F8 #C7F870
analogous
#7083F8 #A170F8 #E570F8
triadic
#A170F8 #F8A170 #70F8A1
tetradic
#A170F8 #F87083 #C7F870 #70F8E5
square
#A170F8 #F87083 #C7F870 #70F8E5
split-complementary
#A170F8 #F8E570 #83F870
monochromatic
#590BE3 #7B36F5 #A170F8 #C7AAFB #ECE2FE
Accessibility & contrast
On white
3.39
#A170F8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.19
#A170F8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A170F8
6.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A170F8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A170F8 | 1.00 | 3.39 | 6.19 | 6.19 |
| #FFFFFF | 3.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#338CFD
Deuteranopia (green-blind)
#438AF5
Tritanopia (blue-blind)
#8D8CA9
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #a170f8; /* rgb */ color: rgb(161, 112, 248); /* oklch */ color: oklch(65.8% 0.196 297.4);
Tailwind
colors: {
custom: {
50: '#c19afb',
500: '#a170f8',
950: '#000000',
},
}SCSS
$custom: #a170f8; $custom-light: #c19afb; $custom-dark: #000000;
JSON
{
"hex": "#a170f8",
"rgb": {
"r": 161,
"g": 112,
"b": 248
},
"hsl": {
"h": 261.618,
"s": 90.667,
"l": 70.588
},
"oklch": {
"l": 0.65773,
"c": 0.19588,
"h": 297.4
},
"luminance": 0.25943
}Semantic roles & 50–950 ramp
primary
#A170F8
secondary
#E7F4CF
accent
#E60093
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85