#B728A9#B728A9

#B728A9 is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.4% C 0.221 H 332.6°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#B728A9
RGBrgb(183, 40, 169)
HSLhsl(306, 64%, 44%)
HSVhsv(306, 78%, 72%)
CMYKcmyk(0%, 78.1%, 7.7%, 28.2%)
CIE-LABlab(44.87, 68.11, -36.93)
CIE-LCHlch(44.87, 77.47, 331.53°)
OKLaboklab(55.42% 0.1962 -0.1015)
OKLCHoklch(55.42% 0.221 332.6)
XYZxyz(27.4488, 14.4518, 38.8722)
Luminance0.1445 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B728A9 #28B736
analogous
#7D28B7 #B728A9 #B72861
triadic
#B728A9 #A9B728 #28A9B7
tetradic
#B728A9 #B77D28 #28B736 #2861B7
square
#B728A9 #B77D28 #28B736 #2861B7
split-complementary
#B728A9 #61B728 #28B77D
monochromatic
#53124C #851D7B #B728A9 #D646C8 #E178D7

Accessibility & contrast

On white

5.40
#B728A9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#B728A9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B728A9
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B728A9#FFFFFF#000000##FFFFFF
##B728A91.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5DAC
Deuteranopia (green-blind)
#5A71A6
Tritanopia (blue-blind)
#BF3968
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b728a9;
/* rgb */ color: rgb(183, 40, 169);
/* oklch */ color: oklch(55.4% 0.221 332.6);
Tailwind
colors: {
  custom: {
    50: '#d173c3',
    500: '#b728a9',
    950: '#000000',
  },
}
SCSS
$custom: #b728a9;
$custom-light: #d173c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b728a9",
  "rgb": {
    "r": 183,
    "g": 40,
    "b": 169
  },
  "hsl": {
    "h": 305.874,
    "s": 64.126,
    "l": 43.725
  },
  "oklch": {
    "l": 0.55415,
    "c": 0.22095,
    "h": 332.6
  },
  "luminance": 0.14449
}

Semantic roles & 50–950 ramp

primary
#B728A9
secondary
#72C97A
accent
#E75141
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#150912
muted
#837B81

Preview Lab

Preview with #B728A9

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

Preview Lab → · Contrast checker → · Palette generator →

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