#B728B2#B728B2

#B728B2 is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 55.9% C 0.227 H 329.7°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#B728B2
RGBrgb(183, 40, 178)
HSLhsl(302, 64%, 44%)
HSVhsv(302, 78%, 72%)
CMYKcmyk(0%, 78.1%, 2.7%, 28.2%)
CIE-LABlab(45.36, 69.48, -41.48)
CIE-LCHlch(45.36, 80.92, 329.16°)
OKLaboklab(55.92% 0.1963 -0.1147)
OKLCHoklch(55.92% 0.227 329.7)
XYZxyz(28.3229, 14.8015, 43.4761)
Luminance0.1480 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B728B2 #28B72D
analogous
#7428B7 #B728B2 #B7286A
triadic
#B728B2 #B2B728 #28B2B7
tetradic
#B728B2 #B77428 #28B72D #286AB7
square
#B728B2 #B77428 #28B72D #286AB7
split-complementary
#B728B2 #6AB728 #28B774
monochromatic
#531250 #851D81 #B728B2 #D646D1 #E178DE

Accessibility & contrast

On white

5.30
#B728B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#B728B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B728B2
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B728B2#FFFFFF#000000##FFFFFF
##B728B21.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B5FB6
Deuteranopia (green-blind)
#5572AF
Tritanopia (blue-blind)
#BE3E6D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b728b2;
/* rgb */ color: rgb(183, 40, 178);
/* oklch */ color: oklch(55.9% 0.227 329.7);
Tailwind
colors: {
  custom: {
    50: '#d173c9',
    500: '#b728b2',
    950: '#000000',
  },
}
SCSS
$custom: #b728b2;
$custom-light: #d173c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b728b2",
  "rgb": {
    "r": 183,
    "g": 40,
    "b": 178
  },
  "hsl": {
    "h": 302.098,
    "s": 64.126,
    "l": 43.725
  },
  "oklch": {
    "l": 0.5592,
    "c": 0.22736,
    "h": 329.7
  },
  "luminance": 0.14799
}

Semantic roles & 50–950 ramp

primary
#B728B2
secondary
#72C975
accent
#E74641
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150913
muted
#837B82

Preview Lab

Preview with #B728B2

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

Preview Lab → · Contrast checker → · Palette generator →

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