#B17FF6#B17FF6
#B17FF6 is a light, vivid violet. Relative luminance 0.312; OKLCH L 69.6% C 0.174 H 301.4°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).
Color values
| HEX | #B17FF6 |
|---|---|
| RGB | rgb(177, 127, 246) |
| HSL | hsl(265, 87%, 73%) |
| HSV | hsv(265, 48%, 96%) |
| CMYK | cmyk(28%, 48.4%, 0%, 3.5%) |
| CIE-LAB | lab(62.66, 42.85, -52.74) |
| CIE-LCH | lch(62.66, 67.95, 309.09°) |
| OKLab | oklab(69.57% 0.0906 -0.1482) |
| OKLCH | oklch(69.57% 0.174 301.4) |
| XYZ | xyz(42.3516, 31.1796, 90.9580) |
| Luminance | 0.3118 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.33
Light Urple
#B36FF6
ΔE00 3.93
Easter Purple
#C071FE
ΔE00 4.20
Liliac
#C48EFD
ΔE00 4.85
Mediumpurple
#9370DB
ΔE00 7.22
Bright Lavender
#C760FF
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B17FF6 #C4F67F
analogous
#7F88F6 #B17FF6 #EC7FF6
triadic
#B17FF6 #F6B17F #7FF6B1
tetradic
#B17FF6 #F67F88 #C4F67F #7FF6EC
square
#B17FF6 #F67F88 #C4F67F #7FF6EC
split-complementary
#B17FF6 #F6EC7F #88F67F
monochromatic
#6C10EA #8E46F2 #B17FF6 #D4B8FA #EEE2FD
Accessibility & contrast
On white
2.90
#B17FF6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.24
#B17FF6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B17FF6
7.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B17FF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B17FF6 | 1.00 | 2.90 | 7.24 | 7.24 |
| #FFFFFF | 2.90 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A97FA
Deuteranopia (green-blind)
#6697F3
Tritanopia (blue-blind)
#A495AF
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #b17ff6; /* rgb */ color: rgb(177, 127, 246); /* oklch */ color: oklch(69.6% 0.174 301.4);
Tailwind
colors: {
custom: {
50: '#cba5fa',
500: '#b17ff6',
950: '#000000',
},
}SCSS
$custom: #b17ff6; $custom-light: #cba5fa; $custom-dark: #000000;
JSON
{
"hex": "#b17ff6",
"rgb": {
"r": 177,
"g": 127,
"b": 246
},
"hsl": {
"h": 265.21,
"s": 86.861,
"l": 73.137
},
"oklch": {
"l": 0.69572,
"c": 0.17369,
"h": 301.4
},
"luminance": 0.3118
}Semantic roles & 50–950 ramp
primary
#B17FF6
secondary
#E8F5D6
accent
#E30285
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85