#B17FEE#B17FEE
#B17FEE is a light, vivid violet. Relative luminance 0.307; OKLCH L 69.1% C 0.164 H 303.2°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).
Color values
| HEX | #B17FEE |
|---|---|
| RGB | rgb(177, 127, 238) |
| HSL | hsl(267, 77%, 72%) |
| HSV | hsv(267, 47%, 93%) |
| CMYK | cmyk(25.6%, 46.6%, 0%, 6.7%) |
| CIE-LAB | lab(62.25, 40.96, -48.97) |
| CIE-LCH | lch(62.25, 63.84, 309.91°) |
| OKLab | oklab(69.14% 0.0897 -0.1372) |
| OKLCH | oklch(69.14% 0.164 303.2) |
| XYZ | xyz(41.1501, 30.6990, 84.6299) |
| Luminance | 0.3070 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.28
Light Urple
#B36FF6
ΔE00 4.16
Easter Purple
#C071FE
ΔE00 4.53
Liliac
#C48EFD
ΔE00 4.89
Mediumpurple
#9370DB
ΔE00 6.97
Bright Lavender
#C760FF
ΔE00 7.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B17FEE #BCEE7F
analogous
#7F85EE #B17FEE #E97FEE
triadic
#B17FEE #EEB17F #7FEEB1
tetradic
#B17FEE #EE7F85 #BCEE7F #7FEEE9
square
#B17FEE #EE7F85 #BCEE7F #7FEEE9
split-complementary
#B17FEE #EEE97F #85EE7F
monochromatic
#701CD6 #9049E7 #B17FEE #D2B5F5 #EFE4FB
Accessibility & contrast
On white
2.94
#B17FEE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.14
#B17FEE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B17FEE
7.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B17FEE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B17FEE | 1.00 | 2.94 | 7.14 | 7.14 |
| #FFFFFF | 2.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F95F2
Deuteranopia (green-blind)
#6C96EB
Tritanopia (blue-blind)
#A692AB
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #b17fee; /* rgb */ color: rgb(177, 127, 238); /* oklch */ color: oklch(69.1% 0.164 303.2);
Tailwind
colors: {
custom: {
50: '#cba5f4',
500: '#b17fee',
950: '#000000',
},
}SCSS
$custom: #b17fee; $custom-light: #cba5f4; $custom-dark: #000000;
JSON
{
"hex": "#b17fee",
"rgb": {
"r": 177,
"g": 127,
"b": 238
},
"hsl": {
"h": 267.027,
"s": 76.552,
"l": 71.569
},
"oklch": {
"l": 0.69137,
"c": 0.16391,
"h": 303.2
},
"luminance": 0.30699
}Semantic roles & 50–950 ramp
primary
#B17FEE
secondary
#E6F3D6
accent
#D90D7D
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#130F17
muted
#827F85