#B728A1#B728A1

#B728A1 is a mid, highly saturated purple. Relative luminance 0.142; OKLCH L 55.0% C 0.215 H 335.4°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#B728A1
RGBrgb(183, 40, 161)
HSLhsl(309, 64%, 44%)
HSVhsv(309, 78%, 72%)
CMYKcmyk(0%, 78.1%, 12%, 28.2%)
CIE-LABlab(44.46, 66.93, -32.81)
CIE-LCHlch(44.46, 74.54, 333.89°)
OKLaboklab(54.99% 0.1959 -0.0897)
OKLCHoklch(54.99% 0.215 335.4)
XYZxyz(26.7206, 14.1605, 35.0373)
Luminance0.1416 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B728A1 #28B73E
analogous
#8528B7 #B728A1 #B72859
triadic
#B728A1 #A1B728 #28A1B7
tetradic
#B728A1 #B78528 #28B73E #2859B7
square
#B728A1 #B78528 #28B73E #2859B7
split-complementary
#B728A1 #59B728 #28B785
monochromatic
#531249 #851D75 #B728A1 #D646C0 #E178D1

Accessibility & contrast

On white

5.48
#B728A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#B728A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B728A1
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B728A1#FFFFFF#000000##FFFFFF
##B728A11.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285CA4
Deuteranopia (green-blind)
#5E719E
Tritanopia (blue-blind)
#C03563
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b728a1;
/* rgb */ color: rgb(183, 40, 161);
/* oklch */ color: oklch(55.0% 0.215 335.4);
Tailwind
colors: {
  custom: {
    50: '#d173bd',
    500: '#b728a1',
    950: '#000000',
  },
}
SCSS
$custom: #b728a1;
$custom-light: #d173bd;
$custom-dark: #000000;
JSON
{
  "hex": "#b728a1",
  "rgb": {
    "r": 183,
    "g": 40,
    "b": 161
  },
  "hsl": {
    "h": 309.231,
    "s": 64.126,
    "l": 43.725
  },
  "oklch": {
    "l": 0.54987,
    "c": 0.21542,
    "h": 335.4
  },
  "luminance": 0.14158
}

Semantic roles & 50–950 ramp

primary
#B728A1
secondary
#72C97F
accent
#E75A41
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#150912
muted
#837B81

Preview Lab

Preview with #B728A1

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

Preview Lab → · Contrast checker → · Palette generator →

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