#B17AEC#B17AEC
#B17AEC is a light, vivid violet. Relative luminance 0.293; OKLCH L 68.2% C 0.169 H 304.6°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).
Color values
| HEX | #B17AEC |
|---|---|
| RGB | rgb(177, 122, 236) |
| HSL | hsl(269, 75%, 70%) |
| HSV | hsv(269, 48%, 93%) |
| CMYK | cmyk(25%, 48.3%, 0%, 7.5%) |
| CIE-LAB | lab(61.07, 43.23, -49.74) |
| CIE-LCH | lch(61.07, 65.90, 310.99°) |
| OKLab | oklab(68.22% 0.0961 -0.1394) |
| OKLCH | oklch(68.22% 0.169 304.6) |
| XYZ | xyz(40.2281, 29.3225, 82.8811) |
| Luminance | 0.2932 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.72
Light Urple
#B36FF6
ΔE00 3.08
Easter Purple
#C071FE
ΔE00 3.81
Liliac
#C48EFD
ΔE00 5.90
Mediumpurple
#9370DB
ΔE00 6.37
Bright Lavender
#C760FF
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B17AEC #B5EC7A
analogous
#7A7CEC #B17AEC #EA7AEC
triadic
#B17AEC #ECB17A #7AECB1
tetradic
#B17AEC #EC7A7C #B5EC7A #7AECEA
square
#B17AEC #EC7A7C #B5EC7A #7AECEA
split-complementary
#B17AEC #ECEA7A #7CEC7A
monochromatic
#731DCE #9244E4 #B17AEC #D0B0F4 #EFE4FB
Accessibility & contrast
On white
3.06
#B17AEC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.86
#B17AEC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B17AEC
6.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B17AEC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B17AEC | 1.00 | 3.06 | 6.86 | 6.86 |
| #FFFFFF | 3.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5992F0
Deuteranopia (green-blind)
#6893E9
Tritanopia (blue-blind)
#A78EA8
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #b17aec; /* rgb */ color: rgb(177, 122, 236); /* oklch */ color: oklch(68.2% 0.169 304.6);
Tailwind
colors: {
custom: {
50: '#cba2f2',
500: '#b17aec',
950: '#000000',
},
}SCSS
$custom: #b17aec; $custom-light: #cba2f2; $custom-dark: #000000;
JSON
{
"hex": "#b17aec",
"rgb": {
"r": 177,
"g": 122,
"b": 236
},
"hsl": {
"h": 268.947,
"s": 75,
"l": 70.196
},
"oklch": {
"l": 0.68217,
"c": 0.16936,
"h": 304.6
},
"luminance": 0.29322
}Semantic roles & 50–950 ramp
primary
#B17AEC
secondary
#E1F1D1
accent
#D70E76
background
#FCFAFE
surface
#F9F3FD
border
#D2CDD5
text
#140F17
muted
#827F85