#B38FDA#B38FDA
#B38FDA is a light, moderate violet. Relative luminance 0.343; OKLCH L 71.1% C 0.113 H 305.7°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).
Color values
| HEX | #B38FDA |
|---|---|
| RGB | rgb(179, 143, 218) |
| HSL | hsl(269, 50%, 71%) |
| HSV | hsv(269, 34%, 85%) |
| CMYK | cmyk(17.9%, 34.4%, 0%, 14.5%) |
| CIE-LAB | lab(65.19, 28.02, -33.26) |
| CIE-LCH | lch(65.19, 43.49, 310.12°) |
| OKLab | oklab(71.1% 0.0661 -0.0918) |
| OKLCH | oklch(71.1% 0.113 305.7) |
| XYZ | xyz(41.0653, 34.2908, 70.7715) |
| Luminance | 0.3429 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Purple
#B790D4
ΔE00 2.00
Lavender
#B39DDB
ΔE00 4.43
Lavender (survey)
#C79FEF
ΔE00 5.16
Baby Purple
#CA9BF7
ΔE00 5.64
Wisteria
#A87DC2
ΔE00 5.94
Liliac
#C48EFD
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B38FDA #B6DA8F
analogous
#8F90DA #B38FDA #D88FDA
triadic
#B38FDA #DAB38F #8FDAB3
tetradic
#B38FDA #DA8F90 #B6DA8F #8FDAD8
square
#B38FDA #DA8F90 #B6DA8F #8FDAD8
split-complementary
#B38FDA #DAD88F #90DA8F
monochromatic
#753BB3 #9461CB #B38FDA #D2BDE9 #EFE8F7
Accessibility & contrast
On white
2.67
#B38FDA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.86
#B38FDA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B38FDA
7.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B38FDA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B38FDA | 1.00 | 2.67 | 7.86 | 7.86 |
| #FFFFFF | 2.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#809DDD
Deuteranopia (green-blind)
#879ED8
Tritanopia (blue-blind)
#AD9AAB
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #b38fda; /* rgb */ color: rgb(179, 143, 218); /* oklch */ color: oklch(71.1% 0.113 305.7);
Tailwind
colors: {
custom: {
50: '#cbb0e5',
500: '#b38fda',
950: '#000000',
},
}SCSS
$custom: #b38fda; $custom-light: #cbb0e5; $custom-dark: #000000;
JSON
{
"hex": "#b38fda",
"rgb": {
"r": 179,
"g": 143,
"b": 218
},
"hsl": {
"h": 268.8,
"s": 50.336,
"l": 70.784
},
"oklch": {
"l": 0.71103,
"c": 0.11311,
"h": 305.7
},
"luminance": 0.34291
}Semantic roles & 50–950 ramp
primary
#B38FDA
secondary
#E3ECD8
accent
#BE2876
background
#FCFAFE
surface
#F8F4FC
border
#D1CED5
text
#131016
muted
#827F84