#B47EFA#B47EFA
#B47EFA is a light, vivid violet. Relative luminance 0.315; OKLCH L 69.9% C 0.181 H 302.1°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).
Color values
| HEX | #B47EFA |
|---|---|
| RGB | rgb(180, 126, 250) |
| HSL | hsl(266, 93%, 74%) |
| HSV | hsv(266, 50%, 98%) |
| CMYK | cmyk(28%, 49.6%, 0%, 2%) |
| CIE-LAB | lab(62.95, 45.12, -54.46) |
| CIE-LCH | lch(62.95, 70.72, 309.64°) |
| OKLab | oklab(69.93% 0.0959 -0.1531) |
| OKLCH | oklch(69.93% 0.181 302.1) |
| XYZ | xyz(43.5347, 31.5271, 94.2157) |
| Luminance | 0.3153 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.90
Easter Purple
#C071FE
ΔE00 3.62
Light Urple
#B36FF6
ΔE00 3.66
Liliac
#C48EFD
ΔE00 4.77
Bright Lavender
#C760FF
ΔE00 6.86
Bright Lilac
#C95EFB
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B47EFA #C4FA7E
analogous
#7E86FA #B47EFA #F27EFA
triadic
#B47EFA #FAB47E #7EFAB4
tetradic
#B47EFA #FA7E86 #C4FA7E #7EFAF2
square
#B47EFA #FA7E86 #C4FA7E #7EFAF2
split-complementary
#B47EFA #FAF27E #86FA7E
monochromatic
#7009F4 #9243F8 #B47EFA #D6B9FC #EEE2FE
Accessibility & contrast
On white
2.87
#B47EFA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.31
#B47EFA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B47EFA
7.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B47EFA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B47EFA | 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)
#5697FE
Deuteranopia (green-blind)
#6598F7
Tritanopia (blue-blind)
#A795B1
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #b47efa; /* rgb */ color: rgb(180, 126, 250); /* oklch */ color: oklch(69.9% 0.181 302.1);
Tailwind
colors: {
custom: {
50: '#cda5fc',
500: '#b47efa',
950: '#000000',
},
}SCSS
$custom: #b47efa; $custom-light: #cda5fc; $custom-dark: #000000;
JSON
{
"hex": "#b47efa",
"rgb": {
"r": 180,
"g": 126,
"b": 250
},
"hsl": {
"h": 266.129,
"s": 92.537,
"l": 73.725
},
"oklch": {
"l": 0.69925,
"c": 0.18069,
"h": 302.1
},
"luminance": 0.31527
}Semantic roles & 50–950 ramp
primary
#B47EFA
secondary
#E8F6D5
accent
#E60082
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85