#B47DF2#B47DF2
#B47DF2 is a light, vivid violet. Relative luminance 0.308; OKLCH L 69.3% C 0.173 H 304.0°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).
Color values
| HEX | #B47DF2 |
|---|---|
| RGB | rgb(180, 125, 242) |
| HSL | hsl(268, 82%, 72%) |
| HSV | hsv(268, 48%, 95%) |
| CMYK | cmyk(25.6%, 48.3%, 0%, 5.1%) |
| CIE-LAB | lab(62.32, 43.78, -51.05) |
| CIE-LCH | lch(62.32, 67.25, 310.62°) |
| OKLab | oklab(69.32% 0.0964 -0.1432) |
| OKLCH | oklch(69.32% 0.173 304) |
| XYZ | xyz(42.1796, 30.7815, 87.7065) |
| Luminance | 0.3078 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Purple
#BF77F6
ΔE00 2.46
Light Urple
#B36FF6
ΔE00 3.48
Easter Purple
#C071FE
ΔE00 3.63
Liliac
#C48EFD
ΔE00 4.90
Bright Lavender
#C760FF
ΔE00 6.72
Bright Lilac
#C95EFB
ΔE00 7.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B47DF2 #BBF27D
analogous
#7D81F2 #B47DF2 #EE7DF2
triadic
#B47DF2 #F2B47D #7DF2B4
tetradic
#B47DF2 #F27D81 #BBF27D #7DF2EE
square
#B47DF2 #F27D81 #BBF27D #7DF2EE
split-complementary
#B47DF2 #F2EE7D #81F27D
monochromatic
#7416DE #9445EC #B47DF2 #D4B5F8 #EFE3FC
Accessibility & contrast
On white
2.93
#B47DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.16
#B47DF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B47DF2
7.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B47DF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B47DF2 | 1.00 | 2.93 | 7.16 | 7.16 |
| #FFFFFF | 2.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5B95F6
Deuteranopia (green-blind)
#6997EF
Tritanopia (blue-blind)
#A992AC
Achromatopsia (no color)
#979797
Design tokens & code
CSS
--color: #b47df2; /* rgb */ color: rgb(180, 125, 242); /* oklch */ color: oklch(69.3% 0.173 304.0);
Tailwind
colors: {
custom: {
50: '#cda4f7',
500: '#b47df2',
950: '#000000',
},
}SCSS
$custom: #b47df2; $custom-light: #cda4f7; $custom-dark: #000000;
JSON
{
"hex": "#b47df2",
"rgb": {
"r": 180,
"g": 125,
"b": 242
},
"hsl": {
"h": 268.205,
"s": 81.818,
"l": 71.961
},
"oklch": {
"l": 0.69324,
"c": 0.17261,
"h": 304
},
"luminance": 0.30781
}Semantic roles & 50–950 ramp
primary
#B47DF2
secondary
#E6F4D7
accent
#DE0779
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#140F17
muted
#827F85