#B17CF6#B17CF6
#B17CF6 is a light, vivid violet. Relative luminance 0.304; OKLCH L 69.1% C 0.178 H 302.0°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).
Color values
| HEX | #B17CF6 |
|---|---|
| RGB | rgb(177, 124, 246) |
| HSL | hsl(266, 87%, 73%) |
| HSV | hsv(266, 50%, 96%) |
| CMYK | cmyk(28%, 49.6%, 0%, 3.5%) |
| CIE-LAB | lab(62.01, 44.49, -53.77) |
| CIE-LCH | lch(62.01, 69.79, 309.60°) |
| OKLab | oklab(69.09% 0.0945 -0.1512) |
| OKLCH | oklch(69.09% 0.178 302) |
| XYZ | xyz(41.9699, 30.4162, 90.8307) |
| Luminance | 0.3042 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.93
Light Urple
#B36FF6
ΔE00 3.17
Easter Purple
#C071FE
ΔE00 3.63
Liliac
#C48EFD
ΔE00 5.42
Bright Lavender
#C760FF
ΔE00 6.70
Mediumpurple
#9370DB
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B17CF6 #C1F67C
analogous
#7C84F6 #B17CF6 #EE7CF6
triadic
#B17CF6 #F6B17C #7CF6B1
tetradic
#B17CF6 #F67C84 #C1F67C #7CF6EE
square
#B17CF6 #F67C84 #C1F67C #7CF6EE
split-complementary
#B17CF6 #F6EE7C #84F67C
monochromatic
#6E10E8 #8F43F2 #B17CF6 #D3B5FA #EEE2FD
Accessibility & contrast
On white
2.96
#B17CF6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.08
#B17CF6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B17CF6
7.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B17CF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B17CF6 | 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)
#5595FA
Deuteranopia (green-blind)
#6395F3
Tritanopia (blue-blind)
#A492AE
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #b17cf6; /* rgb */ color: rgb(177, 124, 246); /* oklch */ color: oklch(69.1% 0.178 302.0);
Tailwind
colors: {
custom: {
50: '#cba3fa',
500: '#b17cf6',
950: '#000000',
},
}SCSS
$custom: #b17cf6; $custom-light: #cba3fa; $custom-dark: #000000;
JSON
{
"hex": "#b17cf6",
"rgb": {
"r": 177,
"g": 124,
"b": 246
},
"hsl": {
"h": 266.066,
"s": 87.143,
"l": 72.549
},
"oklch": {
"l": 0.6909,
"c": 0.1783,
"h": 302
},
"luminance": 0.30416
}Semantic roles & 50–950 ramp
primary
#B17CF6
secondary
#E8F5D6
accent
#E40282
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85