#B72EA1#B72EA1

#B72EA1 is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.4% C 0.210 H 335.5°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#B72EA1
RGBrgb(183, 46, 161)
HSLhsl(310, 60%, 45%)
HSVhsv(310, 75%, 72%)
CMYKcmyk(0%, 74.9%, 12%, 28.2%)
CIE-LABlab(45.08, 65.17, -31.84)
CIE-LCHlch(45.08, 72.53, 333.96°)
OKLaboklab(55.43% 0.1906 -0.087)
OKLCHoklch(55.43% 0.21 335.5)
XYZxyz(26.9388, 14.5969, 35.1100)
Luminance0.1459 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B72EA1 #2EB744
analogous
#882EB7 #B72EA1 #B72E5D
triadic
#B72EA1 #A1B72E #2EA1B7
tetradic
#B72EA1 #B7882E #2EB744 #2E5DB7
square
#B72EA1 #B7882E #2EB744 #2E5DB7
split-complementary
#B72EA1 #5DB72E #2EB788
monochromatic
#55154B #862276 #B72EA1 #D34FBE #DF80D0

Accessibility & contrast

On white

5.36
#B72EA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#B72EA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B72EA1
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B72EA1#FFFFFF#000000##FFFFFF
##B72EA11.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5EA4
Deuteranopia (green-blind)
#60729E
Tritanopia (blue-blind)
#C03965
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b72ea1;
/* rgb */ color: rgb(183, 46, 161);
/* oklch */ color: oklch(55.4% 0.210 335.5);
Tailwind
colors: {
  custom: {
    50: '#d075bd',
    500: '#b72ea1',
    950: '#000000',
  },
}
SCSS
$custom: #b72ea1;
$custom-light: #d075bd;
$custom-dark: #000000;
JSON
{
  "hex": "#b72ea1",
  "rgb": {
    "r": 183,
    "g": 46,
    "b": 161
  },
  "hsl": {
    "h": 309.635,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.55429,
    "c": 0.20954,
    "h": 335.5
  },
  "luminance": 0.14594
}

Semantic roles & 50–950 ramp

primary
#B72EA1
secondary
#79C886
accent
#E35E45
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B72EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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