#A170F2#A170F2
#A170F2 is a light, vivid violet. Relative luminance 0.256; OKLCH L 65.4% C 0.189 H 298.4°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).
Color values
| HEX | #A170F2 |
|---|---|
| RGB | rgb(161, 112, 242) |
| HSL | hsl(263, 83%, 69%) |
| HSV | hsv(263, 54%, 95%) |
| CMYK | cmyk(33.5%, 53.7%, 0%, 5.1%) |
| CIE-LAB | lab(57.63, 46.10, -58.64) |
| CIE-LCH | lch(57.63, 74.59, 308.18°) |
| OKLab | oklab(65.4% 0.0898 -0.1659) |
| OKLCH | oklch(65.4% 0.189 298.4) |
| XYZ | xyz(36.5152, 25.5758, 87.0000) |
| Luminance | 0.2558 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.28
Mediumpurple
#9370DB
ΔE00 3.95
Lighter Purple
#A55AF4
ΔE00 5.17
Easter Purple
#C071FE
ΔE00 5.53
Light Purple
#BF77F6
ΔE00 5.85
Bright Lavender
#C760FF
ΔE00 6.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A170F2 #C1F270
analogous
#7080F2 #A170F2 #E270F2
triadic
#A170F2 #F2A170 #70F2A1
tetradic
#A170F2 #F27080 #C1F270 #70F2E2
square
#A170F2 #F27080 #C1F270 #70F2E2
split-complementary
#A170F2 #F2E270 #80F270
monochromatic
#5C13D4 #7C38ED #A170F2 #C6A8F7 #EBE0FC
Accessibility & contrast
On white
3.43
#A170F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.12
#A170F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A170F2
6.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A170F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A170F2 | 1.00 | 3.43 | 6.12 | 6.12 |
| #FFFFFF | 3.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A8BF6
Deuteranopia (green-blind)
#4A89EF
Tritanopia (blue-blind)
#8F8AA6
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #a170f2; /* rgb */ color: rgb(161, 112, 242); /* oklch */ color: oklch(65.4% 0.189 298.4);
Tailwind
colors: {
custom: {
50: '#c19af7',
500: '#a170f2',
950: '#000000',
},
}SCSS
$custom: #a170f2; $custom-light: #c19af7; $custom-dark: #000000;
JSON
{
"hex": "#a170f2",
"rgb": {
"r": 161,
"g": 112,
"b": 242
},
"hsl": {
"h": 262.615,
"s": 83.333,
"l": 69.412
},
"oklch": {
"l": 0.65402,
"c": 0.18863,
"h": 298.4
},
"luminance": 0.25576
}Semantic roles & 50–950 ramp
primary
#A170F2
secondary
#E4F2CC
accent
#E0068E
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85