#B17AE8#B17AE8
#B17AE8 is a light, vivid violet. Relative luminance 0.291; OKLCH L 68.0% C 0.165 H 305.5°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).
Color values
| HEX | #B17AE8 |
|---|---|
| RGB | rgb(177, 122, 232) |
| HSL | hsl(270, 71%, 69%) |
| HSV | hsv(270, 47%, 91%) |
| CMYK | cmyk(23.7%, 47.4%, 0%, 9%) |
| CIE-LAB | lab(60.86, 42.30, -47.84) |
| CIE-LCH | lch(60.86, 63.86, 311.49°) |
| OKLab | oklab(68% 0.0957 -0.1339) |
| OKLCH | oklch(68% 0.165 305.5) |
| XYZ | xyz(39.6535, 29.0926, 79.8547) |
| Luminance | 0.2909 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.97
Light Urple
#B36FF6
ΔE00 3.47
Easter Purple
#C071FE
ΔE00 4.19
Liliac
#C48EFD
ΔE00 6.05
Mediumpurple
#9370DB
ΔE00 6.36
Bright Lavender
#C760FF
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B17AE8 #B1E87A
analogous
#7A7AE8 #B17AE8 #E87AE8
triadic
#B17AE8 #E8B17A #7AE8B1
tetradic
#B17AE8 #E87A7A #B1E87A #7AE8E8
square
#B17AE8 #E87A7A #B1E87A #7AE8E8
split-complementary
#B17AE8 #E8E87A #7AE87A
monochromatic
#7422C5 #9246DF #B17AE8 #D0AEF1 #EEE2FA
Accessibility & contrast
On white
3.08
#B17AE8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.82
#B17AE8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B17AE8
6.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B17AE8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B17AE8 | 1.00 | 3.08 | 6.82 | 6.82 |
| #FFFFFF | 3.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C91EC
Deuteranopia (green-blind)
#6A93E5
Tritanopia (blue-blind)
#A88DA6
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #b17ae8; /* rgb */ color: rgb(177, 122, 232); /* oklch */ color: oklch(68.0% 0.165 305.5);
Tailwind
colors: {
custom: {
50: '#caa2f0',
500: '#b17ae8',
950: '#000000',
},
}SCSS
$custom: #b17ae8; $custom-light: #caa2f0; $custom-dark: #000000;
JSON
{
"hex": "#b17ae8",
"rgb": {
"r": 177,
"g": 122,
"b": 232
},
"hsl": {
"h": 270,
"s": 70.513,
"l": 69.412
},
"oklch": {
"l": 0.68001,
"c": 0.16456,
"h": 305.5
},
"luminance": 0.29092
}Semantic roles & 50–950 ramp
primary
#B17AE8
secondary
#DFEFCF
accent
#D31373
background
#FCFAFE
surface
#F9F3FD
border
#D2CDD5
text
#130F16
muted
#827F84