#B17FEB#B17FEB
#B17FEB is a light, vivid violet. Relative luminance 0.305; OKLCH L 69.0% C 0.160 H 303.9°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).
Color values
| HEX | #B17FEB |
|---|---|
| RGB | rgb(177, 127, 235) |
| HSL | hsl(268, 73%, 71%) |
| HSV | hsv(268, 46%, 92%) |
| CMYK | cmyk(24.7%, 46%, 0%, 7.8%) |
| CIE-LAB | lab(62.10, 40.25, -47.54) |
| CIE-LCH | lch(62.10, 62.29, 310.25°) |
| OKLab | oklab(68.98% 0.0893 -0.133) |
| OKLCH | oklch(68.98% 0.16 303.9) |
| XYZ | xyz(40.7130, 30.5241, 82.3281) |
| Luminance | 0.3052 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.40
Light Urple
#B36FF6
ΔE00 4.35
Easter Purple
#C071FE
ΔE00 4.75
Liliac
#C48EFD
ΔE00 4.98
Mediumpurple
#9370DB
ΔE00 6.94
Wisteria
#A87DC2
ΔE00 7.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B17FEB #B9EB7F
analogous
#7F83EB #B17FEB #E77FEB
triadic
#B17FEB #EBB17F #7FEBB1
tetradic
#B17FEB #EB7F83 #B9EB7F #7FEBE7
square
#B17FEB #EB7F83 #B9EB7F #7FEBE7
split-complementary
#B17FEB #EBE77F #83EB7F
monochromatic
#7120CF #914AE3 #B17FEB #D1B4F3 #EFE5FB
Accessibility & contrast
On white
2.96
#B17FEB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.10
#B17FEB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B17FEB
7.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B17FEB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B17FEB | 1.00 | 2.96 | 7.10 | 7.10 |
| #FFFFFF | 2.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6195EF
Deuteranopia (green-blind)
#6E96E8
Tritanopia (blue-blind)
#A792AA
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #b17feb; /* rgb */ color: rgb(177, 127, 235); /* oklch */ color: oklch(69.0% 0.160 303.9);
Tailwind
colors: {
custom: {
50: '#caa5f2',
500: '#b17feb',
950: '#000000',
},
}SCSS
$custom: #b17feb; $custom-light: #caa5f2; $custom-dark: #000000;
JSON
{
"hex": "#b17feb",
"rgb": {
"r": 177,
"g": 127,
"b": 235
},
"hsl": {
"h": 267.778,
"s": 72.973,
"l": 70.98
},
"oklch": {
"l": 0.68977,
"c": 0.16023,
"h": 303.9
},
"luminance": 0.30524
}Semantic roles & 50–950 ramp
primary
#B17FEB
secondary
#E4F1D5
accent
#D5107A
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#130F17
muted
#827F85