#B48DEC#B48DEC

#B48DEC is a light, vivid violet. Relative luminance 0.348; OKLCH L 71.7% C 0.140 H 301.9°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#B48DEC
RGBrgb(180, 141, 236)
HSLhsl(265, 71%, 74%)
HSVhsv(265, 40%, 93%)
CMYKcmyk(23.7%, 40.3%, 0%, 7.5%)
CIE-LABlab(65.60, 33.55, -42.57)
CIE-LCHlch(65.60, 54.20, 308.24°)
OKLaboklab(71.69% 0.0739 -0.1186)
OKLCHoklch(71.69% 0.14 301.9)
XYZxyz(43.4843, 34.8091, 83.7686)
Luminance0.3481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B48DEC #C5EC8D
analogous
#8D96EC #B48DEC #E48DEC
triadic
#B48DEC #ECB48D #8DECB4
tetradic
#B48DEC #EC8D96 #C5EC8D #8DECE4
square
#B48DEC #EC8D96 #C5EC8D #8DECE4
split-complementary
#B48DEC #ECE48D #96EC8D
monochromatic
#6F24DA #9159E3 #B48DEC #D7C1F5 #EEE5FB

Accessibility & contrast

On white

2.64
#B48DEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#B48DEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B48DEC
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B48DEC#FFFFFF#000000##000000
##B48DEC1.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#759FF0
Deuteranopia (green-blind)
#7D9FE9
Tritanopia (blue-blind)
#AA9DB1
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b48dec;
/* rgb */ color: rgb(180, 141, 236);
/* oklch */ color: oklch(71.7% 0.140 301.9);
Tailwind
colors: {
  custom: {
    50: '#ccaff2',
    500: '#b48dec',
    950: '#000000',
  },
}
SCSS
$custom: #b48dec;
$custom-light: #ccaff2;
$custom-dark: #000000;
JSON
{
  "hex": "#b48dec",
  "rgb": {
    "r": 180,
    "g": 141,
    "b": 236
  },
  "hsl": {
    "h": 264.632,
    "s": 71.429,
    "l": 73.922
  },
  "oklch": {
    "l": 0.7169,
    "c": 0.13971,
    "h": 301.9
  },
  "luminance": 0.34809
}

Semantic roles & 50–950 ramp

primary
#B48DEC
secondary
#E8F2D9
accent
#D31284
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #B48DEC

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#B48DEC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva