#B728A2#B728A2

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

Color values

HEX#B728A2
RGBrgb(183, 40, 162)
HSLhsl(309, 64%, 44%)
HSVhsv(309, 78%, 72%)
CMYKcmyk(0%, 78.1%, 11.5%, 28.2%)
CIE-LABlab(44.51, 67.08, -33.33)
CIE-LCHlch(44.51, 74.90, 333.58°)
OKLaboklab(55.04% 0.1959 -0.0912)
OKLCHoklch(55.04% 0.216 335)
XYZxyz(26.8092, 14.1959, 35.5036)
Luminance0.1419 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B728A2 #28B73D
analogous
#8428B7 #B728A2 #B7285A
triadic
#B728A2 #A2B728 #28A2B7
tetradic
#B728A2 #B78428 #28B73D #285AB7
square
#B728A2 #B78428 #28B73D #285AB7
split-complementary
#B728A2 #5AB728 #28B784
monochromatic
#531249 #851D76 #B728A2 #D646C1 #E178D2

Accessibility & contrast

On white

5.47
#B728A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#B728A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B728A2
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B728A2#FFFFFF#000000##FFFFFF
##B728A21.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275CA5
Deuteranopia (green-blind)
#5D719F
Tritanopia (blue-blind)
#C03564
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #b728a2;
/* rgb */ color: rgb(183, 40, 162);
/* oklch */ color: oklch(55.0% 0.216 335.0);
Tailwind
colors: {
  custom: {
    50: '#d173be',
    500: '#b728a2',
    950: '#000000',
  },
}
SCSS
$custom: #b728a2;
$custom-light: #d173be;
$custom-dark: #000000;
JSON
{
  "hex": "#b728a2",
  "rgb": {
    "r": 183,
    "g": 40,
    "b": 162
  },
  "hsl": {
    "h": 308.811,
    "s": 64.126,
    "l": 43.725
  },
  "oklch": {
    "l": 0.55039,
    "c": 0.21611,
    "h": 335
  },
  "luminance": 0.14193
}

Semantic roles & 50–950 ramp

primary
#B728A2
secondary
#72C97E
accent
#E75941
background
#FDF7FB
surface
#FAEDF7
border
#D3C8D0
text
#150912
muted
#837B81

Preview Lab

Preview with #B728A2

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

Preview Lab → · Contrast checker → · Palette generator →

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