#B38FE6#B38FE6
#B38FE6 is a light, vivid violet. Relative luminance 0.349; OKLCH L 71.7% C 0.129 H 302.3°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).
Color values
| HEX | #B38FE6 |
|---|---|
| RGB | rgb(179, 143, 230) |
| HSL | hsl(265, 64%, 73%) |
| HSV | hsv(265, 38%, 90%) |
| CMYK | cmyk(22.2%, 37.8%, 0%, 9.8%) |
| CIE-LAB | lab(65.70, 30.75, -39.11) |
| CIE-LCH | lch(65.70, 49.75, 308.18°) |
| OKLab | oklab(71.66% 0.0687 -0.1086) |
| OKLCH | oklch(71.66% 0.129 302.3) |
| XYZ | xyz(42.6927, 34.9418, 79.3428) |
| Luminance | 0.3494 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Pale Purple
#B790D4
ΔE00 4.35
Liliac
#C48EFD
ΔE00 4.37
Baby Purple
#CA9BF7
ΔE00 4.84
Lavender (survey)
#C79FEF
ΔE00 5.12
Lavender
#B39DDB
ΔE00 5.49
Pastel Purple
#CAA0FF
ΔE00 5.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B38FE6 #C2E68F
analogous
#8F96E6 #B38FE6 #DF8FE6
triadic
#B38FE6 #E6B38F #8FE6B3
tetradic
#B38FE6 #E68F96 #C2E68F #8FE6DF
square
#B38FE6 #E68F96 #C2E68F #8FE6DF
split-complementary
#B38FE6 #E6DF8F #96E68F
monochromatic
#702ECD #915DDB #B38FE6 #D5C1F1 #EEE6F9
Accessibility & contrast
On white
2.63
#B38FE6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.99
#B38FE6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B38FE6
7.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B38FE6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B38FE6 | 1.00 | 2.63 | 7.99 | 7.99 |
| #FFFFFF | 2.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7A9FE9
Deuteranopia (green-blind)
#829FE4
Tritanopia (blue-blind)
#AA9DB0
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #b38fe6; /* rgb */ color: rgb(179, 143, 230); /* oklch */ color: oklch(71.7% 0.129 302.3);
Tailwind
colors: {
custom: {
50: '#cbb0ee',
500: '#b38fe6',
950: '#000000',
},
}SCSS
$custom: #b38fe6; $custom-light: #cbb0ee; $custom-dark: #000000;
JSON
{
"hex": "#b38fe6",
"rgb": {
"r": 179,
"g": 143,
"b": 230
},
"hsl": {
"h": 264.828,
"s": 63.504,
"l": 73.137
},
"oklch": {
"l": 0.71659,
"c": 0.12853,
"h": 302.3
},
"luminance": 0.34942
}Semantic roles & 50–950 ramp
primary
#B38FE6
secondary
#E7F1DA
accent
#CB1A82
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#131016
muted
#827F84