#A170F7#A170F7
#A170F7 is a light, vivid violet. Relative luminance 0.259; OKLCH L 65.7% C 0.195 H 297.5°. Best body text is #000000 at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #A170F7 |
|---|---|
| RGB | rgb(161, 112, 247) |
| HSL | hsl(262, 89%, 70%) |
| HSV | hsv(262, 55%, 97%) |
| CMYK | cmyk(34.8%, 54.7%, 0%, 3.1%) |
| CIE-LAB | lab(57.92, 47.35, -60.94) |
| CIE-LCH | lch(57.92, 77.18, 307.85°) |
| OKLab | oklab(65.71% 0.09 -0.1726) |
| OKLCH | oklch(65.71% 0.195 297.5) |
| XYZ | xyz(37.2764, 25.8803, 91.0091) |
| Luminance | 0.2588 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.40
Mediumpurple
#9370DB
ΔE00 4.51
Lighter Purple
#A55AF4
ΔE00 5.24
Easter Purple
#C071FE
ΔE00 5.52
Light Purple
#BF77F6
ΔE00 5.99
Periwinkle (survey)
#8E82FE
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A170F7 #C6F770
analogous
#7082F7 #A170F7 #E570F7
triadic
#A170F7 #F7A170 #70F7A1
tetradic
#A170F7 #F77082 #C6F770 #70F7E5
square
#A170F7 #F77082 #C6F770 #70F7E5
split-complementary
#A170F7 #F7E570 #82F770
monochromatic
#590DE0 #7B36F4 #A170F7 #C7AAFA #ECE2FD
Accessibility & contrast
On white
3.40
#A170F7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.18
#A170F7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A170F7
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A170F7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A170F7 | 1.00 | 3.40 | 6.18 | 6.18 |
| #FFFFFF | 3.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#348CFC
Deuteranopia (green-blind)
#448AF4
Tritanopia (blue-blind)
#8E8BA9
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #a170f7; /* rgb */ color: rgb(161, 112, 247); /* oklch */ color: oklch(65.7% 0.195 297.5);
Tailwind
colors: {
custom: {
50: '#c19afa',
500: '#a170f7',
950: '#000000',
},
}SCSS
$custom: #a170f7; $custom-light: #c19afa; $custom-dark: #000000;
JSON
{
"hex": "#a170f7",
"rgb": {
"r": 161,
"g": 112,
"b": 247
},
"hsl": {
"h": 261.778,
"s": 89.404,
"l": 70.392
},
"oklch": {
"l": 0.6571,
"c": 0.19467,
"h": 297.5
},
"luminance": 0.25881
}Semantic roles & 50–950 ramp
primary
#A170F7
secondary
#E6F4CF
accent
#E60092
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85