#B72BAC#B72BAC

#B72BAC is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 55.8% C 0.220 H 331.6°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#B72BAC
RGBrgb(183, 43, 172)
HSLhsl(305, 62%, 44%)
HSVhsv(305, 77%, 72%)
CMYKcmyk(0%, 76.5%, 6%, 28.2%)
CIE-LABlab(45.33, 67.72, -37.99)
CIE-LCHlch(45.33, 77.65, 330.71°)
OKLaboklab(55.79% 0.1939 -0.1046)
OKLCHoklch(55.79% 0.22 331.6)
XYZxyz(27.8387, 14.7759, 40.4076)
Luminance0.1477 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B72BAC #2BB736
analogous
#7C2BB7 #B72BAC #B72B66
triadic
#B72BAC #ACB72B #2BACB7
tetradic
#B72BAC #B77C2B #2BB736 #2B66B7
square
#B72BAC #B77C2B #2BB736 #2B66B7
split-complementary
#B72BAC #66B72B #2BB77C
monochromatic
#54144F #851F7D #B72BAC #D54BCA #E07CD8

Accessibility & contrast

On white

5.31
#B72BAC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#B72BAC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B72BAC
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B72BAC#FFFFFF#000000##FFFFFF
##B72BAC1.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E5FAF
Deuteranopia (green-blind)
#5972A9
Tritanopia (blue-blind)
#BF3D6A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b72bac;
/* rgb */ color: rgb(183, 43, 172);
/* oklch */ color: oklch(55.8% 0.220 331.6);
Tailwind
colors: {
  custom: {
    50: '#d174c5',
    500: '#b72bac',
    950: '#000000',
  },
}
SCSS
$custom: #b72bac;
$custom-light: #d174c5;
$custom-dark: #000000;
JSON
{
  "hex": "#b72bac",
  "rgb": {
    "r": 183,
    "g": 43,
    "b": 172
  },
  "hsl": {
    "h": 304.714,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.5579,
    "c": 0.22029,
    "h": 331.6
  },
  "luminance": 0.14774
}

Semantic roles & 50–950 ramp

primary
#B72BAC
secondary
#75C97C
accent
#E55043
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140913
muted
#837B82

Preview Lab

Preview with #B72BAC

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

Preview Lab → · Contrast checker → · Palette generator →

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