#B72AB6#B72AB6

#B72AB6 is a mid, highly saturated purple. Relative luminance 0.151; OKLCH L 56.3% C 0.228 H 328.4°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#B72AB6
RGBrgb(183, 42, 182)
HSLhsl(300, 63%, 44%)
HSVhsv(300, 77%, 72%)
CMYKcmyk(0%, 77%, 0.5%, 28.2%)
CIE-LABlab(45.77, 69.56, -43.18)
CIE-LCHlch(45.77, 81.87, 328.17°)
OKLaboklab(56.29% 0.1946 -0.1197)
OKLCHoklch(56.29% 0.228 328.4)
XYZxyz(28.7996, 15.1028, 45.6452)
Luminance0.1510 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B72AB6 #2AB72B
analogous
#722AB7 #B72AB6 #B72A6F
triadic
#B72AB6 #B6B72A #2AB6B7
tetradic
#B72AB6 #B7722A #2AB72B #2A6FB7
square
#B72AB6 #B7722A #2AB72B #2A6FB7
split-complementary
#B72AB6 #6FB72A #2AB772
monochromatic
#531353 #851F84 #B72AB6 #D549D4 #E17BE0

Accessibility & contrast

On white

5.22
#B72AB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#B72AB6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B72AB6
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B72AB6#FFFFFF#000000##FFFFFF
##B72AB61.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0261BA
Deuteranopia (green-blind)
#5373B3
Tritanopia (blue-blind)
#BD416F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b72ab6;
/* rgb */ color: rgb(183, 42, 182);
/* oklch */ color: oklch(56.3% 0.228 328.4);
Tailwind
colors: {
  custom: {
    50: '#d174cc',
    500: '#b72ab6',
    950: '#000000',
  },
}
SCSS
$custom: #b72ab6;
$custom-light: #d174cc;
$custom-dark: #000000;
JSON
{
  "hex": "#b72ab6",
  "rgb": {
    "r": 183,
    "g": 42,
    "b": 182
  },
  "hsl": {
    "h": 300.426,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.56287,
    "c": 0.22849,
    "h": 328.4
  },
  "luminance": 0.15101
}

Semantic roles & 50–950 ramp

primary
#B72AB6
secondary
#74C975
accent
#E64342
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#150913
muted
#837B82

Preview Lab

Preview with #B72AB6

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

Preview Lab → · Contrast checker → · Palette generator →

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