#A17FF7#A17FF7
#A17FF7 is a light, vivid violet. Relative luminance 0.295; OKLCH L 68.1% C 0.173 H 294.4°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).
Color values
| HEX | #A17FF7 |
|---|---|
| RGB | rgb(161, 127, 247) |
| HSL | hsl(257, 88%, 73%) |
| HSV | hsv(257, 49%, 97%) |
| CMYK | cmyk(34.8%, 48.6%, 0%, 3.1%) |
| CIE-LAB | lab(61.19, 39.04, -55.71) |
| CIE-LCH | lch(61.19, 68.03, 305.02°) |
| OKLab | oklab(68.14% 0.0714 -0.1573) |
| OKLCH | oklch(68.14% 0.173 294.4) |
| XYZ | xyz(39.0715, 29.4705, 91.6075) |
| Luminance | 0.2947 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 4.28
Light Urple
#B36FF6
ΔE00 5.46
Lavender Blue
#8B88F8
ΔE00 5.69
Mediumpurple
#9370DB
ΔE00 5.95
Light Purple
#BF77F6
ΔE00 6.29
Perrywinkle
#8F8CE7
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A17FF7 #D5F77F
analogous
#7F99F7 #A17FF7 #DD7FF7
triadic
#A17FF7 #F7A17F #7FF7A1
tetradic
#A17FF7 #F77F99 #D5F77F #7FF7DD
square
#A17FF7 #F77F99 #D5F77F #7FF7DD
split-complementary
#A17FF7 #F7DD7F #99F77F
monochromatic
#4E0FED #7745F3 #A17FF7 #CBB9FB #EAE2FD
Accessibility & contrast
On white
3.05
#A17FF7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.89
#A17FF7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A17FF7
6.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A17FF7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A17FF7 | 1.00 | 3.05 | 6.89 | 6.89 |
| #FFFFFF | 3.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5395FB
Deuteranopia (green-blind)
#5A92F4
Tritanopia (blue-blind)
#8D96AF
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #a17ff7; /* rgb */ color: rgb(161, 127, 247); /* oklch */ color: oklch(68.1% 0.173 294.4);
Tailwind
colors: {
custom: {
50: '#c0a5fa',
500: '#a17ff7',
950: '#000000',
},
}SCSS
$custom: #a17ff7; $custom-light: #c0a5fa; $custom-dark: #000000;
JSON
{
"hex": "#a17ff7",
"rgb": {
"r": 161,
"g": 127,
"b": 247
},
"hsl": {
"h": 257,
"s": 88.235,
"l": 73.333
},
"oklch": {
"l": 0.6814,
"c": 0.17276,
"h": 294.4
},
"luminance": 0.29471
}Semantic roles & 50–950 ramp
primary
#A17FF7
secondary
#ECF5D6
accent
#E501A4
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#130F17
muted
#827F85