#B728A6#B728A6

#B728A6 is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.3% C 0.219 H 333.7°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#B728A6
RGBrgb(183, 40, 166)
HSLhsl(307, 64%, 44%)
HSVhsv(307, 78%, 72%)
CMYKcmyk(0%, 78.1%, 9.3%, 28.2%)
CIE-LABlab(44.72, 67.66, -35.39)
CIE-LCHlch(44.72, 76.36, 332.39°)
OKLaboklab(55.25% 0.1961 -0.0971)
OKLCHoklch(55.25% 0.219 333.7)
XYZxyz(27.1704, 14.3404, 37.4060)
Luminance0.1434 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B728A6 #28B739
analogous
#8028B7 #B728A6 #B7285E
triadic
#B728A6 #A6B728 #28A6B7
tetradic
#B728A6 #B78028 #28B739 #285EB7
square
#B728A6 #B78028 #28B739 #285EB7
split-complementary
#B728A6 #5EB728 #28B780
monochromatic
#53124B #851D78 #B728A6 #D646C5 #E178D5

Accessibility & contrast

On white

5.43
#B728A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#B728A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B728A6
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B728A6#FFFFFF#000000##FFFFFF
##B728A61.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#225DA9
Deuteranopia (green-blind)
#5B71A3
Tritanopia (blue-blind)
#C03866
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b728a6;
/* rgb */ color: rgb(183, 40, 166);
/* oklch */ color: oklch(55.3% 0.219 333.7);
Tailwind
colors: {
  custom: {
    50: '#d173c1',
    500: '#b728a6',
    950: '#000000',
  },
}
SCSS
$custom: #b728a6;
$custom-light: #d173c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b728a6",
  "rgb": {
    "r": 183,
    "g": 40,
    "b": 166
  },
  "hsl": {
    "h": 307.133,
    "s": 64.126,
    "l": 43.725
  },
  "oklch": {
    "l": 0.55252,
    "c": 0.21886,
    "h": 333.7
  },
  "luminance": 0.14338
}

Semantic roles & 50–950 ramp

primary
#B728A6
secondary
#72C97C
accent
#E75441
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#150912
muted
#837B81

Preview Lab

Preview with #B728A6

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

Preview Lab → · Contrast checker → · Palette generator →

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