#B728BD#B728BD

#B728BD is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.6% C 0.235 H 326.3°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#B728BD
RGBrgb(183, 40, 189)
HSLhsl(298, 65%, 45%)
HSVhsv(298, 79%, 74%)
CMYKcmyk(3.2%, 78.8%, 0%, 25.9%)
CIE-LABlab(45.99, 71.23, -46.93)
CIE-LCHlch(45.99, 85.30, 326.62°)
OKLaboklab(56.57% 0.1959 -0.1306)
OKLCHoklch(56.57% 0.235 326.3)
XYZxyz(29.4720, 15.2611, 49.5276)
Luminance0.1526 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B728BD #2EBD28
analogous
#6D28BD #B728BD #BD2878
triadic
#B728BD #BDB728 #28BDB7
tetradic
#B728BD #BD6D28 #2EBD28 #2878BD
square
#B728BD #BD6D28 #2EBD28 #2878BD
split-complementary
#B728BD #78BD28 #28BD6D
monochromatic
#551358 #861D8A #B728BD #D34AD9 #DF7CE3

Accessibility & contrast

On white

5.18
#B728BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#B728BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B728BD
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B728BD#FFFFFF#000000##FFFFFF
##B728BD1.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C1
Deuteranopia (green-blind)
#4E73BA
Tritanopia (blue-blind)
#BC4473
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b728bd;
/* rgb */ color: rgb(183, 40, 189);
/* oklch */ color: oklch(56.6% 0.235 326.3);
Tailwind
colors: {
  custom: {
    50: '#d174d1',
    500: '#b728bd',
    950: '#000000',
  },
}
SCSS
$custom: #b728bd;
$custom-light: #d174d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b728bd",
  "rgb": {
    "r": 183,
    "g": 40,
    "b": 189
  },
  "hsl": {
    "h": 297.584,
    "s": 65.066,
    "l": 44.902
  },
  "oklch": {
    "l": 0.56569,
    "c": 0.23543,
    "h": 326.3
  },
  "luminance": 0.15259
}

Semantic roles & 50–950 ramp

primary
#B728BD
secondary
#79CB75
accent
#E84047
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#150914
muted
#837B82

Preview Lab

Preview with #B728BD

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

Preview Lab → · Contrast checker → · Palette generator →

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