#B728AA#B728AA

#B728AA is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.5% C 0.222 H 332.3°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#B728AA
RGBrgb(183, 40, 170)
HSLhsl(305, 64%, 44%)
HSVhsv(305, 78%, 72%)
CMYKcmyk(0%, 78.1%, 7.1%, 28.2%)
CIE-LABlab(44.93, 68.26, -37.44)
CIE-LCHlch(44.93, 77.85, 331.26°)
OKLaboklab(55.47% 0.1963 -0.103)
OKLCHoklch(55.47% 0.222 332.3)
XYZxyz(27.5430, 14.4895, 39.3685)
Luminance0.1449 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B728AA #28B735
analogous
#7C28B7 #B728AA #B72862
triadic
#B728AA #AAB728 #28AAB7
tetradic
#B728AA #B77C28 #28B735 #2862B7
square
#B728AA #B77C28 #28B735 #2862B7
split-complementary
#B728AA #62B728 #28B77C
monochromatic
#53124D #851D7B #B728AA #D646C9 #E178D8

Accessibility & contrast

On white

5.39
#B728AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#B728AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B728AA
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B728AA#FFFFFF#000000##FFFFFF
##B728AA1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5EAD
Deuteranopia (green-blind)
#5971A7
Tritanopia (blue-blind)
#BF3A68
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b728aa;
/* rgb */ color: rgb(183, 40, 170);
/* oklch */ color: oklch(55.5% 0.222 332.3);
Tailwind
colors: {
  custom: {
    50: '#d173c4',
    500: '#b728aa',
    950: '#000000',
  },
}
SCSS
$custom: #b728aa;
$custom-light: #d173c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b728aa",
  "rgb": {
    "r": 183,
    "g": 40,
    "b": 170
  },
  "hsl": {
    "h": 305.455,
    "s": 64.126,
    "l": 43.725
  },
  "oklch": {
    "l": 0.5547,
    "c": 0.22165,
    "h": 332.3
  },
  "luminance": 0.14487
}

Semantic roles & 50–950 ramp

primary
#B728AA
secondary
#72C97A
accent
#E75041
background
#FDF7FC
surface
#FAEDF8
border
#D3C8D1
text
#150912
muted
#837B81

Preview Lab

Preview with #B728AA

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

Preview Lab → · Contrast checker → · Palette generator →

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