#B47DFE#B47DFE
#B47DFE is a light, vivid violet. Relative luminance 0.315; OKLCH L 70.0% C 0.187 H 301.4°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).
Color values
| HEX | #B47DFE |
|---|---|
| RGB | rgb(180, 125, 254) |
| HSL | hsl(266, 98%, 74%) |
| HSV | hsv(266, 51%, 100%) |
| CMYK | cmyk(29.1%, 50.8%, 0%, 0.4%) |
| CIE-LAB | lab(62.95, 46.61, -56.66) |
| CIE-LCH | lch(62.95, 73.37, 309.44°) |
| OKLab | oklab(69.99% 0.0975 -0.1596) |
| OKLCH | oklch(69.99% 0.187 301.4) |
| XYZ | xyz(44.0413, 31.5262, 97.5116) |
| Luminance | 0.3153 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 3.07
Easter Purple
#C071FE
ΔE00 3.47
Light Urple
#B36FF6
ΔE00 3.55
Liliac
#C48EFD
ΔE00 5.10
Bright Lavender
#C760FF
ΔE00 6.68
Bright Lilac
#C95EFB
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B47DFE #C7FE7D
analogous
#7D87FE #B47DFE #F47DFE
triadic
#B47DFE #FEB47D #7DFEB4
tetradic
#B47DFE #FE7D87 #C7FE7D #7DFEF4
square
#B47DFE #FE7D87 #C7FE7D #7DFEF4
split-complementary
#B47DFE #FEF47D #87FE7D
monochromatic
#6E04FD #9140FE #B47DFE #D7BAFE #EDE1FF
Accessibility & contrast
On white
2.87
#B47DFE on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.31
#B47DFE on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B47DFE
7.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B47DFE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B47DFE | 1.00 | 2.87 | 7.31 | 7.31 |
| #FFFFFF | 2.87 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5198FF
Deuteranopia (green-blind)
#6098FB
Tritanopia (blue-blind)
#A695B2
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #b47dfe; /* rgb */ color: rgb(180, 125, 254); /* oklch */ color: oklch(70.0% 0.187 301.4);
Tailwind
colors: {
custom: {
50: '#cea4ff',
500: '#b47dfe',
950: '#000000',
},
}SCSS
$custom: #b47dfe; $custom-light: #cea4ff; $custom-dark: #000000;
JSON
{
"hex": "#b47dfe",
"rgb": {
"r": 180,
"g": 125,
"b": 254
},
"hsl": {
"h": 265.581,
"s": 98.473,
"l": 74.314
},
"oklch": {
"l": 0.69993,
"c": 0.187,
"h": 301.4
},
"luminance": 0.31526
}Semantic roles & 50–950 ramp
primary
#B47DFE
secondary
#E8F7D4
accent
#E60084
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F18
muted
#827F86