#B38CE6#B38CE6
#B38CE6 is a light, vivid violet. Relative luminance 0.341; OKLCH L 71.1% C 0.133 H 303.1°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).
Color values
| HEX | #B38CE6 |
|---|---|
| RGB | rgb(179, 140, 230) |
| HSL | hsl(266, 64%, 73%) |
| HSV | hsv(266, 39%, 90%) |
| CMYK | cmyk(22.2%, 39.1%, 0%, 9.8%) |
| CIE-LAB | lab(65.00, 32.43, -40.20) |
| CIE-LCH | lch(65.00, 51.65, 308.89°) |
| OKLab | oklab(71.13% 0.0729 -0.1118) |
| OKLCH | oklch(71.13% 0.133 303.1) |
| XYZ | xyz(42.2484, 34.0531, 79.1947) |
| Luminance | 0.3405 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 4.14
Pale Purple
#B790D4
ΔE00 4.62
Baby Purple
#CA9BF7
ΔE00 5.22
Lavender (survey)
#C79FEF
ΔE00 5.73
Pastel Purple
#CAA0FF
ΔE00 6.16
Lavender
#B39DDB
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B38CE6 #BFE68C
analogous
#8C92E6 #B38CE6 #E08CE6
triadic
#B38CE6 #E6B38C #8CE6B3
tetradic
#B38CE6 #E68C92 #BFE68C #8CE6E0
square
#B38CE6 #E68C92 #BFE68C #8CE6E0
split-complementary
#B38CE6 #E6E08C #92E68C
monochromatic
#712CCB #925ADB #B38CE6 #D4BEF1 #EEE6FA
Accessibility & contrast
On white
2.69
#B38CE6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.81
#B38CE6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B38CE6
7.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B38CE6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B38CE6 | 1.00 | 2.69 | 7.81 | 7.81 |
| #FFFFFF | 2.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#769DE9
Deuteranopia (green-blind)
#7F9EE4
Tritanopia (blue-blind)
#AA9BAE
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #b38ce6; /* rgb */ color: rgb(179, 140, 230); /* oklch */ color: oklch(71.1% 0.133 303.1);
Tailwind
colors: {
custom: {
50: '#cbaeee',
500: '#b38ce6',
950: '#000000',
},
}SCSS
$custom: #b38ce6; $custom-light: #cbaeee; $custom-dark: #000000;
JSON
{
"hex": "#b38ce6",
"rgb": {
"r": 179,
"g": 140,
"b": 230
},
"hsl": {
"h": 266,
"s": 64.286,
"l": 72.549
},
"oklch": {
"l": 0.71129,
"c": 0.13345,
"h": 303.1
},
"luminance": 0.34053
}Semantic roles & 50–950 ramp
primary
#B38CE6
secondary
#E7F1DA
accent
#CC197F
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#131016
muted
#827F84