#B728A8#B728A8

#B728A8 is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.4% C 0.220 H 333.0°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#B728A8
RGBrgb(183, 40, 168)
HSLhsl(306, 64%, 44%)
HSVhsv(306, 78%, 72%)
CMYKcmyk(0%, 78.1%, 8.2%, 28.2%)
CIE-LABlab(44.82, 67.96, -36.41)
CIE-LCHlch(44.82, 77.10, 331.82°)
OKLaboklab(55.36% 0.1962 -0.1001)
OKLCHoklch(55.36% 0.22 333)
XYZxyz(27.3553, 14.4144, 38.3797)
Luminance0.1441 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B728A8 #28B737
analogous
#7E28B7 #B728A8 #B72860
triadic
#B728A8 #A8B728 #28A8B7
tetradic
#B728A8 #B77E28 #28B737 #2860B7
square
#B728A8 #B77E28 #28B737 #2860B7
split-complementary
#B728A8 #60B728 #28B77E
monochromatic
#53124C #851D7A #B728A8 #D646C7 #E178D6

Accessibility & contrast

On white

5.41
#B728A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#B728A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B728A8
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B728A8#FFFFFF#000000##FFFFFF
##B728A81.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#205DAB
Deuteranopia (green-blind)
#5A71A5
Tritanopia (blue-blind)
#BF3967
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b728a8;
/* rgb */ color: rgb(183, 40, 168);
/* oklch */ color: oklch(55.4% 0.220 333.0);
Tailwind
colors: {
  custom: {
    50: '#d173c2',
    500: '#b728a8',
    950: '#000000',
  },
}
SCSS
$custom: #b728a8;
$custom-light: #d173c2;
$custom-dark: #000000;
JSON
{
  "hex": "#b728a8",
  "rgb": {
    "r": 183,
    "g": 40,
    "b": 168
  },
  "hsl": {
    "h": 306.294,
    "s": 64.126,
    "l": 43.725
  },
  "oklch": {
    "l": 0.55361,
    "c": 0.22025,
    "h": 333
  },
  "luminance": 0.14412
}

Semantic roles & 50–950 ramp

primary
#B728A8
secondary
#72C97B
accent
#E75241
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#150912
muted
#837B81

Preview Lab

Preview with #B728A8

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

Preview Lab → · Contrast checker → · Palette generator →

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