#B28BBC#B28BBC

#B28BBC is a light, moderate purple. Relative luminance 0.316; OKLCH L 69.0% C 0.083 H 319.3°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#B28BBC
RGBrgb(178, 139, 188)
HSLhsl(288, 27%, 64%)
HSVhsv(288, 26%, 74%)
CMYKcmyk(5.3%, 26.1%, 0%, 26.3%)
CIE-LABlab(62.98, 23.56, -19.89)
CIE-LCHlch(62.98, 30.83, 319.84°)
OKLaboklab(69.01% 0.0627 -0.0539)
OKLCHoklch(69.01% 0.083 319.3)
XYZxyz(36.6686, 31.5618, 51.7276)
Luminance0.3156 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B28BBC #95BC8B
analogous
#9A8BBC #B28BBC #BC8BAE
triadic
#B28BBC #BCB28B #8BBCB2
tetradic
#B28BBC #BC9A8B #95BC8B #8BAEBC
square
#B28BBC #BC9A8B #95BC8B #8BAEBC
split-complementary
#B28BBC #AEBC8B #8BBC9A
monochromatic
#774B82 #9864A6 #B28BBC #CCB2D2 #E6D9E9

Accessibility & contrast

On white

2.87
#B28BBC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#B28BBC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B28BBC
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B28BBC#FFFFFF#000000##000000
##B28BBC1.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8696BE
Deuteranopia (green-blind)
#8E9ABA
Tritanopia (blue-blind)
#B3909C
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b28bbc;
/* rgb */ color: rgb(178, 139, 188);
/* oklch */ color: oklch(69.0% 0.083 319.3);
Tailwind
colors: {
  custom: {
    50: '#c9add0',
    500: '#b28bbc',
    950: '#000000',
  },
}
SCSS
$custom: #b28bbc;
$custom-light: #c9add0;
$custom-dark: #000000;
JSON
{
  "hex": "#b28bbc",
  "rgb": {
    "r": 178,
    "g": 139,
    "b": 188
  },
  "hsl": {
    "h": 287.755,
    "s": 26.776,
    "l": 64.118
  },
  "oklch": {
    "l": 0.69007,
    "c": 0.08273,
    "h": 319.3
  },
  "luminance": 0.31561
}

Semantic roles & 50–950 ramp

primary
#B28BBC
secondary
#CCDAC9
accent
#A54055
background
#FCFAFC
surface
#F8F4F9
border
#D1CED2
text
#131014
muted
#827F82

Preview Lab

Preview with #B28BBC

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

Preview Lab → · Contrast checker → · Palette generator →

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