#B48CF2#B48CF2
#B48CF2 is a light, vivid violet. Relative luminance 0.349; OKLCH L 71.8% C 0.149 H 300.8°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).
Color values
| HEX | #B48CF2 |
|---|---|
| RGB | rgb(180, 140, 242) |
| HSL | hsl(264, 80%, 75%) |
| HSV | hsv(264, 42%, 95%) |
| CMYK | cmyk(25.6%, 42.1%, 0%, 5.1%) |
| CIE-LAB | lab(65.65, 35.52, -45.80) |
| CIE-LCH | lch(65.65, 57.96, 307.79°) |
| OKLab | oklab(71.82% 0.0763 -0.1279) |
| OKLCH | oklch(71.82% 0.149 300.8) |
| XYZ | xyz(44.2239, 34.8701, 88.3879) |
| Luminance | 0.3487 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Liliac
#C48EFD
ΔE00 3.03
Baby Purple
#CA9BF7
ΔE00 5.33
Light Purple
#BF77F6
ΔE00 5.83
Pastel Purple
#CAA0FF
ΔE00 5.85
Lavender (survey)
#C79FEF
ΔE00 6.40
Pale Purple
#B790D4
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B48CF2 #CAF28C
analogous
#8C97F2 #B48CF2 #E78CF2
triadic
#B48CF2 #F2B48C #8CF2B4
tetradic
#B48CF2 #F28C97 #CAF28C #8CF2E7
square
#B48CF2 #F28C97 #CAF28C #8CF2E7
split-complementary
#B48CF2 #F2E78C #97F28C
monochromatic
#6C1EE6 #9055EC #B48CF2 #D8C3F8 #EDE4FC
Accessibility & contrast
On white
2.63
#B48CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.97
#B48CF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #B48CF2
7.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B48CF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##B48CF2 | 1.00 | 2.63 | 7.97 | 7.97 |
| #FFFFFF | 2.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#719FF6
Deuteranopia (green-blind)
#799FEF
Tritanopia (blue-blind)
#A99DB3
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #b48cf2; /* rgb */ color: rgb(180, 140, 242); /* oklch */ color: oklch(71.8% 0.149 300.8);
Tailwind
colors: {
custom: {
50: '#ccaef7',
500: '#b48cf2',
950: '#000000',
},
}SCSS
$custom: #b48cf2; $custom-light: #ccaef7; $custom-dark: #000000;
JSON
{
"hex": "#b48cf2",
"rgb": {
"r": 180,
"g": 140,
"b": 242
},
"hsl": {
"h": 263.529,
"s": 79.687,
"l": 74.902
},
"oklch": {
"l": 0.71817,
"c": 0.14895,
"h": 300.8
},
"luminance": 0.3487
}Semantic roles & 50–950 ramp
primary
#B48CF2
secondary
#E9F4D7
accent
#DC0A89
background
#FCFAFF
surface
#F9F4FE
border
#D2CED6
text
#141017
muted
#827F85