#B28ABC#B28ABC

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

Color values

HEX#B28ABC
RGBrgb(178, 138, 188)
HSLhsl(288, 27%, 64%)
HSVhsv(288, 27%, 74%)
CMYKcmyk(5.3%, 26.6%, 0%, 26.3%)
CIE-LABlab(62.74, 24.12, -20.25)
CIE-LCHlch(62.74, 31.50, 319.98°)
OKLaboklab(68.82% 0.0643 -0.0549)
OKLCHoklch(68.82% 0.085 319.5)
XYZxyz(36.5244, 31.2735, 51.6795)
Luminance0.3127 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B28ABC #94BC8A
analogous
#998ABC #B28ABC #BC8AAD
triadic
#B28ABC #BCB28A #8ABCB2
tetradic
#B28ABC #BC998A #94BC8A #8AADBC
square
#B28ABC #BC998A #94BC8A #8AADBC
split-complementary
#B28ABC #ADBC8A #8ABC99
monochromatic
#764A81 #9863A6 #B28ABC #CCB1D2 #E5D8E9

Accessibility & contrast

On white

2.89
#B28ABC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B28ABC#FFFFFF#000000##000000
##B28ABC1.002.897.257.25
#FFFFFF2.891.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8495BE
Deuteranopia (green-blind)
#8D99BA
Tritanopia (blue-blind)
#B38F9C
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #b28abc;
/* rgb */ color: rgb(178, 138, 188);
/* oklch */ color: oklch(68.8% 0.085 319.5);
Tailwind
colors: {
  custom: {
    50: '#c9acd0',
    500: '#b28abc',
    950: '#000000',
  },
}
SCSS
$custom: #b28abc;
$custom-light: #c9acd0;
$custom-dark: #000000;
JSON
{
  "hex": "#b28abc",
  "rgb": {
    "r": 178,
    "g": 138,
    "b": 188
  },
  "hsl": {
    "h": 288,
    "s": 27.174,
    "l": 63.922
  },
  "oklch": {
    "l": 0.68822,
    "c": 0.08455,
    "h": 319.5
  },
  "luminance": 0.31273
}

Semantic roles & 50–950 ramp

primary
#B28ABC
secondary
#CCDAC8
accent
#A64054
background
#FCFAFC
surface
#F8F4F9
border
#D1CED2
text
#131014
muted
#827F82

Preview Lab

Preview with #B28ABC

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

Preview Lab → · Contrast checker → · Palette generator →

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