#B17BE4#B17BE4
#B17BE4 is a light, vivid violet. Relative luminance 0.291; OKLCH L 68.0% C 0.158 H 306.4°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).
Color values
| HEX | #B17BE4 |
|---|---|
| RGB | rgb(177, 123, 228) |
| HSL | hsl(271, 66%, 69%) |
| HSV | hsv(271, 46%, 89%) |
| CMYK | cmyk(22.4%, 46.1%, 0%, 10.6%) |
| CIE-LAB | lab(60.88, 40.84, -45.58) |
| CIE-LCH | lch(60.88, 61.20, 311.86°) |
| OKLab | oklab(67.95% 0.0938 -0.1273) |
| OKLCH | oklch(67.95% 0.158 306.4) |
| XYZ | xyz(39.2152, 29.1148, 76.9376) |
| Luminance | 0.2911 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.42
Light Urple
#B36FF6
ΔE00 4.15
Easter Purple
#C071FE
ΔE00 4.78
Liliac
#C48EFD
ΔE00 6.08
Wisteria
#A87DC2
ΔE00 6.46
Mediumpurple
#9370DB
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B17BE4 #AEE47B
analogous
#7D7BE4 #B17BE4 #E47BE3
triadic
#B17BE4 #E4B17B #7BE4B1
tetradic
#B17BE4 #E47D7B #AEE47B #7BE3E4
square
#B17BE4 #E47D7B #AEE47B #7BE3E4
split-complementary
#B17BE4 #E3E47B #7BE47D
monochromatic
#7427BE #9348DA #B17BE4 #CFAEEE #EDE1F9
Accessibility & contrast
On white
3.08
#B17BE4 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.82
#B17BE4 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #B17BE4
6.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B17BE4 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B17BE4 | 1.00 | 3.08 | 6.82 | 6.82 |
| #FFFFFF | 3.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6091E8
Deuteranopia (green-blind)
#6E93E1
Tritanopia (blue-blind)
#A98DA5
Achromatopsia (no color)
#939393
Design tokens & code
CSS
--color: #b17be4; /* rgb */ color: rgb(177, 123, 228); /* oklch */ color: oklch(68.0% 0.158 306.4);
Tailwind
colors: {
custom: {
50: '#caa2ed',
500: '#b17be4',
950: '#000000',
},
}SCSS
$custom: #b17be4; $custom-light: #caa2ed; $custom-dark: #000000;
JSON
{
"hex": "#b17be4",
"rgb": {
"r": 177,
"g": 123,
"b": 228
},
"hsl": {
"h": 270.857,
"s": 66.038,
"l": 68.824
},
"oklch": {
"l": 0.67951,
"c": 0.15814,
"h": 306.4
},
"luminance": 0.29114
}Semantic roles & 50–950 ramp
primary
#B17BE4
secondary
#DDEDCE
accent
#CE1870
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#130F16
muted
#827F84