#B38DF7#B38DF7
#B38DF7 is a light, vivid violet. Relative luminance 0.353; OKLCH L 72.2% C 0.154 H 299.0°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).
Color values
| HEX | #B38DF7 |
|---|---|
| RGB | rgb(179, 141, 247) |
| HSL | hsl(262, 87%, 76%) |
| HSV | hsv(262, 43%, 97%) |
| CMYK | cmyk(27.5%, 42.9%, 0%, 3.1%) |
| CIE-LAB | lab(66.02, 35.88, -47.96) |
| CIE-LCH | lch(66.02, 59.90, 306.80°) |
| OKLab | oklab(72.15% 0.0746 -0.1342) |
| OKLCH | oklch(72.15% 0.154 299) |
| XYZ | xyz(44.8999, 35.3485, 92.4351) |
| Luminance | 0.3535 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.21
Baby Purple
#CA9BF7
ΔE00 5.65
Pastel Purple
#CAA0FF
ΔE00 5.88
Light Purple
#BF77F6
ΔE00 6.17
Lavender (survey)
#C79FEF
ΔE00 6.80
Lilac (survey)
#CEA2FD
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B38DF7 #D1F78D
analogous
#8D9CF7 #B38DF7 #E88DF7
triadic
#B38DF7 #F7B38D #8DF7B3
tetradic
#B38DF7 #F78D9C #D1F78D #8DF7E8
square
#B38DF7 #F78D9C #D1F78D #8DF7E8
split-complementary
#B38DF7 #F7E88D #9CF78D
monochromatic
#671BEF #8D54F3 #B38DF7 #D9C6FB #ECE2FD
Accessibility & contrast
On white
2.60
#B38DF7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.07
#B38DF7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B38DF7
8.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B38DF7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B38DF7 | 1.00 | 2.60 | 8.07 | 8.07 |
| #FFFFFF | 2.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6FA0FB
Deuteranopia (green-blind)
#76A0F4
Tritanopia (blue-blind)
#A6A0B6
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #b38df7; /* rgb */ color: rgb(179, 141, 247); /* oklch */ color: oklch(72.2% 0.154 299.0);
Tailwind
colors: {
custom: {
50: '#ccaffa',
500: '#b38df7',
950: '#000000',
},
}SCSS
$custom: #b38df7; $custom-light: #ccaffa; $custom-dark: #000000;
JSON
{
"hex": "#b38df7",
"rgb": {
"r": 179,
"g": 141,
"b": 247
},
"hsl": {
"h": 261.509,
"s": 86.885,
"l": 76.078
},
"oklch": {
"l": 0.72153,
"c": 0.15357,
"h": 299
},
"luminance": 0.35349
}Semantic roles & 50–950 ramp
primary
#B38DF7
secondary
#EAF5D6
accent
#E30293
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141017
muted
#827F85