#A170F0#A170F0
#A170F0 is a light, vivid violet. Relative luminance 0.255; OKLCH L 65.3% C 0.186 H 298.8°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #A170F0 |
|---|---|
| RGB | rgb(161, 112, 240) |
| HSL | hsl(263, 81%, 69%) |
| HSV | hsv(263, 53%, 94%) |
| CMYK | cmyk(32.9%, 53.3%, 0%, 5.9%) |
| CIE-LAB | lab(57.52, 45.60, -57.71) |
| CIE-LCH | lch(57.52, 73.55, 308.32°) |
| OKLab | oklab(65.28% 0.0897 -0.1631) |
| OKLCH | oklch(65.28% 0.186 298.8) |
| XYZ | xyz(36.2165, 25.4563, 85.4267) |
| Luminance | 0.2546 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.27
Mediumpurple
#9370DB
ΔE00 3.74
Lighter Purple
#A55AF4
ΔE00 5.17
Easter Purple
#C071FE
ΔE00 5.56
Light Purple
#BF77F6
ΔE00 5.82
Bright Lavender
#C760FF
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A170F0 #BFF070
analogous
#707FF0 #A170F0 #E170F0
triadic
#A170F0 #F0A170 #70F0A1
tetradic
#A170F0 #F0707F #BFF070 #70F0E1
square
#A170F0 #F0707F #BFF070 #70F0E1
split-complementary
#A170F0 #F0E170 #7FF070
monochromatic
#5D16D0 #7D39EA #A170F0 #C5A7F6 #EADFFC
Accessibility & contrast
On white
3.45
#A170F0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.09
#A170F0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A170F0
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A170F0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A170F0 | 1.00 | 3.45 | 6.09 | 6.09 |
| #FFFFFF | 3.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D8AF4
Deuteranopia (green-blind)
#4C89ED
Tritanopia (blue-blind)
#9089A5
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #a170f0; /* rgb */ color: rgb(161, 112, 240); /* oklch */ color: oklch(65.3% 0.186 298.8);
Tailwind
colors: {
custom: {
50: '#c19af5',
500: '#a170f0',
950: '#000000',
},
}SCSS
$custom: #a170f0; $custom-light: #c19af5; $custom-dark: #000000;
JSON
{
"hex": "#a170f0",
"rgb": {
"r": 161,
"g": 112,
"b": 240
},
"hsl": {
"h": 262.969,
"s": 81.013,
"l": 69.02
},
"oklch": {
"l": 0.6528,
"c": 0.1862,
"h": 298.8
},
"luminance": 0.25457
}Semantic roles & 50–950 ramp
primary
#A170F0
secondary
#E2F1CB
accent
#DD088C
background
#FCF9FF
surface
#F8F2FE
border
#D1CCD6
text
#130E17
muted
#827E85