#B728A5#B728A5

#B728A5 is a mid, highly saturated purple. Relative luminance 0.143; OKLCH L 55.2% C 0.218 H 334.0°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#B728A5
RGBrgb(183, 40, 165)
HSLhsl(308, 64%, 44%)
HSVhsv(308, 78%, 72%)
CMYKcmyk(0%, 78.1%, 9.8%, 28.2%)
CIE-LABlab(44.67, 67.51, -34.87)
CIE-LCHlch(44.67, 75.99, 332.68°)
OKLaboklab(55.2% 0.1961 -0.0956)
OKLCHoklch(55.2% 0.218 334)
XYZxyz(27.0790, 14.3039, 36.9248)
Luminance0.1430 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B728A5 #28B73A
analogous
#8128B7 #B728A5 #B7285D
triadic
#B728A5 #A5B728 #28A5B7
tetradic
#B728A5 #B78128 #28B73A #285DB7
square
#B728A5 #B78128 #28B73A #285DB7
split-complementary
#B728A5 #5DB728 #28B781
monochromatic
#53124A #851D78 #B728A5 #D646C4 #E178D4

Accessibility & contrast

On white

5.44
#B728A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#B728A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B728A5
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B728A5#FFFFFF#000000##FFFFFF
##B728A51.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245CA8
Deuteranopia (green-blind)
#5C71A2
Tritanopia (blue-blind)
#C03765
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b728a5;
/* rgb */ color: rgb(183, 40, 165);
/* oklch */ color: oklch(55.2% 0.218 334.0);
Tailwind
colors: {
  custom: {
    50: '#d173c0',
    500: '#b728a5',
    950: '#000000',
  },
}
SCSS
$custom: #b728a5;
$custom-light: #d173c0;
$custom-dark: #000000;
JSON
{
  "hex": "#b728a5",
  "rgb": {
    "r": 183,
    "g": 40,
    "b": 165
  },
  "hsl": {
    "h": 307.552,
    "s": 64.126,
    "l": 43.725
  },
  "oklch": {
    "l": 0.55199,
    "c": 0.21816,
    "h": 334
  },
  "luminance": 0.14301
}

Semantic roles & 50–950 ramp

primary
#B728A5
secondary
#72C97D
accent
#E75641
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#150912
muted
#837B81

Preview Lab

Preview with #B728A5

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

Preview Lab → · Contrast checker → · Palette generator →

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