#B38CE3#B38CE3
#B38CE3 is a light, vivid violet. Relative luminance 0.339; OKLCH L 71.0% C 0.130 H 303.9°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).
Color values
| HEX | #B38CE3 |
|---|---|
| RGB | rgb(179, 140, 227) |
| HSL | hsl(267, 61%, 72%) |
| HSV | hsv(267, 38%, 89%) |
| CMYK | cmyk(21.1%, 38.3%, 0%, 11%) |
| CIE-LAB | lab(64.87, 31.74, -38.75) |
| CIE-LCH | lch(64.87, 50.09, 309.32°) |
| OKLab | oklab(70.99% 0.0723 -0.1076) |
| OKLCH | oklch(70.99% 0.13 303.9) |
| XYZ | xyz(41.8307, 33.8860, 76.9951) |
| Luminance | 0.3389 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Purple
#B790D4
ΔE00 4.07
Liliac
#C48EFD
ΔE00 4.53
Baby Purple
#CA9BF7
ΔE00 5.29
Lavender (survey)
#C79FEF
ΔE00 5.63
Lavender
#B39DDB
ΔE00 5.98
Pastel Purple
#CAA0FF
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B38CE3 #BCE38C
analogous
#8C91E3 #B38CE3 #DF8CE3
triadic
#B38CE3 #E3B38C #8CE3B3
tetradic
#B38CE3 #E38C91 #BCE38C #8CE3DF
square
#B38CE3 #E38C91 #BCE38C #8CE3DF
split-complementary
#B38CE3 #E3DF8C #91E38C
monochromatic
#7330C5 #925BD7 #B38CE3 #D4BDEF #EFE6F9
Accessibility & contrast
On white
2.70
#B38CE3 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.78
#B38CE3 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B38CE3
7.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B38CE3 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B38CE3 | 1.00 | 2.70 | 7.78 | 7.78 |
| #FFFFFF | 2.70 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#789CE6
Deuteranopia (green-blind)
#809DE1
Tritanopia (blue-blind)
#AB9AAD
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #b38ce3; /* rgb */ color: rgb(179, 140, 227); /* oklch */ color: oklch(71.0% 0.130 303.9);
Tailwind
colors: {
custom: {
50: '#cbaeec',
500: '#b38ce3',
950: '#000000',
},
}SCSS
$custom: #b38ce3; $custom-light: #cbaeec; $custom-dark: #000000;
JSON
{
"hex": "#b38ce3",
"rgb": {
"r": 179,
"g": 140,
"b": 227
},
"hsl": {
"h": 266.897,
"s": 60.839,
"l": 71.961
},
"oklch": {
"l": 0.70985,
"c": 0.12963,
"h": 303.9
},
"luminance": 0.33886
}Semantic roles & 50–950 ramp
primary
#B38CE3
secondary
#E7F0DA
accent
#C91D7C
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#131016
muted
#827F84