#B28CB2#B28CB2

#B28CB2 is a light, moderate purple. Relative luminance 0.314; OKLCH L 68.8% C 0.070 H 326.3°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#B28CB2
RGBrgb(178, 140, 178)
HSLhsl(300, 20%, 62%)
HSVhsv(300, 21%, 70%)
CMYKcmyk(0%, 21.3%, 0%, 30.2%)
CIE-LABlab(62.87, 21.03, -14.40)
CIE-LCHlch(62.87, 25.48, 325.60°)
OKLaboklab(68.81% 0.058 -0.0387)
OKLCHoklch(68.81% 0.07 326.3)
XYZxyz(35.7732, 31.4364, 46.2942)
Luminance0.3144 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B28CB2 #8CB28C
analogous
#9F8CB2 #B28CB2 #B28C9F
triadic
#B28CB2 #B2B28C #8CB2B2
tetradic
#B28CB2 #B29F8C #8CB28C #8C9FB2
square
#B28CB2 #B29F8C #8CB28C #8C9FB2
split-complementary
#B28CB2 #9FB28C #8CB29F
monochromatic
#754E75 #996799 #B28CB2 #CBB1CB #E3D5E3

Accessibility & contrast

On white

2.88
#B28CB2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#B28CB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B28CB2
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B28CB2#FFFFFF#000000##000000
##B28CB21.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A95B4
Deuteranopia (green-blind)
#929AB1
Tritanopia (blue-blind)
#B58F99
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b28cb2;
/* rgb */ color: rgb(178, 140, 178);
/* oklch */ color: oklch(68.8% 0.070 326.3);
Tailwind
colors: {
  custom: {
    50: '#c9aec9',
    500: '#b28cb2',
    950: '#000000',
  },
}
SCSS
$custom: #b28cb2;
$custom-light: #c9aec9;
$custom-dark: #000000;
JSON
{
  "hex": "#b28cb2",
  "rgb": {
    "r": 178,
    "g": 140,
    "b": 178
  },
  "hsl": {
    "h": 300,
    "s": 19.792,
    "l": 62.353
  },
  "oklch": {
    "l": 0.68812,
    "c": 0.06974,
    "h": 326.3
  },
  "luminance": 0.31435
}

Semantic roles & 50–950 ramp

primary
#B28CB2
secondary
#C6D4C6
accent
#9E4747
background
#FCFAFC
surface
#F8F4F8
border
#D1CED1
text
#131013
muted
#827F82

Preview Lab

Preview with #B28CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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