#B72AB1#B72AB1

#B72AB1 is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 56.0% C 0.225 H 330.0°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#B72AB1
RGBrgb(183, 42, 177)
HSLhsl(303, 63%, 44%)
HSVhsv(303, 77%, 72%)
CMYKcmyk(0%, 77%, 3.3%, 28.2%)
CIE-LABlab(45.50, 68.77, -40.67)
CIE-LCHlch(45.50, 79.90, 329.40°)
OKLaboklab(56% 0.1947 -0.1124)
OKLCHoklch(56% 0.225 330)
XYZxyz(28.2921, 14.8998, 42.9723)
Luminance0.1490 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B72AB1 #2AB730
analogous
#772AB7 #B72AB1 #B72A6B
triadic
#B72AB1 #B1B72A #2AB1B7
tetradic
#B72AB1 #B7772A #2AB730 #2A6BB7
square
#B72AB1 #B7772A #2AB730 #2A6BB7
split-complementary
#B72AB1 #6BB72A #2AB777
monochromatic
#531351 #851F81 #B72AB1 #D549CF #E17BDC

Accessibility & contrast

On white

5.28
#B72AB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#B72AB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B72AB1
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B72AB1#FFFFFF#000000##FFFFFF
##B72AB11.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1360B5
Deuteranopia (green-blind)
#5672AE
Tritanopia (blue-blind)
#BE3F6D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b72ab1;
/* rgb */ color: rgb(183, 42, 177);
/* oklch */ color: oklch(56.0% 0.225 330.0);
Tailwind
colors: {
  custom: {
    50: '#d174c9',
    500: '#b72ab1',
    950: '#000000',
  },
}
SCSS
$custom: #b72ab1;
$custom-light: #d174c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b72ab1",
  "rgb": {
    "r": 183,
    "g": 42,
    "b": 177
  },
  "hsl": {
    "h": 302.553,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.55999,
    "c": 0.22483,
    "h": 330
  },
  "luminance": 0.14898
}

Semantic roles & 50–950 ramp

primary
#B72AB1
secondary
#74C978
accent
#E64942
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150913
muted
#837B82

Preview Lab

Preview with #B72AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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