#A170F3#A170F3
#A170F3 is a light, vivid violet. Relative luminance 0.256; OKLCH L 65.5% C 0.190 H 298.3°. Best body text is #000000 at 6.13:1 contrast (WCAG AA passes).
Color values
| HEX | #A170F3 |
|---|---|
| RGB | rgb(161, 112, 243) |
| HSL | hsl(262, 85%, 70%) |
| HSV | hsv(262, 54%, 95%) |
| CMYK | cmyk(33.7%, 53.9%, 0%, 4.7%) |
| CIE-LAB | lab(57.69, 46.35, -59.10) |
| CIE-LCH | lch(57.69, 75.11, 308.11°) |
| OKLab | oklab(65.46% 0.0899 -0.1672) |
| OKLCH | oklch(65.46% 0.19 298.3) |
| XYZ | xyz(36.6658, 25.6361, 87.7932) |
| Luminance | 0.2564 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.29
Mediumpurple
#9370DB
ΔE00 4.06
Lighter Purple
#A55AF4
ΔE00 5.17
Easter Purple
#C071FE
ΔE00 5.53
Light Purple
#BF77F6
ΔE00 5.88
Periwinkle (survey)
#8E82FE
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A170F3 #C2F370
analogous
#7081F3 #A170F3 #E370F3
triadic
#A170F3 #F3A170 #70F3A1
tetradic
#A170F3 #F37081 #C2F370 #70F3E3
square
#A170F3 #F37081 #C2F370 #70F3E3
split-complementary
#A170F3 #F3E370 #81F370
monochromatic
#5C12D7 #7C38EE #A170F3 #C6A8F8 #EBE1FC
Accessibility & contrast
On white
3.43
#A170F3 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.13
#A170F3 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A170F3
6.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A170F3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A170F3 | 1.00 | 3.43 | 6.13 | 6.13 |
| #FFFFFF | 3.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#398BF7
Deuteranopia (green-blind)
#4989F0
Tritanopia (blue-blind)
#8F8AA7
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #a170f3; /* rgb */ color: rgb(161, 112, 243); /* oklch */ color: oklch(65.5% 0.190 298.3);
Tailwind
colors: {
custom: {
50: '#c19af8',
500: '#a170f3',
950: '#000000',
},
}SCSS
$custom: #a170f3; $custom-light: #c19af8; $custom-dark: #000000;
JSON
{
"hex": "#a170f3",
"rgb": {
"r": 161,
"g": 112,
"b": 243
},
"hsl": {
"h": 262.443,
"s": 84.516,
"l": 69.608
},
"oklch": {
"l": 0.65463,
"c": 0.18984,
"h": 298.3
},
"luminance": 0.25636
}Semantic roles & 50–950 ramp
primary
#A170F3
secondary
#E4F2CD
accent
#E1058F
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85