#B17BFA#B17BFA
#B17BFA is a light, vivid violet. Relative luminance 0.304; OKLCH L 69.2% C 0.185 H 301.4°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).
Color values
| HEX | #B17BFA |
|---|---|
| RGB | rgb(177, 123, 250) |
| HSL | hsl(266, 93%, 73%) |
| HSV | hsv(266, 51%, 98%) |
| CMYK | cmyk(29.2%, 50.8%, 0%, 2%) |
| CIE-LAB | lab(62.01, 45.99, -55.98) |
| CIE-LCH | lch(62.01, 72.44, 309.41°) |
| OKLab | oklab(69.16% 0.0961 -0.1576) |
| OKLCH | oklch(69.16% 0.185 301.4) |
| XYZ | xyz(42.4658, 30.4150, 94.0574) |
| Luminance | 0.3041 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.99
Light Purple
#BF77F6
ΔE00 3.06
Easter Purple
#C071FE
ΔE00 3.44
Liliac
#C48EFD
ΔE00 5.69
Bright Lavender
#C760FF
ΔE00 6.49
Mediumpurple
#9370DB
ΔE00 7.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B17BFA #C4FA7B
analogous
#7B84FA #B17BFA #F17BFA
triadic
#B17BFA #FAB17B #7BFAB1
tetradic
#B17BFA #FA7B84 #C4FA7B #7BFAF1
square
#B17BFA #FA7B84 #C4FA7B #7BFAF1
split-complementary
#B17BFA #FAF17B #84FA7B
monochromatic
#6C09F1 #8E40F8 #B17BFA #D4B6FC #EEE2FE
Accessibility & contrast
On white
2.96
#B17BFA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.08
#B17BFA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B17BFA
7.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B17BFA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B17BFA | 1.00 | 2.96 | 7.08 | 7.08 |
| #FFFFFF | 2.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5095FE
Deuteranopia (green-blind)
#5F95F7
Tritanopia (blue-blind)
#A393AF
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #b17bfa; /* rgb */ color: rgb(177, 123, 250); /* oklch */ color: oklch(69.2% 0.185 301.4);
Tailwind
colors: {
custom: {
50: '#cba2fc',
500: '#b17bfa',
950: '#000000',
},
}SCSS
$custom: #b17bfa; $custom-light: #cba2fc; $custom-dark: #000000;
JSON
{
"hex": "#b17bfa",
"rgb": {
"r": 177,
"g": 123,
"b": 250
},
"hsl": {
"h": 265.512,
"s": 92.701,
"l": 73.137
},
"oklch": {
"l": 0.69158,
"c": 0.18463,
"h": 301.4
},
"luminance": 0.30415
}Semantic roles & 50–950 ramp
primary
#B17BFA
secondary
#E8F6D5
accent
#E60084
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F18
muted
#827F86