#B28ABB#B28ABB

#B28ABB is a light, moderate purple. Relative luminance 0.312; OKLCH L 68.8% C 0.083 H 320.1°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#B28ABB
RGBrgb(178, 138, 187)
HSLhsl(289, 26%, 64%)
HSVhsv(289, 26%, 73%)
CMYKcmyk(4.8%, 26.2%, 0%, 26.7%)
CIE-LABlab(62.70, 23.92, -19.74)
CIE-LCHlch(62.70, 31.02, 320.47°)
OKLaboklab(68.78% 0.064 -0.0535)
OKLCHoklch(68.78% 0.083 320.1)
XYZxyz(36.4170, 31.2306, 51.1138)
Luminance0.3123 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B28ABB #93BB8A
analogous
#998ABB #B28ABB #BB8AAB
triadic
#B28ABB #BBB28A #8ABBB2
tetradic
#B28ABB #BB998A #93BB8A #8AABBB
square
#B28ABB #BB998A #93BB8A #8AABBB
split-complementary
#B28ABB #ABBB8A #8ABB99
monochromatic
#764A80 #9963A5 #B28ABB #CBB1D1 #E5D7E8

Accessibility & contrast

On white

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

On black

7.25
#B28ABB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B28ABB
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B28ABB#FFFFFF#000000##000000
##B28ABB1.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b28abb;
/* rgb */ color: rgb(178, 138, 187);
/* oklch */ color: oklch(68.8% 0.083 320.1);
Tailwind
colors: {
  custom: {
    50: '#c9accf',
    500: '#b28abb',
    950: '#000000',
  },
}
SCSS
$custom: #b28abb;
$custom-light: #c9accf;
$custom-dark: #000000;
JSON
{
  "hex": "#b28abb",
  "rgb": {
    "r": 178,
    "g": 138,
    "b": 187
  },
  "hsl": {
    "h": 288.98,
    "s": 26.486,
    "l": 63.725
  },
  "oklch": {
    "l": 0.68783,
    "c": 0.0834,
    "h": 320.1
  },
  "luminance": 0.3123
}

Semantic roles & 50–950 ramp

primary
#B28ABB
secondary
#CBD9C8
accent
#A54053
background
#FCFAFC
surface
#F8F4F9
border
#D1CED2
text
#131013
muted
#827F82

Preview Lab

Preview with #B28ABB

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

Preview Lab → · Contrast checker → · Palette generator →

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