#B48CEE#B48CEE

#B48CEE is a light, vivid violet. Relative luminance 0.346; OKLCH L 71.6% C 0.144 H 301.7°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#B48CEE
RGBrgb(180, 140, 238)
HSLhsl(264, 74%, 74%)
HSVhsv(264, 41%, 93%)
CMYKcmyk(24.4%, 41.2%, 0%, 6.7%)
CIE-LABlab(65.46, 34.57, -43.89)
CIE-LCHlch(65.46, 55.87, 308.23°)
OKLaboklab(71.62% 0.0756 -0.1224)
OKLCHoklch(71.62% 0.144 301.7)
XYZxyz(43.6297, 34.6324, 85.2585)
Luminance0.3463 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B48CEE #C6EE8C
analogous
#8C95EE #B48CEE #E58CEE
triadic
#B48CEE #EEB48C #8CEEB4
tetradic
#B48CEE #EE8C95 #C6EE8C #8CEEE5
square
#B48CEE #EE8C95 #C6EE8C #8CEEE5
split-complementary
#B48CEE #EEE58C #95EE8C
monochromatic
#6E21DE #9157E6 #B48CEE #D7C1F6 #EEE4FB

Accessibility & contrast

On white

2.65
#B48CEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#B48CEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B48CEE
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B48CEE#FFFFFF#000000##000000
##B48CEE1.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#739EF2
Deuteranopia (green-blind)
#7B9FEB
Tritanopia (blue-blind)
#AA9CB2
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b48cee;
/* rgb */ color: rgb(180, 140, 238);
/* oklch */ color: oklch(71.6% 0.144 301.7);
Tailwind
colors: {
  custom: {
    50: '#ccaef4',
    500: '#b48cee',
    950: '#000000',
  },
}
SCSS
$custom: #b48cee;
$custom-light: #ccaef4;
$custom-dark: #000000;
JSON
{
  "hex": "#b48cee",
  "rgb": {
    "r": 180,
    "g": 140,
    "b": 238
  },
  "hsl": {
    "h": 264.49,
    "s": 74.242,
    "l": 74.118
  },
  "oklch": {
    "l": 0.71616,
    "c": 0.14387,
    "h": 301.7
  },
  "luminance": 0.34633
}

Semantic roles & 50–950 ramp

primary
#B48CEE
secondary
#E8F3D8
accent
#D60F85
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#141017
muted
#827F85

Preview Lab

Preview with #B48CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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