#B728AE#B728AE

#B728AE is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.7% C 0.224 H 331.0°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#B728AE
RGBrgb(183, 40, 174)
HSLhsl(304, 64%, 44%)
HSVhsv(304, 78%, 72%)
CMYKcmyk(0%, 78.1%, 4.9%, 28.2%)
CIE-LABlab(45.14, 68.86, -39.47)
CIE-LCHlch(45.14, 79.37, 330.18°)
OKLaboklab(55.69% 0.1963 -0.1089)
OKLCHoklch(55.69% 0.224 331)
XYZxyz(27.9272, 14.6431, 41.3917)
Luminance0.1464 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B728AE #28B731
analogous
#7828B7 #B728AE #B72866
triadic
#B728AE #AEB728 #28AEB7
tetradic
#B728AE #B77828 #28B731 #2866B7
square
#B728AE #B77828 #28B731 #2866B7
split-complementary
#B728AE #66B728 #28B778
monochromatic
#53124E #851D7E #B728AE #D646CD #E178DB

Accessibility & contrast

On white

5.35
#B728AE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#B728AE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B728AE
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B728AE#FFFFFF#000000##FFFFFF
##B728AE1.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#155EB1
Deuteranopia (green-blind)
#5772AB
Tritanopia (blue-blind)
#BE3C6A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b728ae;
/* rgb */ color: rgb(183, 40, 174);
/* oklch */ color: oklch(55.7% 0.224 331.0);
Tailwind
colors: {
  custom: {
    50: '#d173c6',
    500: '#b728ae',
    950: '#000000',
  },
}
SCSS
$custom: #b728ae;
$custom-light: #d173c6;
$custom-dark: #000000;
JSON
{
  "hex": "#b728ae",
  "rgb": {
    "r": 183,
    "g": 40,
    "b": 174
  },
  "hsl": {
    "h": 303.776,
    "s": 64.126,
    "l": 43.725
  },
  "oklch": {
    "l": 0.55693,
    "c": 0.22448,
    "h": 331
  },
  "luminance": 0.14641
}

Semantic roles & 50–950 ramp

primary
#B728AE
secondary
#72C977
accent
#E74B41
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#150913
muted
#837B82

Preview Lab

Preview with #B728AE

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

Preview Lab → · Contrast checker → · Palette generator →

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