#B47EF8#B47EF8
#B47EF8 is a light, vivid violet. Relative luminance 0.314; OKLCH L 69.8% C 0.178 H 302.5°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).
Color values
| HEX | #B47EF8 |
|---|---|
| RGB | rgb(180, 126, 248) |
| HSL | hsl(267, 90%, 73%) |
| HSV | hsv(267, 49%, 97%) |
| CMYK | cmyk(27.4%, 49.2%, 0%, 2.7%) |
| CIE-LAB | lab(62.85, 44.65, -53.53) |
| CIE-LCH | lch(62.85, 69.70, 309.83°) |
| OKLab | oklab(69.81% 0.0957 -0.1504) |
| OKLCH | oklch(69.81% 0.178 302.5) |
| XYZ | xyz(43.2227, 31.4023, 92.5729) |
| Luminance | 0.3140 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.78
Easter Purple
#C071FE
ΔE00 3.63
Light Urple
#B36FF6
ΔE00 3.64
Liliac
#C48EFD
ΔE00 4.72
Bright Lavender
#C760FF
ΔE00 6.86
Bright Lilac
#C95EFB
ΔE00 7.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B47EF8 #C2F87E
analogous
#7E85F8 #B47EF8 #F17EF8
triadic
#B47EF8 #F8B47E #7EF8B4
tetradic
#B47EF8 #F87E85 #C2F87E #7EF8F1
square
#B47EF8 #F87E85 #C2F87E #7EF8F1
split-complementary
#B47EF8 #F8F17E #85F87E
monochromatic
#710DEF #9244F5 #B47EF8 #D6B8FB #EEE2FD
Accessibility & contrast
On white
2.88
#B47EF8 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.28
#B47EF8 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B47EF8
7.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B47EF8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B47EF8 | 1.00 | 2.88 | 7.28 | 7.28 |
| #FFFFFF | 2.88 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5897FC
Deuteranopia (green-blind)
#6698F5
Tritanopia (blue-blind)
#A894B0
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #b47ef8; /* rgb */ color: rgb(180, 126, 248); /* oklch */ color: oklch(69.8% 0.178 302.5);
Tailwind
colors: {
custom: {
50: '#cda4fb',
500: '#b47ef8',
950: '#000000',
},
}SCSS
$custom: #b47ef8; $custom-light: #cda4fb; $custom-dark: #000000;
JSON
{
"hex": "#b47ef8",
"rgb": {
"r": 180,
"g": 126,
"b": 248
},
"hsl": {
"h": 266.557,
"s": 89.706,
"l": 73.333
},
"oklch": {
"l": 0.69814,
"c": 0.17828,
"h": 302.5
},
"luminance": 0.31402
}Semantic roles & 50–950 ramp
primary
#B47EF8
secondary
#E7F6D5
accent
#E60080
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85