#B47EF2#B47EF2
#B47EF2 is a light, vivid violet. Relative luminance 0.310; OKLCH L 69.5% C 0.171 H 303.8°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).
Color values
| HEX | #B47EF2 |
|---|---|
| RGB | rgb(180, 126, 242) |
| HSL | hsl(268, 82%, 72%) |
| HSV | hsv(268, 48%, 95%) |
| CMYK | cmyk(25.6%, 47.9%, 0%, 5.1%) |
| CIE-LAB | lab(62.54, 43.24, -50.71) |
| CIE-LCH | lch(62.54, 66.64, 310.45°) |
| OKLab | oklab(69.49% 0.0951 -0.1422) |
| OKLCH | oklch(69.49% 0.171 303.8) |
| XYZ | xyz(42.3068, 31.0359, 87.7489) |
| Luminance | 0.3104 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.62
Light Urple
#B36FF6
ΔE00 3.73
Easter Purple
#C071FE
ΔE00 3.83
Liliac
#C48EFD
ΔE00 4.69
Bright Lavender
#C760FF
ΔE00 6.95
Bright Lilac
#C95EFB
ΔE00 7.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B47EF2 #BCF27E
analogous
#7E82F2 #B47EF2 #EE7EF2
triadic
#B47EF2 #F2B47E #7EF2B4
tetradic
#B47EF2 #F27E82 #BCF27E #7EF2EE
square
#B47EF2 #F27E82 #BCF27E #7EF2EE
split-complementary
#B47EF2 #F2EE7E #82F27E
monochromatic
#7416DF #9446EC #B47EF2 #D4B6F8 #EFE3FC
Accessibility & contrast
On white
2.91
#B47EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.21
#B47EF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B47EF2
7.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B47EF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B47EF2 | 1.00 | 2.91 | 7.21 | 7.21 |
| #FFFFFF | 2.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C96F6
Deuteranopia (green-blind)
#6A97EF
Tritanopia (blue-blind)
#A992AD
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #b47ef2; /* rgb */ color: rgb(180, 126, 242); /* oklch */ color: oklch(69.5% 0.171 303.8);
Tailwind
colors: {
custom: {
50: '#cda4f7',
500: '#b47ef2',
950: '#000000',
},
}SCSS
$custom: #b47ef2; $custom-light: #cda4f7; $custom-dark: #000000;
JSON
{
"hex": "#b47ef2",
"rgb": {
"r": 180,
"g": 126,
"b": 242
},
"hsl": {
"h": 267.931,
"s": 81.69,
"l": 72.157
},
"oklch": {
"l": 0.69485,
"c": 0.17106,
"h": 303.8
},
"luminance": 0.31036
}Semantic roles & 50–950 ramp
primary
#B47EF2
secondary
#E7F4D7
accent
#DE077A
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85