#B72CA7#B72CA7

#B72CA7 is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.6% C 0.216 H 333.3°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#B72CA7
RGBrgb(183, 44, 167)
HSLhsl(307, 61%, 45%)
HSVhsv(307, 76%, 72%)
CMYKcmyk(0%, 76%, 8.7%, 28.2%)
CIE-LABlab(45.17, 66.67, -35.28)
CIE-LCHlch(45.17, 75.43, 332.12°)
OKLaboklab(55.59% 0.1928 -0.0968)
OKLCHoklch(55.59% 0.216 333.3)
XYZxyz(27.4044, 14.6610, 37.9383)
Luminance0.1466 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B72CA7 #2CB73C
analogous
#812CB7 #B72CA7 #B72C62
triadic
#B72CA7 #A7B72C #2CA7B7
tetradic
#B72CA7 #B7812C #2CB73C #2C62B7
square
#B72CA7 #B7812C #2CB73C #2C62B7
split-complementary
#B72CA7 #62B72C #2CB781
monochromatic
#54144D #86207A #B72CA7 #D44CC4 #E07ED5

Accessibility & contrast

On white

5.34
#B72CA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#B72CA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B72CA7
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B72CA7#FFFFFF#000000##FFFFFF
##B72CA71.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265EAA
Deuteranopia (green-blind)
#5C72A4
Tritanopia (blue-blind)
#BF3B68
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b72ca7;
/* rgb */ color: rgb(183, 44, 167);
/* oklch */ color: oklch(55.6% 0.216 333.3);
Tailwind
colors: {
  custom: {
    50: '#d174c1',
    500: '#b72ca7',
    950: '#000000',
  },
}
SCSS
$custom: #b72ca7;
$custom-light: #d174c1;
$custom-dark: #000000;
JSON
{
  "hex": "#b72ca7",
  "rgb": {
    "r": 183,
    "g": 44,
    "b": 167
  },
  "hsl": {
    "h": 306.906,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.55591,
    "c": 0.21576,
    "h": 333.3
  },
  "luminance": 0.14659
}

Semantic roles & 50–950 ramp

primary
#B72CA7
secondary
#76C880
accent
#E45643
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B72CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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