#B47FEB#B47FEB
#B47FEB is a light, vivid violet. Relative luminance 0.309; OKLCH L 69.3% C 0.161 H 305.2°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).
Color values
| HEX | #B47FEB |
|---|---|
| RGB | rgb(180, 127, 235) |
| HSL | hsl(269, 73%, 71%) |
| HSV | hsv(269, 46%, 92%) |
| CMYK | cmyk(23.4%, 46%, 0%, 7.8%) |
| CIE-LAB | lab(62.41, 41.07, -47.04) |
| CIE-LCH | lch(62.41, 62.45, 311.12°) |
| OKLab | oklab(69.27% 0.0929 -0.1315) |
| OKLCH | oklch(69.27% 0.161 305.2) |
| XYZ | xyz(41.4040, 30.8804, 82.3604) |
| Luminance | 0.3088 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.05
Light Urple
#B36FF6
ΔE00 4.41
Easter Purple
#C071FE
ΔE00 4.54
Liliac
#C48EFD
ΔE00 4.71
Wisteria
#A87DC2
ΔE00 7.36
Mediumpurple
#9370DB
ΔE00 7.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B47FEB #B6EB7F
analogous
#7F80EB #B47FEB #EA7FEB
triadic
#B47FEB #EBB47F #7FEBB4
tetradic
#B47FEB #EB7F80 #B6EB7F #7FEBEA
square
#B47FEB #EB7F80 #B6EB7F #7FEBEA
split-complementary
#B47FEB #EBEA7F #80EB7F
monochromatic
#7620CF #954AE3 #B47FEB #D3B4F3 #EFE5FB
Accessibility & contrast
On white
2.93
#B47FEB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.18
#B47FEB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B47FEB
7.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B47FEB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B47FEB | 1.00 | 2.93 | 7.18 | 7.18 |
| #FFFFFF | 2.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6295EF
Deuteranopia (green-blind)
#7097E8
Tritanopia (blue-blind)
#AB91AA
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #b47feb; /* rgb */ color: rgb(180, 127, 235); /* oklch */ color: oklch(69.3% 0.161 305.2);
Tailwind
colors: {
custom: {
50: '#cca5f2',
500: '#b47feb',
950: '#000000',
},
}SCSS
$custom: #b47feb; $custom-light: #cca5f2; $custom-dark: #000000;
JSON
{
"hex": "#b47feb",
"rgb": {
"r": 180,
"g": 127,
"b": 235
},
"hsl": {
"h": 269.444,
"s": 72.973,
"l": 70.98
},
"oklch": {
"l": 0.69273,
"c": 0.16102,
"h": 305.2
},
"luminance": 0.3088
}Semantic roles & 50–950 ramp
primary
#B47FEB
secondary
#E3F1D5
accent
#D51075
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#140F17
muted
#827F85