#B17EF4#B17EF4
#B17EF4 is a light, vivid violet. Relative luminance 0.308; OKLCH L 69.3% C 0.173 H 302.0°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).
Color values
| HEX | #B17EF4 |
|---|---|
| RGB | rgb(177, 126, 244) |
| HSL | hsl(266, 84%, 73%) |
| HSV | hsv(266, 48%, 96%) |
| CMYK | cmyk(27.5%, 48.4%, 0%, 4.3%) |
| CIE-LAB | lab(62.34, 42.92, -52.15) |
| CIE-LCH | lch(62.34, 67.54, 309.46°) |
| OKLab | oklab(69.3% 0.0917 -0.1465) |
| OKLCH | oklch(69.3% 0.173 302) |
| XYZ | xyz(41.9178, 30.8004, 89.3071) |
| Luminance | 0.3080 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.12
Light Urple
#B36FF6
ΔE00 3.69
Easter Purple
#C071FE
ΔE00 4.05
Liliac
#C48EFD
ΔE00 5.01
Mediumpurple
#9370DB
ΔE00 7.02
Bright Lavender
#C760FF
ΔE00 7.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B17EF4 #C1F47E
analogous
#7E86F4 #B17EF4 #EC7EF4
triadic
#B17EF4 #F4B17E #7EF4B1
tetradic
#B17EF4 #F47E86 #C1F47E #7EF4EC
square
#B17EF4 #F47E86 #C1F47E #7EF4EC
split-complementary
#B17EF4 #F4EC7E #86F47E
monochromatic
#6E13E4 #8F46EF #B17EF4 #D3B6F9 #EEE3FD
Accessibility & contrast
On white
2.93
#B17EF4 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.16
#B17EF4 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B17EF4
7.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B17EF4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B17EF4 | 1.00 | 2.93 | 7.16 | 7.16 |
| #FFFFFF | 2.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A96F8
Deuteranopia (green-blind)
#6796F1
Tritanopia (blue-blind)
#A593AE
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #b17ef4; /* rgb */ color: rgb(177, 126, 244); /* oklch */ color: oklch(69.3% 0.173 302.0);
Tailwind
colors: {
custom: {
50: '#cba4f8',
500: '#b17ef4',
950: '#000000',
},
}SCSS
$custom: #b17ef4; $custom-light: #cba4f8; $custom-dark: #000000;
JSON
{
"hex": "#b17ef4",
"rgb": {
"r": 177,
"g": 126,
"b": 244
},
"hsl": {
"h": 265.932,
"s": 84.286,
"l": 72.549
},
"oklch": {
"l": 0.693,
"c": 0.17279,
"h": 302
},
"luminance": 0.308
}Semantic roles & 50–950 ramp
primary
#B17EF4
secondary
#E8F5D6
accent
#E10582
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85