#B17BFB#B17BFB
#B17BFB is a light, vivid violet. Relative luminance 0.305; OKLCH L 69.2% C 0.186 H 301.2°. Best body text is #000000 at 7.10:1 contrast (WCAG AA passes).
Color values
| HEX | #B17BFB |
|---|---|
| RGB | rgb(177, 123, 251) |
| HSL | hsl(265, 94%, 73%) |
| HSV | hsv(265, 51%, 98%) |
| CMYK | cmyk(29.5%, 51%, 0%, 1.6%) |
| CIE-LAB | lab(62.06, 46.23, -56.44) |
| CIE-LCH | lch(62.06, 72.95, 309.32°) |
| OKLab | oklab(69.22% 0.0962 -0.159) |
| OKLCH | oklch(69.22% 0.186 301.2) |
| XYZ | xyz(42.6230, 30.4779, 94.8854) |
| Luminance | 0.3048 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.03
Light Purple
#BF77F6
ΔE00 3.14
Easter Purple
#C071FE
ΔE00 3.45
Liliac
#C48EFD
ΔE00 5.72
Bright Lavender
#C760FF
ΔE00 6.50
Bright Lilac
#C95EFB
ΔE00 7.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B17BFB #C5FB7B
analogous
#7B85FB #B17BFB #F17BFB
triadic
#B17BFB #FBB17B #7BFBB1
tetradic
#B17BFB #FB7B85 #C5FB7B #7BFBF1
square
#B17BFB #FB7B85 #C5FB7B #7BFBF1
split-complementary
#B17BFB #FBF17B #85FB7B
monochromatic
#6B07F4 #8E40F9 #B17BFB #D4B6FD #EDE1FE
Accessibility & contrast
On white
2.96
#B17BFB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.10
#B17BFB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B17BFB
7.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B17BFB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B17BFB | 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)
#4F95FF
Deuteranopia (green-blind)
#5E95F8
Tritanopia (blue-blind)
#A393B0
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #b17bfb; /* rgb */ color: rgb(177, 123, 251); /* oklch */ color: oklch(69.2% 0.186 301.2);
Tailwind
colors: {
custom: {
50: '#cba2fd',
500: '#b17bfb',
950: '#000000',
},
}SCSS
$custom: #b17bfb; $custom-light: #cba2fd; $custom-dark: #000000;
JSON
{
"hex": "#b17bfb",
"rgb": {
"r": 177,
"g": 123,
"b": 251
},
"hsl": {
"h": 265.313,
"s": 94.118,
"l": 73.333
},
"oklch": {
"l": 0.69215,
"c": 0.18583,
"h": 301.2
},
"luminance": 0.30478
}Semantic roles & 50–950 ramp
primary
#B17BFB
secondary
#E8F6D5
accent
#E60085
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F18
muted
#827F86