#B72FA1#B72FA1

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

Color values

HEX#B72FA1
RGBrgb(183, 47, 161)
HSLhsl(310, 59%, 45%)
HSVhsv(310, 74%, 72%)
CMYKcmyk(0%, 74.3%, 12%, 28.2%)
CIE-LABlab(45.19, 64.86, -31.67)
CIE-LCHlch(45.19, 72.18, 333.97°)
OKLaboklab(55.51% 0.1897 -0.0865)
OKLCHoklch(55.51% 0.208 335.5)
XYZxyz(26.9784, 14.6759, 35.1232)
Luminance0.1467 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B72FA1 #2FB745
analogous
#892FB7 #B72FA1 #B72F5D
triadic
#B72FA1 #A1B72F #2FA1B7
tetradic
#B72FA1 #B7892F #2FB745 #2F5DB7
square
#B72FA1 #B7892F #2FB745 #2F5DB7
split-complementary
#B72FA1 #5DB72F #2FB789
monochromatic
#56164B #862276 #B72FA1 #D251BD #DF82D0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B72FA1#FFFFFF#000000##FFFFFF
##B72FA11.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)
#305EA4
Deuteranopia (green-blind)
#60729E
Tritanopia (blue-blind)
#C03A65
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b72fa1;
/* rgb */ color: rgb(183, 47, 161);
/* oklch */ color: oklch(55.5% 0.208 335.5);
Tailwind
colors: {
  custom: {
    50: '#d075bd',
    500: '#b72fa1',
    950: '#000000',
  },
}
SCSS
$custom: #b72fa1;
$custom-light: #d075bd;
$custom-dark: #000000;
JSON
{
  "hex": "#b72fa1",
  "rgb": {
    "r": 183,
    "g": 47,
    "b": 161
  },
  "hsl": {
    "h": 309.706,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.55508,
    "c": 0.20849,
    "h": 335.5
  },
  "luminance": 0.14674
}

Semantic roles & 50–950 ramp

primary
#B72FA1
secondary
#7AC887
accent
#E25F45
background
#FDF7FB
surface
#FAEEF6
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B72FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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