#B72AB7#B72AB7

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

Color values

HEX#B72AB7
RGBrgb(183, 42, 183)
HSLhsl(300, 63%, 44%)
HSVhsv(300, 77%, 72%)
CMYKcmyk(0%, 77%, 0%, 28.2%)
CIE-LABlab(45.83, 69.72, -43.67)
CIE-LCHlch(45.83, 82.27, 327.94°)
OKLaboklab(56.35% 0.1946 -0.1211)
OKLCHoklch(56.35% 0.229 328.1)
XYZxyz(28.9033, 15.1443, 46.1914)
Luminance0.1514 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B72AB7 #2AB72A
analogous
#712AB7 #B72AB7 #B72A71
triadic
#B72AB7 #B7B72A #2AB7B7
tetradic
#B72AB7 #B7712A #2AB72A #2A71B7
square
#B72AB7 #B7712A #2AB72A #2A71B7
split-complementary
#B72AB7 #71B72A #2AB771
monochromatic
#531353 #851F85 #B72AB7 #D549D5 #E17BE1

Accessibility & contrast

On white

5.21
#B72AB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#B72AB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B72AB7
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B72AB7#FFFFFF#000000##FFFFFF
##B72AB71.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BB
Deuteranopia (green-blind)
#5373B4
Tritanopia (blue-blind)
#BD4270
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b72ab7;
/* rgb */ color: rgb(183, 42, 183);
/* oklch */ color: oklch(56.3% 0.229 328.1);
Tailwind
colors: {
  custom: {
    50: '#d174cd',
    500: '#b72ab7',
    950: '#000000',
  },
}
SCSS
$custom: #b72ab7;
$custom-light: #d174cd;
$custom-dark: #000000;
JSON
{
  "hex": "#b72ab7",
  "rgb": {
    "r": 183,
    "g": 42,
    "b": 183
  },
  "hsl": {
    "h": 300,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.56345,
    "c": 0.22923,
    "h": 328.1
  },
  "luminance": 0.15142
}

Semantic roles & 50–950 ramp

primary
#B72AB7
secondary
#74C974
accent
#E64242
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#150913
muted
#837B82

Preview Lab

Preview with #B72AB7

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

Preview Lab → · Contrast checker → · Palette generator →

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