#B48CF6#B48CF6
#B48CF6 is a light, vivid violet. Relative luminance 0.351; OKLCH L 72.0% C 0.154 H 300.0°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).
Color values
| HEX | #B48CF6 |
|---|---|
| RGB | rgb(180, 140, 246) |
| HSL | hsl(263, 85%, 76%) |
| HSV | hsv(263, 43%, 96%) |
| CMYK | cmyk(26.8%, 43.1%, 0%, 3.5%) |
| CIE-LAB | lab(65.84, 36.47, -47.70) |
| CIE-LCH | lch(65.84, 60.04, 307.40°) |
| OKLab | oklab(72.02% 0.0769 -0.1335) |
| OKLCH | oklch(72.02% 0.154 300) |
| XYZ | xyz(44.8312, 35.1131, 91.5865) |
| Luminance | 0.3511 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 2.98
Baby Purple
#CA9BF7
ΔE00 5.57
Light Purple
#BF77F6
ΔE00 5.80
Pastel Purple
#CAA0FF
ΔE00 5.93
Lavender (survey)
#C79FEF
ΔE00 6.76
Lilac (survey)
#CEA2FD
ΔE00 6.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B48CF6 #CEF68C
analogous
#8C99F6 #B48CF6 #E98CF6
triadic
#B48CF6 #F6B48C #8CF6B4
tetradic
#B48CF6 #F68C99 #CEF68C #8CF6E9
square
#B48CF6 #F68C99 #CEF68C #8CF6E9
split-complementary
#B48CF6 #F6E98C #99F68C
monochromatic
#6A1AED #8F53F2 #B48CF6 #D9C5FA #ECE3FD
Accessibility & contrast
On white
2.62
#B48CF6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.02
#B48CF6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B48CF6
8.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B48CF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B48CF6 | 1.00 | 2.62 | 8.02 | 8.02 |
| #FFFFFF | 2.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6EA0FA
Deuteranopia (green-blind)
#779FF3
Tritanopia (blue-blind)
#A79FB5
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #b48cf6; /* rgb */ color: rgb(180, 140, 246); /* oklch */ color: oklch(72.0% 0.154 300.0);
Tailwind
colors: {
custom: {
50: '#cdaef9',
500: '#b48cf6',
950: '#000000',
},
}SCSS
$custom: #b48cf6; $custom-light: #cdaef9; $custom-dark: #000000;
JSON
{
"hex": "#b48cf6",
"rgb": {
"r": 180,
"g": 140,
"b": 246
},
"hsl": {
"h": 262.642,
"s": 85.484,
"l": 75.686
},
"oklch": {
"l": 0.72021,
"c": 0.15403,
"h": 300
},
"luminance": 0.35113
}Semantic roles & 50–950 ramp
primary
#B48CF6
secondary
#E9F5D6
accent
#E2048E
background
#FCFAFF
surface
#F9F4FF
border
#D2CED7
text
#141017
muted
#827F85