#B728B3#B728B3

#B728B3 is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 56.0% C 0.228 H 329.4°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#B728B3
RGBrgb(183, 40, 179)
HSLhsl(302, 64%, 44%)
HSVhsv(302, 78%, 72%)
CMYKcmyk(0%, 78.1%, 2.2%, 28.2%)
CIE-LABlab(45.42, 69.64, -41.98)
CIE-LCHlch(45.42, 81.31, 328.92°)
OKLaboklab(55.98% 0.1963 -0.1162)
OKLCHoklch(55.98% 0.228 329.4)
XYZxyz(28.4237, 14.8418, 44.0068)
Luminance0.1484 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B728B3 #28B72C
analogous
#7328B7 #B728B3 #B7286B
triadic
#B728B3 #B3B728 #28B3B7
tetradic
#B728B3 #B77328 #28B72C #286BB7
square
#B728B3 #B77328 #28B72C #286BB7
split-complementary
#B728B3 #6BB728 #28B773
monochromatic
#531251 #851D82 #B728B3 #D646D2 #E178DF

Accessibility & contrast

On white

5.29
#B728B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#B728B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B728B3
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B728B3#FFFFFF#000000##FFFFFF
##B728B31.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#075FB7
Deuteranopia (green-blind)
#5472B0
Tritanopia (blue-blind)
#BE3F6D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b728b3;
/* rgb */ color: rgb(183, 40, 179);
/* oklch */ color: oklch(56.0% 0.228 329.4);
Tailwind
colors: {
  custom: {
    50: '#d173ca',
    500: '#b728b3',
    950: '#000000',
  },
}
SCSS
$custom: #b728b3;
$custom-light: #d173ca;
$custom-dark: #000000;
JSON
{
  "hex": "#b728b3",
  "rgb": {
    "r": 183,
    "g": 40,
    "b": 179
  },
  "hsl": {
    "h": 301.678,
    "s": 64.126,
    "l": 43.725
  },
  "oklch": {
    "l": 0.55978,
    "c": 0.22809,
    "h": 329.4
  },
  "luminance": 0.1484
}

Semantic roles & 50–950 ramp

primary
#B728B3
secondary
#72C974
accent
#E74541
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150913
muted
#837B82

Preview Lab

Preview with #B728B3

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

Preview Lab → · Contrast checker → · Palette generator →

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