#B47FEF#B47FEF
#B47FEF is a light, vivid violet. Relative luminance 0.311; OKLCH L 69.5% C 0.166 H 304.3°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).
Color values
| HEX | #B47FEF |
|---|---|
| RGB | rgb(180, 127, 239) |
| HSL | hsl(268, 78%, 72%) |
| HSV | hsv(268, 47%, 94%) |
| CMYK | cmyk(24.7%, 46.9%, 0%, 6.3%) |
| CIE-LAB | lab(62.60, 41.99, -48.95) |
| CIE-LCH | lch(62.60, 64.49, 310.63°) |
| OKLab | oklab(69.49% 0.0934 -0.1371) |
| OKLCH | oklch(69.49% 0.166 304.3) |
| XYZ | xyz(41.9884, 31.1142, 85.4382) |
| Luminance | 0.3111 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.85
Light Urple
#B36FF6
ΔE00 4.13
Easter Purple
#C071FE
ΔE00 4.22
Liliac
#C48EFD
ΔE00 4.56
Bright Lavender
#C760FF
ΔE00 7.27
Mediumpurple
#9370DB
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B47FEF #BAEF7F
analogous
#7F82EF #B47FEF #EC7FEF
triadic
#B47FEF #EFB47F #7FEFB4
tetradic
#B47FEF #EF7F82 #BAEF7F #7FEFEC
square
#B47FEF #EF7F82 #BAEF7F #7FEFEC
split-complementary
#B47FEF #EFEC7F #82EF7F
monochromatic
#751BD9 #9449E8 #B47FEF #D4B5F6 #EFE4FC
Accessibility & contrast
On white
2.91
#B47FEF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.22
#B47FEF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B47FEF
7.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B47FEF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B47FEF | 1.00 | 2.91 | 7.22 | 7.22 |
| #FFFFFF | 2.91 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6096F3
Deuteranopia (green-blind)
#6D97EC
Tritanopia (blue-blind)
#AA92AC
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #b47fef; /* rgb */ color: rgb(180, 127, 239); /* oklch */ color: oklch(69.5% 0.166 304.3);
Tailwind
colors: {
custom: {
50: '#cda5f5',
500: '#b47fef',
950: '#000000',
},
}SCSS
$custom: #b47fef; $custom-light: #cda5f5; $custom-dark: #000000;
JSON
{
"hex": "#b47fef",
"rgb": {
"r": 180,
"g": 127,
"b": 239
},
"hsl": {
"h": 268.393,
"s": 77.778,
"l": 71.765
},
"oklch": {
"l": 0.69485,
"c": 0.16586,
"h": 304.3
},
"luminance": 0.31114
}Semantic roles & 50–950 ramp
primary
#B47FEF
secondary
#E6F3D7
accent
#DA0B78
background
#FCFAFF
surface
#F9F4FE
border
#D2CED6
text
#140F17
muted
#827F85