#B728AC#B728AC

#B728AC is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.6% C 0.223 H 331.6°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#B728AC
RGBrgb(183, 40, 172)
HSLhsl(305, 64%, 44%)
HSVhsv(305, 78%, 72%)
CMYKcmyk(0%, 78.1%, 6%, 28.2%)
CIE-LABlab(45.03, 68.56, -38.45)
CIE-LCHlch(45.03, 78.61, 330.71°)
OKLaboklab(55.58% 0.1963 -0.106)
OKLCHoklch(55.58% 0.223 331.6)
XYZxyz(27.7337, 14.5657, 40.3725)
Luminance0.1456 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B728AC #28B733
analogous
#7A28B7 #B728AC #B72864
triadic
#B728AC #ACB728 #28ACB7
tetradic
#B728AC #B77A28 #28B733 #2864B7
square
#B728AC #B77A28 #28B733 #2864B7
split-complementary
#B728AC #64B728 #28B77A
monochromatic
#53124E #851D7D #B728AC #D646CB #E178D9

Accessibility & contrast

On white

5.37
#B728AC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#B728AC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B728AC
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B728AC#FFFFFF#000000##FFFFFF
##B728AC1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#195EAF
Deuteranopia (green-blind)
#5871A9
Tritanopia (blue-blind)
#BF3B69
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b728ac;
/* rgb */ color: rgb(183, 40, 172);
/* oklch */ color: oklch(55.6% 0.223 331.6);
Tailwind
colors: {
  custom: {
    50: '#d173c5',
    500: '#b728ac',
    950: '#000000',
  },
}
SCSS
$custom: #b728ac;
$custom-light: #d173c5;
$custom-dark: #000000;
JSON
{
  "hex": "#b728ac",
  "rgb": {
    "r": 183,
    "g": 40,
    "b": 172
  },
  "hsl": {
    "h": 304.615,
    "s": 64.126,
    "l": 43.725
  },
  "oklch": {
    "l": 0.55581,
    "c": 0.22307,
    "h": 331.6
  },
  "luminance": 0.14563
}

Semantic roles & 50–950 ramp

primary
#B728AC
secondary
#72C978
accent
#E74D41
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#150913
muted
#837B82

Preview Lab

Preview with #B728AC

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

Preview Lab → · Contrast checker → · Palette generator →

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