#B17AED#B17AED
#B17AED is a light, vivid violet. Relative luminance 0.294; OKLCH L 68.3% C 0.171 H 304.3°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).
Color values
| HEX | #B17AED |
|---|---|
| RGB | rgb(177, 122, 237) |
| HSL | hsl(269, 76%, 70%) |
| HSV | hsv(269, 49%, 93%) |
| CMYK | cmyk(25.3%, 48.5%, 0%, 7.1%) |
| CIE-LAB | lab(61.12, 43.46, -50.21) |
| CIE-LCH | lch(61.12, 66.41, 310.88°) |
| OKLab | oklab(68.27% 0.0962 -0.1408) |
| OKLCH | oklch(68.27% 0.171 304.3) |
| XYZ | xyz(40.3738, 29.3808, 83.6484) |
| Luminance | 0.2938 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.68
Light Urple
#B36FF6
ΔE00 3.00
Easter Purple
#C071FE
ΔE00 3.73
Liliac
#C48EFD
ΔE00 5.87
Mediumpurple
#9370DB
ΔE00 6.38
Bright Lavender
#C760FF
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B17AED #B6ED7A
analogous
#7A7CED #B17AED #EB7AED
triadic
#B17AED #EDB17A #7AEDB1
tetradic
#B17AED #ED7A7C #B6ED7A #7AEDEB
square
#B17AED #ED7A7C #B6ED7A #7AEDEB
split-complementary
#B17AED #EDEB7A #7CED7A
monochromatic
#721CD0 #9144E6 #B17AED #D1B0F4 #EFE4FB
Accessibility & contrast
On white
3.05
#B17AED on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.88
#B17AED on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B17AED
6.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B17AED | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B17AED | 1.00 | 3.05 | 6.88 | 6.88 |
| #FFFFFF | 3.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5892F1
Deuteranopia (green-blind)
#6794EA
Tritanopia (blue-blind)
#A78EA8
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #b17aed; /* rgb */ color: rgb(177, 122, 237); /* oklch */ color: oklch(68.3% 0.171 304.3);
Tailwind
colors: {
custom: {
50: '#cba2f3',
500: '#b17aed',
950: '#000000',
},
}SCSS
$custom: #b17aed; $custom-light: #cba2f3; $custom-dark: #000000;
JSON
{
"hex": "#b17aed",
"rgb": {
"r": 177,
"g": 122,
"b": 237
},
"hsl": {
"h": 268.696,
"s": 76.159,
"l": 70.392
},
"oklch": {
"l": 0.68272,
"c": 0.17056,
"h": 304.3
},
"luminance": 0.29381
}Semantic roles & 50–950 ramp
primary
#B17AED
secondary
#E2F1D2
accent
#D80D77
background
#FCFAFE
surface
#F9F3FD
border
#D2CDD5
text
#140F17
muted
#827F85