#B48EDA#B48EDA

#B48EDA is a light, moderate violet. Relative luminance 0.341; OKLCH L 71.0% C 0.115 H 306.6°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#B48EDA
RGBrgb(180, 142, 218)
HSLhsl(270, 51%, 71%)
HSVhsv(270, 35%, 85%)
CMYKcmyk(17.4%, 34.9%, 0%, 14.5%)
CIE-LABlab(65.05, 28.89, -33.47)
CIE-LCHlch(65.05, 44.21, 310.80°)
OKLaboklab(71.02% 0.0687 -0.0924)
OKLCHoklch(71.02% 0.115 306.6)
XYZxyz(41.1478, 34.1115, 70.7325)
Luminance0.3411 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B48EDA #B4DA8E
analogous
#8E8EDA #B48EDA #DA8EDA
triadic
#B48EDA #DAB48E #8EDAB4
tetradic
#B48EDA #DA8E8E #B4DA8E #8EDADA
square
#B48EDA #DA8E8E #B4DA8E #8EDADA
split-complementary
#B48EDA #DADA8E #8EDA8E
monochromatic
#773BB3 #9560CB #B48EDA #D3BCE9 #F0E8F7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B48EDA#FFFFFF#000000##000000
##B48EDA1.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)
#7F9CDD
Deuteranopia (green-blind)
#879ED8
Tritanopia (blue-blind)
#AF99AA
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b48eda;
/* rgb */ color: rgb(180, 142, 218);
/* oklch */ color: oklch(71.0% 0.115 306.6);
Tailwind
colors: {
  custom: {
    50: '#cbafe5',
    500: '#b48eda',
    950: '#000000',
  },
}
SCSS
$custom: #b48eda;
$custom-light: #cbafe5;
$custom-dark: #000000;
JSON
{
  "hex": "#b48eda",
  "rgb": {
    "r": 180,
    "g": 142,
    "b": 218
  },
  "hsl": {
    "h": 270,
    "s": 50.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.71017,
    "c": 0.11512,
    "h": 306.6
  },
  "luminance": 0.34111
}

Semantic roles & 50–950 ramp

primary
#B48EDA
secondary
#E2ECD8
accent
#BE2773
background
#FCFAFE
surface
#F9F4FC
border
#D2CED5
text
#131016
muted
#827F84

Preview Lab

Preview with #B48EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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