#A170F6#A170F6
#A170F6 is a light, vivid violet. Relative luminance 0.258; OKLCH L 65.6% C 0.193 H 297.7°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).
Color values
| HEX | #A170F6 |
|---|---|
| RGB | rgb(161, 112, 246) |
| HSL | hsl(262, 88%, 70%) |
| HSV | hsv(262, 54%, 96%) |
| CMYK | cmyk(34.6%, 54.5%, 0%, 3.5%) |
| CIE-LAB | lab(57.86, 47.10, -60.48) |
| CIE-LCH | lch(57.86, 76.66, 307.91°) |
| OKLab | oklab(65.65% 0.09 -0.1713) |
| OKLCH | oklch(65.65% 0.193 297.7) |
| XYZ | xyz(37.1225, 25.8187, 90.1986) |
| Luminance | 0.2582 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.37
Mediumpurple
#9370DB
ΔE00 4.39
Lighter Purple
#A55AF4
ΔE00 5.22
Easter Purple
#C071FE
ΔE00 5.52
Light Purple
#BF77F6
ΔE00 5.96
Periwinkle (survey)
#8E82FE
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A170F6 #C5F670
analogous
#7082F6 #A170F6 #E470F6
triadic
#A170F6 #F6A170 #70F6A1
tetradic
#A170F6 #F67082 #C5F670 #70F6E4
square
#A170F6 #F67082 #C5F670 #70F6E4
split-complementary
#A170F6 #F6E470 #82F670
monochromatic
#5A0EDE #7B36F2 #A170F6 #C7AAFA #ECE2FD
Accessibility & contrast
On white
3.41
#A170F6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.16
#A170F6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A170F6
6.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A170F6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A170F6 | 1.00 | 3.41 | 6.16 | 6.16 |
| #FFFFFF | 3.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#358BFA
Deuteranopia (green-blind)
#458AF3
Tritanopia (blue-blind)
#8E8BA8
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #a170f6; /* rgb */ color: rgb(161, 112, 246); /* oklch */ color: oklch(65.6% 0.193 297.7);
Tailwind
colors: {
custom: {
50: '#c19afa',
500: '#a170f6',
950: '#000000',
},
}SCSS
$custom: #a170f6; $custom-light: #c19afa; $custom-dark: #000000;
JSON
{
"hex": "#a170f6",
"rgb": {
"r": 161,
"g": 112,
"b": 246
},
"hsl": {
"h": 261.94,
"s": 88.158,
"l": 70.196
},
"oklch": {
"l": 0.65648,
"c": 0.19346,
"h": 297.7
},
"luminance": 0.25819
}Semantic roles & 50–950 ramp
primary
#A170F6
secondary
#E6F3CE
accent
#E50191
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85