#A17BF7#A17BF7
#A17BF7 is a light, vivid violet. Relative luminance 0.285; OKLCH L 67.5% C 0.179 H 295.3°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).
Color values
| HEX | #A17BF7 |
|---|---|
| RGB | rgb(161, 123, 247) |
| HSL | hsl(258, 89%, 73%) |
| HSV | hsv(258, 50%, 97%) |
| CMYK | cmyk(34.8%, 50.2%, 0%, 3.1%) |
| CIE-LAB | lab(60.30, 41.28, -57.14) |
| CIE-LCH | lch(60.30, 70.49, 305.85°) |
| OKLab | oklab(67.47% 0.0765 -0.1615) |
| OKLCH | oklch(67.47% 0.179 295.3) |
| XYZ | xyz(38.5651, 28.4577, 91.4387) |
| Luminance | 0.2846 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 4.64
Periwinkle (survey)
#8E82FE
ΔE00 4.75
Mediumpurple
#9370DB
ΔE00 5.32
Light Purple
#BF77F6
ΔE00 5.93
Easter Purple
#C071FE
ΔE00 6.08
Lavender Blue
#8B88F8
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A17BF7 #D1F77B
analogous
#7B93F7 #A17BF7 #DF7BF7
triadic
#A17BF7 #F7A17B #7BF7A1
tetradic
#A17BF7 #F77B93 #D1F77B #7BF7DF
square
#A17BF7 #F77B93 #D1F77B #7BF7DF
split-complementary
#A17BF7 #F7DF7B #93F77B
monochromatic
#510EE9 #7841F4 #A17BF7 #CAB5FA #EAE2FD
Accessibility & contrast
On white
3.14
#A17BF7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.69
#A17BF7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A17BF7
6.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A17BF7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A17BF7 | 1.00 | 3.14 | 6.69 | 6.69 |
| #FFFFFF | 3.14 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C92FB
Deuteranopia (green-blind)
#5490F4
Tritanopia (blue-blind)
#8D93AE
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #a17bf7; /* rgb */ color: rgb(161, 123, 247); /* oklch */ color: oklch(67.5% 0.179 295.3);
Tailwind
colors: {
custom: {
50: '#c1a2fa',
500: '#a17bf7',
950: '#000000',
},
}SCSS
$custom: #a17bf7; $custom-light: #c1a2fa; $custom-dark: #000000;
JSON
{
"hex": "#a17bf7",
"rgb": {
"r": 161,
"g": 123,
"b": 247
},
"hsl": {
"h": 258.387,
"s": 88.571,
"l": 72.549
},
"oklch": {
"l": 0.67472,
"c": 0.17866,
"h": 295.3
},
"luminance": 0.28458
}Semantic roles & 50–950 ramp
primary
#A17BF7
secondary
#ECF5D6
accent
#E5009F
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#130F17
muted
#827F85