#A17BF6#A17BF6
#A17BF6 is a light, vivid violet. Relative luminance 0.284; OKLCH L 67.4% C 0.177 H 295.5°. Best body text is #000000 at 6.68:1 contrast (WCAG AA passes).
Color values
| HEX | #A17BF6 |
|---|---|
| RGB | rgb(161, 123, 246) |
| HSL | hsl(259, 87%, 72%) |
| HSV | hsv(259, 50%, 96%) |
| CMYK | cmyk(34.6%, 50%, 0%, 3.5%) |
| CIE-LAB | lab(60.24, 41.02, -56.68) |
| CIE-LCH | lch(60.24, 69.97, 305.90°) |
| OKLab | oklab(67.41% 0.0764 -0.1601) |
| OKLCH | oklch(67.41% 0.177 295.5) |
| XYZ | xyz(38.4112, 28.3962, 90.6282) |
| Luminance | 0.2840 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 4.61
Periwinkle (survey)
#8E82FE
ΔE00 4.82
Mediumpurple
#9370DB
ΔE00 5.22
Light Purple
#BF77F6
ΔE00 5.89
Easter Purple
#C071FE
ΔE00 6.08
Lavender Blue
#8B88F8
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A17BF6 #D0F67B
analogous
#7B92F6 #A17BF6 #DF7BF6
triadic
#A17BF6 #F6A17B #7BF6A1
tetradic
#A17BF6 #F67B92 #D0F67B #7BF6DF
square
#A17BF6 #F67B92 #D0F67B #7BF6DF
split-complementary
#A17BF6 #F6DF7B #92F67B
monochromatic
#5210E7 #7842F2 #A17BF6 #CAB4FA #EBE2FD
Accessibility & contrast
On white
3.14
#A17BF6 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.68
#A17BF6 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A17BF6
6.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A17BF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A17BF6 | 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)
#4D92FA
Deuteranopia (green-blind)
#558FF3
Tritanopia (blue-blind)
#8D93AD
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #a17bf6; /* rgb */ color: rgb(161, 123, 246); /* oklch */ color: oklch(67.4% 0.177 295.5);
Tailwind
colors: {
custom: {
50: '#c0a2fa',
500: '#a17bf6',
950: '#000000',
},
}SCSS
$custom: #a17bf6; $custom-light: #c0a2fa; $custom-dark: #000000;
JSON
{
"hex": "#a17bf6",
"rgb": {
"r": 161,
"g": 123,
"b": 246
},
"hsl": {
"h": 258.537,
"s": 87.234,
"l": 72.353
},
"oklch": {
"l": 0.67413,
"c": 0.1774,
"h": 295.5
},
"luminance": 0.28397
}Semantic roles & 50–950 ramp
primary
#A17BF6
secondary
#EBF5D6
accent
#E4029E
background
#FCFAFF
surface
#F8F3FF
border
#D1CDD7
text
#130F17
muted
#827F85