#B48CD7#B48CD7

#B48CD7 is a light, moderate violet. Relative luminance 0.334; OKLCH L 70.5% C 0.115 H 308.1°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#B48CD7
RGBrgb(180, 140, 215)
HSLhsl(272, 48%, 70%)
HSVhsv(272, 35%, 84%)
CMYKcmyk(16.3%, 34.9%, 0%, 15.7%)
CIE-LABlab(64.46, 29.34, -32.73)
CIE-LCHlch(64.46, 43.95, 311.88°)
OKLaboklab(70.52% 0.0709 -0.0903)
OKLCHoklch(70.52% 0.115 308.1)
XYZxyz(40.4639, 33.3661, 68.5854)
Luminance0.3337 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B48CD7 #AFD78C
analogous
#8F8CD7 #B48CD7 #D78CD5
triadic
#B48CD7 #D7B48C #8CD7B4
tetradic
#B48CD7 #D78F8C #AFD78C #8CD5D7
square
#B48CD7 #D78F8C #AFD78C #8CD5D7
split-complementary
#B48CD7 #D5D78C #8CD78F
monochromatic
#783CAD #965FC7 #B48CD7 #D2B9E7 #EFE7F7

Accessibility & contrast

On white

2.74
#B48CD7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#B48CD7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B48CD7
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B48CD7#FFFFFF#000000##000000
##B48CD71.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D9BDA
Deuteranopia (green-blind)
#869DD5
Tritanopia (blue-blind)
#B097A8
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #b48cd7;
/* rgb */ color: rgb(180, 140, 215);
/* oklch */ color: oklch(70.5% 0.115 308.1);
Tailwind
colors: {
  custom: {
    50: '#cbaee3',
    500: '#b48cd7',
    950: '#000000',
  },
}
SCSS
$custom: #b48cd7;
$custom-light: #cbaee3;
$custom-dark: #000000;
JSON
{
  "hex": "#b48cd7",
  "rgb": {
    "r": 180,
    "g": 140,
    "b": 215
  },
  "hsl": {
    "h": 272,
    "s": 48.387,
    "l": 69.608
  },
  "oklch": {
    "l": 0.70524,
    "c": 0.11475,
    "h": 308.1
  },
  "luminance": 0.33366
}

Semantic roles & 50–950 ramp

primary
#B48CD7
secondary
#DFEAD5
accent
#BC2A6E
background
#FCFAFD
surface
#F9F4FB
border
#D2CED4
text
#131015
muted
#827F83

Preview Lab

Preview with #B48CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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