#B728A7#B728A7

#B728A7 is a mid, highly saturated purple. Relative luminance 0.144; OKLCH L 55.3% C 0.220 H 333.3°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#B728A7
RGBrgb(183, 40, 167)
HSLhsl(307, 64%, 44%)
HSVhsv(307, 78%, 72%)
CMYKcmyk(0%, 78.1%, 8.7%, 28.2%)
CIE-LABlab(44.77, 67.81, -35.90)
CIE-LCHlch(44.77, 76.73, 332.10°)
OKLaboklab(55.31% 0.1962 -0.0986)
OKLCHoklch(55.31% 0.22 333.3)
XYZxyz(27.2625, 14.3773, 37.8910)
Luminance0.1437 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B728A7 #28B738
analogous
#7F28B7 #B728A7 #B7285F
triadic
#B728A7 #A7B728 #28A7B7
tetradic
#B728A7 #B77F28 #28B738 #285FB7
square
#B728A7 #B77F28 #28B738 #285FB7
split-complementary
#B728A7 #5FB728 #28B77F
monochromatic
#53124B #851D79 #B728A7 #D646C6 #E178D6

Accessibility & contrast

On white

5.42
#B728A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#B728A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B728A7
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B728A7#FFFFFF#000000##FFFFFF
##B728A71.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215DAA
Deuteranopia (green-blind)
#5B71A4
Tritanopia (blue-blind)
#BF3867
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b728a7;
/* rgb */ color: rgb(183, 40, 167);
/* oklch */ color: oklch(55.3% 0.220 333.3);
Tailwind
colors: {
  custom: {
    50: '#d173c1',
    500: '#b728a7',
    950: '#000000',
  },
}
SCSS
$custom: #b728a7;
$custom-light: #d173c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b728a7",
  "rgb": {
    "r": 183,
    "g": 40,
    "b": 167
  },
  "hsl": {
    "h": 306.713,
    "s": 64.126,
    "l": 43.725
  },
  "oklch": {
    "l": 0.55306,
    "c": 0.21955,
    "h": 333.3
  },
  "luminance": 0.14375
}

Semantic roles & 50–950 ramp

primary
#B728A7
secondary
#72C97B
accent
#E75341
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#150912
muted
#837B81

Preview Lab

Preview with #B728A7

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

Preview Lab → · Contrast checker → · Palette generator →

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