#B728A3#B728A3

#B728A3 is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 55.1% C 0.217 H 334.7°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#B728A3
RGBrgb(183, 40, 163)
HSLhsl(308, 64%, 44%)
HSVhsv(308, 78%, 72%)
CMYKcmyk(0%, 78.1%, 10.9%, 28.2%)
CIE-LABlab(44.56, 67.22, -33.84)
CIE-LCHlch(44.56, 75.26, 333.28°)
OKLaboklab(55.09% 0.196 -0.0927)
OKLCHoklch(55.09% 0.217 334.7)
XYZxyz(26.8984, 14.2316, 35.9736)
Luminance0.1423 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B728A3 #28B73C
analogous
#8328B7 #B728A3 #B7285B
triadic
#B728A3 #A3B728 #28A3B7
tetradic
#B728A3 #B78328 #28B73C #285BB7
square
#B728A3 #B78328 #28B73C #285BB7
split-complementary
#B728A3 #5BB728 #28B783
monochromatic
#53124A #851D76 #B728A3 #D646C2 #E178D3

Accessibility & contrast

On white

5.46
#B728A3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#B728A3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B728A3
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B728A3#FFFFFF#000000##FFFFFF
##B728A31.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265CA6
Deuteranopia (green-blind)
#5D71A0
Tritanopia (blue-blind)
#C03664
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b728a3;
/* rgb */ color: rgb(183, 40, 163);
/* oklch */ color: oklch(55.1% 0.217 334.7);
Tailwind
colors: {
  custom: {
    50: '#d173be',
    500: '#b728a3',
    950: '#000000',
  },
}
SCSS
$custom: #b728a3;
$custom-light: #d173be;
$custom-dark: #000000;
JSON
{
  "hex": "#b728a3",
  "rgb": {
    "r": 183,
    "g": 40,
    "b": 163
  },
  "hsl": {
    "h": 308.392,
    "s": 64.126,
    "l": 43.725
  },
  "oklch": {
    "l": 0.55092,
    "c": 0.21679,
    "h": 334.7
  },
  "luminance": 0.14229
}

Semantic roles & 50–950 ramp

primary
#B728A3
secondary
#72C97E
accent
#E75841
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#150912
muted
#837B81

Preview Lab

Preview with #B728A3

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

Preview Lab → · Contrast checker → · Palette generator →

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