#B17BFC#B17BFC
#B17BFC is a light, vivid violet. Relative luminance 0.305; OKLCH L 69.3% C 0.187 H 301.0°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).
Color values
| HEX | #B17BFC |
|---|---|
| RGB | rgb(177, 123, 252) |
| HSL | hsl(265, 96%, 74%) |
| HSV | hsv(265, 51%, 99%) |
| CMYK | cmyk(29.8%, 51.2%, 0%, 1.2%) |
| CIE-LAB | lab(62.12, 46.47, -56.90) |
| CIE-LCH | lch(62.12, 73.47, 309.23°) |
| OKLab | oklab(69.27% 0.0963 -0.1604) |
| OKLCH | oklch(69.27% 0.187 301) |
| XYZ | xyz(42.7810, 30.5411, 95.7178) |
| Luminance | 0.3054 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.08
Light Purple
#BF77F6
ΔE00 3.21
Easter Purple
#C071FE
ΔE00 3.47
Liliac
#C48EFD
ΔE00 5.75
Bright Lavender
#C760FF
ΔE00 6.51
Bright Lilac
#C95EFB
ΔE00 7.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B17BFC #C6FC7B
analogous
#7B85FC #B17BFC #F17BFC
triadic
#B17BFC #FCB17B #7BFCB1
tetradic
#B17BFC #FC7B85 #C6FC7B #7BFCF1
square
#B17BFC #FC7B85 #C6FC7B #7BFCF1
split-complementary
#B17BFC #FCF17B #85FC7B
monochromatic
#6B06F7 #8E3FFB #B17BFC #D4B7FD #EDE1FE
Accessibility & contrast
On white
2.95
#B17BFC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.11
#B17BFC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B17BFC
7.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B17BFC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B17BFC | 1.00 | 2.95 | 7.11 | 7.11 |
| #FFFFFF | 2.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E95FF
Deuteranopia (green-blind)
#5D95F9
Tritanopia (blue-blind)
#A293B0
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #b17bfc; /* rgb */ color: rgb(177, 123, 252); /* oklch */ color: oklch(69.3% 0.187 301.0);
Tailwind
colors: {
custom: {
50: '#cca2fe',
500: '#b17bfc',
950: '#000000',
},
}SCSS
$custom: #b17bfc; $custom-light: #cca2fe; $custom-dark: #000000;
JSON
{
"hex": "#b17bfc",
"rgb": {
"r": 177,
"g": 123,
"b": 252
},
"hsl": {
"h": 265.116,
"s": 95.556,
"l": 73.529
},
"oklch": {
"l": 0.69273,
"c": 0.18703,
"h": 301
},
"luminance": 0.30541
}Semantic roles & 50–950 ramp
primary
#B17BFC
secondary
#E8F7D4
accent
#E60085
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F18
muted
#827F86