#B728AB#B728AB

#B728AB is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.5% C 0.222 H 332.0°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#B728AB
RGBrgb(183, 40, 171)
HSLhsl(305, 64%, 44%)
HSVhsv(305, 78%, 72%)
CMYKcmyk(0%, 78.1%, 6.6%, 28.2%)
CIE-LABlab(44.98, 68.41, -37.94)
CIE-LCHlch(44.98, 78.23, 330.98°)
OKLaboklab(55.53% 0.1963 -0.1045)
OKLCHoklch(55.53% 0.222 332)
XYZxyz(27.6380, 14.5275, 39.8686)
Luminance0.1452 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B728AB #28B734
analogous
#7B28B7 #B728AB #B72863
triadic
#B728AB #ABB728 #28ABB7
tetradic
#B728AB #B77B28 #28B734 #2863B7
square
#B728AB #B77B28 #28B734 #2863B7
split-complementary
#B728AB #63B728 #28B77B
monochromatic
#53124D #851D7C #B728AB #D646CA #E178D9

Accessibility & contrast

On white

5.38
#B728AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#B728AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B728AB
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B728AB#FFFFFF#000000##FFFFFF
##B728AB1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B5EAE
Deuteranopia (green-blind)
#5971A8
Tritanopia (blue-blind)
#BF3A69
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b728ab;
/* rgb */ color: rgb(183, 40, 171);
/* oklch */ color: oklch(55.5% 0.222 332.0);
Tailwind
colors: {
  custom: {
    50: '#d173c4',
    500: '#b728ab',
    950: '#000000',
  },
}
SCSS
$custom: #b728ab;
$custom-light: #d173c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b728ab",
  "rgb": {
    "r": 183,
    "g": 40,
    "b": 171
  },
  "hsl": {
    "h": 305.035,
    "s": 64.126,
    "l": 43.725
  },
  "oklch": {
    "l": 0.55525,
    "c": 0.22236,
    "h": 332
  },
  "luminance": 0.14525
}

Semantic roles & 50–950 ramp

primary
#B728AB
secondary
#72C979
accent
#E74F41
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#150913
muted
#837B82

Preview Lab

Preview with #B728AB

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

Preview Lab → · Contrast checker → · Palette generator →

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