#A17FE5#A17FE5
#A17FE5 is a light, vivid violet. Relative luminance 0.284; OKLCH L 67.1% C 0.150 H 297.6°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).
Color values
| HEX | #A17FE5 |
|---|---|
| RGB | rgb(161, 127, 229) |
| HSL | hsl(260, 66%, 70%) |
| HSV | hsv(260, 45%, 90%) |
| CMYK | cmyk(29.7%, 44.5%, 0%, 10.2%) |
| CIE-LAB | lab(60.26, 34.48, -47.23) |
| CIE-LCH | lch(60.26, 58.47, 306.14°) |
| OKLab | oklab(67.14% 0.0693 -0.1325) |
| OKLCH | oklch(67.14% 0.15 297.6) |
| XYZ | xyz(36.4268, 28.4126, 77.6786) |
| Luminance | 0.2841 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 4.91
Light Urple
#B36FF6
ΔE00 5.75
Light Purple
#BF77F6
ΔE00 6.22
Periwinkle (survey)
#8E82FE
ΔE00 6.22
Perrywinkle
#8F8CE7
ΔE00 6.42
Lavender Blue
#8B88F8
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A17FE5 #C3E57F
analogous
#7F90E5 #A17FE5 #D47FE5
triadic
#A17FE5 #E5A17F #7FE5A1
tetradic
#A17FE5 #E57F90 #C3E57F #7FE5D4
square
#A17FE5 #E57F90 #C3E57F #7FE5D4
split-complementary
#A17FE5 #E5D47F #90E57F
monochromatic
#5B27C2 #7C4CDB #A17FE5 #C6B2EF #ECE5FA
Accessibility & contrast
On white
3.14
#A17FE5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.68
#A17FE5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A17FE5
6.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A17FE5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A17FE5 | 1.00 | 3.14 | 6.68 | 6.68 |
| #FFFFFF | 3.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6092E9
Deuteranopia (green-blind)
#6790E2
Tritanopia (blue-blind)
#9391A7
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #a17fe5; /* rgb */ color: rgb(161, 127, 229); /* oklch */ color: oklch(67.1% 0.150 297.6);
Tailwind
colors: {
custom: {
50: '#bfa4ed',
500: '#a17fe5',
950: '#000000',
},
}SCSS
$custom: #a17fe5; $custom-light: #bfa4ed; $custom-dark: #000000;
JSON
{
"hex": "#a17fe5",
"rgb": {
"r": 161,
"g": 127,
"b": 229
},
"hsl": {
"h": 260,
"s": 66.234,
"l": 69.804
},
"oklch": {
"l": 0.67135,
"c": 0.14953,
"h": 297.6
},
"luminance": 0.28413
}Semantic roles & 50–950 ramp
primary
#A17FE5
secondary
#E5EED1
accent
#CE1791
background
#FCFAFE
surface
#F8F4FD
border
#D1CED5
text
#120F16
muted
#817F84