#B728AF#B728AF

#B728AF is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.7% C 0.225 H 330.7°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#B728AF
RGBrgb(183, 40, 175)
HSLhsl(303, 64%, 44%)
HSVhsv(303, 78%, 72%)
CMYKcmyk(0%, 78.1%, 4.4%, 28.2%)
CIE-LABlab(45.20, 69.02, -39.97)
CIE-LCHlch(45.20, 79.75, 329.92°)
OKLaboklab(55.75% 0.1963 -0.1104)
OKLCHoklch(55.75% 0.225 330.7)
XYZxyz(28.0250, 14.6823, 41.9071)
Luminance0.1468 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B728AF #28B730
analogous
#7728B7 #B728AF #B72867
triadic
#B728AF #AFB728 #28AFB7
tetradic
#B728AF #B77728 #28B730 #2867B7
square
#B728AF #B77728 #28B730 #2867B7
split-complementary
#B728AF #67B728 #28B777
monochromatic
#53124F #851D7F #B728AF #D646CE #E178DC

Accessibility & contrast

On white

5.34
#B728AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#B728AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B728AF
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B728AF#FFFFFF#000000##FFFFFF
##B728AF1.005.343.945.34
#FFFFFF5.341.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#135FB3
Deuteranopia (green-blind)
#5772AC
Tritanopia (blue-blind)
#BE3C6B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b728af;
/* rgb */ color: rgb(183, 40, 175);
/* oklch */ color: oklch(55.7% 0.225 330.7);
Tailwind
colors: {
  custom: {
    50: '#d173c7',
    500: '#b728af',
    950: '#000000',
  },
}
SCSS
$custom: #b728af;
$custom-light: #d173c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b728af",
  "rgb": {
    "r": 183,
    "g": 40,
    "b": 175
  },
  "hsl": {
    "h": 303.357,
    "s": 64.126,
    "l": 43.725
  },
  "oklch": {
    "l": 0.55749,
    "c": 0.2252,
    "h": 330.7
  },
  "luminance": 0.1468
}

Semantic roles & 50–950 ramp

primary
#B728AF
secondary
#72C976
accent
#E74A41
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#150913
muted
#837B82

Preview Lab

Preview with #B728AF

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

Preview Lab → · Contrast checker → · Palette generator →

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