#B48BEA#B48BEA

#B48BEA is a light, vivid violet. Relative luminance 0.341; OKLCH L 71.2% C 0.140 H 302.9°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#B48BEA
RGBrgb(180, 139, 234)
HSLhsl(266, 69%, 73%)
HSVhsv(266, 41%, 92%)
CMYKcmyk(23.1%, 40.6%, 0%, 8.2%)
CIE-LABlab(65.05, 34.20, -42.33)
CIE-LCHlch(65.05, 54.42, 308.93°)
OKLaboklab(71.24% 0.0763 -0.1179)
OKLCHoklch(71.24% 0.14 302.9)
XYZxyz(42.9031, 34.1091, 82.1494)
Luminance0.3411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B48BEA #C1EA8B
analogous
#8B91EA #B48BEA #E48BEA
triadic
#B48BEA #EAB48B #8BEAB4
tetradic
#B48BEA #EA8B91 #C1EA8B #8BEAE4
square
#B48BEA #EA8B91 #C1EA8B #8BEAE4
split-complementary
#B48BEA #EAE48B #91EA8B
monochromatic
#7126D4 #9257E1 #B48BEA #D6BFF3 #EEE5FA

Accessibility & contrast

On white

2.68
#B48BEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#B48BEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B48BEA
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B48BEA#FFFFFF#000000##000000
##B48BEA1.002.687.827.82
#FFFFFF2.681.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#739DEE
Deuteranopia (green-blind)
#7C9EE7
Tritanopia (blue-blind)
#AB9BAF
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b48bea;
/* rgb */ color: rgb(180, 139, 234);
/* oklch */ color: oklch(71.2% 0.140 302.9);
Tailwind
colors: {
  custom: {
    50: '#ccadf1',
    500: '#b48bea',
    950: '#000000',
  },
}
SCSS
$custom: #b48bea;
$custom-light: #ccadf1;
$custom-dark: #000000;
JSON
{
  "hex": "#b48bea",
  "rgb": {
    "r": 180,
    "g": 139,
    "b": 234
  },
  "hsl": {
    "h": 265.895,
    "s": 69.343,
    "l": 73.137
  },
  "oklch": {
    "l": 0.71244,
    "c": 0.14041,
    "h": 302.9
  },
  "luminance": 0.34109
}

Semantic roles & 50–950 ramp

primary
#B48BEA
secondary
#E7F2D9
accent
#D11480
background
#FCFAFE
surface
#F9F4FD
border
#D2CED5
text
#131017
muted
#827F85

Preview Lab

Preview with #B48BEA

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

Preview Lab → · Contrast checker → · Palette generator →

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