#B17DF6#B17DF6
#B17DF6 is a light, vivid violet. Relative luminance 0.307; OKLCH L 69.3% C 0.177 H 301.8°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).
Color values
| HEX | #B17DF6 |
|---|---|
| RGB | rgb(177, 125, 246) |
| HSL | hsl(266, 87%, 73%) |
| HSV | hsv(266, 49%, 96%) |
| CMYK | cmyk(28%, 49.2%, 0%, 3.5%) |
| CIE-LAB | lab(62.23, 43.94, -53.43) |
| CIE-LCH | lch(62.23, 69.18, 309.44°) |
| OKLab | oklab(69.25% 0.0932 -0.1502) |
| OKLCH | oklch(69.25% 0.177 301.8) |
| XYZ | xyz(42.0959, 30.6681, 90.8727) |
| Luminance | 0.3067 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.05
Light Urple
#B36FF6
ΔE00 3.42
Easter Purple
#C071FE
ΔE00 3.81
Liliac
#C48EFD
ΔE00 5.22
Bright Lavender
#C760FF
ΔE00 6.92
Mediumpurple
#9370DB
ΔE00 6.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B17DF6 #C2F67D
analogous
#7D86F6 #B17DF6 #ED7DF6
triadic
#B17DF6 #F6B17D #7DF6B1
tetradic
#B17DF6 #F67D86 #C2F67D #7DF6ED
square
#B17DF6 #F67D86 #C2F67D #7DF6ED
split-complementary
#B17DF6 #F6ED7D #86F67D
monochromatic
#6D10E9 #8F44F2 #B17DF6 #D3B6FA #EEE2FD
Accessibility & contrast
On white
2.94
#B17DF6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.13
#B17DF6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B17DF6
7.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B17DF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B17DF6 | 1.00 | 2.94 | 7.13 | 7.13 |
| #FFFFFF | 2.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5696FA
Deuteranopia (green-blind)
#6496F3
Tritanopia (blue-blind)
#A493AE
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #b17df6; /* rgb */ color: rgb(177, 125, 246); /* oklch */ color: oklch(69.3% 0.177 301.8);
Tailwind
colors: {
custom: {
50: '#cba4fa',
500: '#b17df6',
950: '#000000',
},
}SCSS
$custom: #b17df6; $custom-light: #cba4fa; $custom-dark: #000000;
JSON
{
"hex": "#b17df6",
"rgb": {
"r": 177,
"g": 125,
"b": 246
},
"hsl": {
"h": 265.785,
"s": 87.05,
"l": 72.745
},
"oklch": {
"l": 0.6925,
"c": 0.17676,
"h": 301.8
},
"luminance": 0.30668
}Semantic roles & 50–950 ramp
primary
#B17DF6
secondary
#E8F5D6
accent
#E40283
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85