#B17FEF#B17FEF
#B17FEF is a light, vivid violet. Relative luminance 0.308; OKLCH L 69.2% C 0.165 H 302.9°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).
Color values
| HEX | #B17FEF |
|---|---|
| RGB | rgb(177, 127, 239) |
| HSL | hsl(267, 78%, 72%) |
| HSV | hsv(267, 47%, 94%) |
| CMYK | cmyk(25.9%, 46.9%, 0%, 6.3%) |
| CIE-LAB | lab(62.30, 41.19, -49.44) |
| CIE-LCH | lch(62.30, 64.35, 309.80°) |
| OKLab | oklab(69.19% 0.0898 -0.1386) |
| OKLCH | oklch(69.19% 0.165 302.9) |
| XYZ | xyz(41.2974, 30.7579, 85.4058) |
| Luminance | 0.3076 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.26
Light Urple
#B36FF6
ΔE00 4.11
Easter Purple
#C071FE
ΔE00 4.47
Liliac
#C48EFD
ΔE00 4.86
Mediumpurple
#9370DB
ΔE00 6.98
Bright Lavender
#C760FF
ΔE00 7.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B17FEF #BDEF7F
analogous
#7F85EF #B17FEF #E97FEF
triadic
#B17FEF #EFB17F #7FEFB1
tetradic
#B17FEF #EF7F85 #BDEF7F #7FEFE9
square
#B17FEF #EF7F85 #BDEF7F #7FEFE9
split-complementary
#B17FEF #EFE97F #85EF7F
monochromatic
#701BD9 #9049E8 #B17FEF #D2B5F6 #EEE4FC
Accessibility & contrast
On white
2.94
#B17FEF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.15
#B17FEF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B17FEF
7.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B17FEF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B17FEF | 1.00 | 2.94 | 7.15 | 7.15 |
| #FFFFFF | 2.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F96F3
Deuteranopia (green-blind)
#6B96EC
Tritanopia (blue-blind)
#A693AC
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #b17fef; /* rgb */ color: rgb(177, 127, 239); /* oklch */ color: oklch(69.2% 0.165 302.9);
Tailwind
colors: {
custom: {
50: '#cba5f5',
500: '#b17fef',
950: '#000000',
},
}SCSS
$custom: #b17fef; $custom-light: #cba5f5; $custom-dark: #000000;
JSON
{
"hex": "#b17fef",
"rgb": {
"r": 177,
"g": 127,
"b": 239
},
"hsl": {
"h": 266.786,
"s": 77.778,
"l": 71.765
},
"oklch": {
"l": 0.6919,
"c": 0.16513,
"h": 302.9
},
"luminance": 0.30758
}Semantic roles & 50–950 ramp
primary
#B17FEF
secondary
#E6F3D7
accent
#DA0B7E
background
#FCFAFF
surface
#F9F4FE
border
#D2CED6
text
#130F17
muted
#827F85