#B28ABA#B28ABA

#B28ABA is a light, moderate purple. Relative luminance 0.312; OKLCH L 68.7% C 0.082 H 320.7°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#B28ABA
RGBrgb(178, 138, 186)
HSLhsl(290, 26%, 64%)
HSVhsv(290, 26%, 73%)
CMYKcmyk(4.3%, 25.8%, 0%, 27.1%)
CIE-LABlab(62.67, 23.72, -19.23)
CIE-LCHlch(62.67, 30.54, 320.96°)
OKLaboklab(68.74% 0.0637 -0.0521)
OKLCHoklch(68.74% 0.082 320.7)
XYZxyz(36.3103, 31.1879, 50.5519)
Luminance0.3119 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B28ABA #92BA8A
analogous
#9A8ABA #B28ABA #BA8AAA
triadic
#B28ABA #BAB28A #8ABAB2
tetradic
#B28ABA #BA9A8A #92BA8A #8AAABA
square
#B28ABA #BA9A8A #92BA8A #8AAABA
split-complementary
#B28ABA #AABA8A #8ABA9A
monochromatic
#764B7F #9964A3 #B28ABA #CBB0D1 #E5D7E7

Accessibility & contrast

On white

2.90
#B28ABA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#B28ABA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B28ABA
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B28ABA#FFFFFF#000000##000000
##B28ABA1.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8595BC
Deuteranopia (green-blind)
#8E99B8
Tritanopia (blue-blind)
#B38F9B
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b28aba;
/* rgb */ color: rgb(178, 138, 186);
/* oklch */ color: oklch(68.7% 0.082 320.7);
Tailwind
colors: {
  custom: {
    50: '#c9acce',
    500: '#b28aba',
    950: '#000000',
  },
}
SCSS
$custom: #b28aba;
$custom-light: #c9acce;
$custom-dark: #000000;
JSON
{
  "hex": "#b28aba",
  "rgb": {
    "r": 178,
    "g": 138,
    "b": 186
  },
  "hsl": {
    "h": 290,
    "s": 25.806,
    "l": 63.529
  },
  "oklch": {
    "l": 0.68744,
    "c": 0.08225,
    "h": 320.7
  },
  "luminance": 0.31187
}

Semantic roles & 50–950 ramp

primary
#B28ABA
secondary
#CAD8C7
accent
#A44152
background
#FCFAFC
surface
#F8F4F9
border
#D1CED2
text
#131013
muted
#827F82

Preview Lab

Preview with #B28ABA

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

Preview Lab → · Contrast checker → · Palette generator →

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