#B38BF6#B38BF6
#B38BF6 is a light, vivid violet. Relative luminance 0.347; OKLCH L 71.8% C 0.155 H 299.7°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).
Color values
| HEX | #B38BF6 |
|---|---|
| RGB | rgb(179, 139, 246) |
| HSL | hsl(262, 86%, 75%) |
| HSV | hsv(262, 43%, 96%) |
| CMYK | cmyk(27.2%, 43.5%, 0%, 3.5%) |
| CIE-LAB | lab(65.52, 36.75, -48.21) |
| CIE-LCH | lch(65.52, 60.62, 307.32°) |
| OKLab | oklab(71.76% 0.0771 -0.135) |
| OKLCH | oklch(71.76% 0.155 299.7) |
| XYZ | xyz(44.4537, 34.7025, 91.5272) |
| Luminance | 0.3470 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.17
Light Purple
#BF77F6
ΔE00 5.65
Baby Purple
#CA9BF7
ΔE00 5.87
Pastel Purple
#CAA0FF
ΔE00 6.23
Easter Purple
#C071FE
ΔE00 6.85
Light Urple
#B36FF6
ΔE00 7.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B38BF6 #CEF68B
analogous
#8B98F6 #B38BF6 #E88BF6
triadic
#B38BF6 #F6B38B #8BF6B3
tetradic
#B38BF6 #F68B98 #CEF68B #8BF6E8
square
#B38BF6 #F68B98 #CEF68B #8BF6E8
split-complementary
#B38BF6 #F6E88B #98F68B
monochromatic
#6919ED #8E52F2 #B38BF6 #D8C4FA #ECE3FD
Accessibility & contrast
On white
2.64
#B38BF6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.94
#B38BF6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B38BF6
7.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B38BF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B38BF6 | 1.00 | 2.64 | 7.94 | 7.94 |
| #FFFFFF | 2.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D9FFA
Deuteranopia (green-blind)
#759EF3
Tritanopia (blue-blind)
#A69EB5
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #b38bf6; /* rgb */ color: rgb(179, 139, 246); /* oklch */ color: oklch(71.8% 0.155 299.7);
Tailwind
colors: {
custom: {
50: '#ccadf9',
500: '#b38bf6',
950: '#000000',
},
}SCSS
$custom: #b38bf6; $custom-light: #ccadf9; $custom-dark: #000000;
JSON
{
"hex": "#b38bf6",
"rgb": {
"r": 179,
"g": 139,
"b": 246
},
"hsl": {
"h": 262.43,
"s": 85.6,
"l": 75.49
},
"oklch": {
"l": 0.71758,
"c": 0.15542,
"h": 299.7
},
"luminance": 0.34703
}Semantic roles & 50–950 ramp
primary
#B38BF6
secondary
#E9F5D6
accent
#E2038F
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141017
muted
#827F85