#B38CF6#B38CF6
#B38CF6 is a light, vivid violet. Relative luminance 0.350; OKLCH L 71.9% C 0.154 H 299.5°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).
Color values
| HEX | #B38CF6 |
|---|---|
| RGB | rgb(179, 140, 246) |
| HSL | hsl(262, 85%, 76%) |
| HSV | hsv(262, 43%, 96%) |
| CMYK | cmyk(27.2%, 43.1%, 0%, 3.5%) |
| CIE-LAB | lab(65.74, 36.19, -47.85) |
| CIE-LCH | lch(65.74, 60.00, 307.11°) |
| OKLab | oklab(71.93% 0.0757 -0.1339) |
| OKLCH | oklch(71.93% 0.154 299.5) |
| XYZ | xyz(44.5992, 34.9934, 91.5757) |
| Luminance | 0.3499 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.17
Baby Purple
#CA9BF7
ΔE00 5.72
Light Purple
#BF77F6
ΔE00 5.91
Pastel Purple
#CAA0FF
ΔE00 6.04
Lavender (survey)
#C79FEF
ΔE00 6.88
Lilac (survey)
#CEA2FD
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B38CF6 #CFF68C
analogous
#8C9AF6 #B38CF6 #E88CF6
triadic
#B38CF6 #F6B38C #8CF6B3
tetradic
#B38CF6 #F68C9A #CFF68C #8CF6E8
square
#B38CF6 #F68C9A #CFF68C #8CF6E8
split-complementary
#B38CF6 #F6E88C #9AF68C
monochromatic
#681AED #8D53F2 #B38CF6 #D9C5FA #ECE3FD
Accessibility & contrast
On white
2.63
#B38CF6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.00
#B38CF6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B38CF6
8.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B38CF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B38CF6 | 1.00 | 2.63 | 8.00 | 8.00 |
| #FFFFFF | 2.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6EA0FA
Deuteranopia (green-blind)
#769FF3
Tritanopia (blue-blind)
#A69FB5
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #b38cf6; /* rgb */ color: rgb(179, 140, 246); /* oklch */ color: oklch(71.9% 0.154 299.5);
Tailwind
colors: {
custom: {
50: '#ccaef9',
500: '#b38cf6',
950: '#000000',
},
}SCSS
$custom: #b38cf6; $custom-light: #ccaef9; $custom-dark: #000000;
JSON
{
"hex": "#b38cf6",
"rgb": {
"r": 179,
"g": 140,
"b": 246
},
"hsl": {
"h": 262.075,
"s": 85.484,
"l": 75.686
},
"oklch": {
"l": 0.71929,
"c": 0.15385,
"h": 299.5
},
"luminance": 0.34994
}Semantic roles & 50–950 ramp
primary
#B38CF6
secondary
#EAF5D6
accent
#E20490
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141017
muted
#827F85