#B47FF2#B47FF2
#B47FF2 is a light, vivid violet. Relative luminance 0.313; OKLCH L 69.6% C 0.169 H 303.6°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).
Color values
| HEX | #B47FF2 |
|---|---|
| RGB | rgb(180, 127, 242) |
| HSL | hsl(268, 82%, 72%) |
| HSV | hsv(268, 48%, 95%) |
| CMYK | cmyk(25.6%, 47.5%, 0%, 5.1%) |
| CIE-LAB | lab(62.75, 42.69, -50.37) |
| CIE-LCH | lch(62.75, 66.03, 310.29°) |
| OKLab | oklab(69.65% 0.0938 -0.1412) |
| OKLCH | oklch(69.65% 0.169 303.6) |
| XYZ | xyz(42.4353, 31.2929, 87.7917) |
| Luminance | 0.3129 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.80
Light Urple
#B36FF6
ΔE00 3.99
Easter Purple
#C071FE
ΔE00 4.04
Liliac
#C48EFD
ΔE00 4.50
Bright Lavender
#C760FF
ΔE00 7.18
Mediumpurple
#9370DB
ΔE00 7.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B47FF2 #BDF27F
analogous
#7F84F2 #B47FF2 #ED7FF2
triadic
#B47FF2 #F2B47F #7FF2B4
tetradic
#B47FF2 #F27F84 #BDF27F #7FF2ED
square
#B47FF2 #F27F84 #BDF27F #7FF2ED
split-complementary
#B47FF2 #F2ED7F #84F27F
monochromatic
#7317E0 #9347EC #B47FF2 #D5B7F8 #EFE3FC
Accessibility & contrast
On white
2.89
#B47FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.26
#B47FF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B47FF2
7.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B47FF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B47FF2 | 1.00 | 2.89 | 7.26 | 7.26 |
| #FFFFFF | 2.89 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E97F6
Deuteranopia (green-blind)
#6B98EF
Tritanopia (blue-blind)
#A993AD
Achromatopsia (no color)
#989898
Design tokens & code
CSS
--color: #b47ff2; /* rgb */ color: rgb(180, 127, 242); /* oklch */ color: oklch(69.6% 0.169 303.6);
Tailwind
colors: {
custom: {
50: '#cda5f7',
500: '#b47ff2',
950: '#000000',
},
}SCSS
$custom: #b47ff2; $custom-light: #cda5f7; $custom-dark: #000000;
JSON
{
"hex": "#b47ff2",
"rgb": {
"r": 180,
"g": 127,
"b": 242
},
"hsl": {
"h": 267.652,
"s": 81.56,
"l": 72.353
},
"oklch": {
"l": 0.69646,
"c": 0.16949,
"h": 303.6
},
"luminance": 0.31293
}Semantic roles & 50–950 ramp
primary
#B47FF2
secondary
#E7F4D7
accent
#DE087B
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85