#B728B0#B728B0

#B728B0 is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.8% C 0.226 H 330.3°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#B728B0
RGBrgb(183, 40, 176)
HSLhsl(303, 64%, 44%)
HSVhsv(303, 78%, 72%)
CMYKcmyk(0%, 78.1%, 3.8%, 28.2%)
CIE-LABlab(45.25, 69.17, -40.47)
CIE-LCHlch(45.25, 80.14, 329.67°)
OKLaboklab(55.81% 0.1963 -0.1118)
OKLCHoklch(55.81% 0.226 330.3)
XYZxyz(28.1236, 14.7217, 42.4262)
Luminance0.1472 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B728B0 #28B72F
analogous
#7628B7 #B728B0 #B72868
triadic
#B728B0 #B0B728 #28B0B7
tetradic
#B728B0 #B77628 #28B72F #2868B7
square
#B728B0 #B77628 #28B72F #2868B7
split-complementary
#B728B0 #68B728 #28B776
monochromatic
#53124F #851D80 #B728B0 #D646CF #E178DC

Accessibility & contrast

On white

5.32
#B728B0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#B728B0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B728B0
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B728B0#FFFFFF#000000##FFFFFF
##B728B01.005.323.945.32
#FFFFFF5.321.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#115FB4
Deuteranopia (green-blind)
#5672AD
Tritanopia (blue-blind)
#BE3D6C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b728b0;
/* rgb */ color: rgb(183, 40, 176);
/* oklch */ color: oklch(55.8% 0.226 330.3);
Tailwind
colors: {
  custom: {
    50: '#d173c8',
    500: '#b728b0',
    950: '#000000',
  },
}
SCSS
$custom: #b728b0;
$custom-light: #d173c8;
$custom-dark: #000000;
JSON
{
  "hex": "#b728b0",
  "rgb": {
    "r": 183,
    "g": 40,
    "b": 176
  },
  "hsl": {
    "h": 302.937,
    "s": 64.126,
    "l": 43.725
  },
  "oklch": {
    "l": 0.55806,
    "c": 0.22592,
    "h": 330.3
  },
  "luminance": 0.14719
}

Semantic roles & 50–950 ramp

primary
#B728B0
secondary
#72C976
accent
#E74941
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150913
muted
#837B82

Preview Lab

Preview with #B728B0

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

Preview Lab → · Contrast checker → · Palette generator →

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