#B72FA8#B72FA8

#B72FA8 is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 55.9% C 0.213 H 333.0°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#B72FA8
RGBrgb(183, 47, 168)
HSLhsl(307, 59%, 45%)
HSVhsv(307, 74%, 72%)
CMYKcmyk(0%, 74.3%, 8.2%, 28.2%)
CIE-LABlab(45.54, 65.90, -35.28)
CIE-LCHlch(45.54, 74.75, 331.84°)
OKLaboklab(55.87% 0.1902 -0.0969)
OKLCHoklch(55.87% 0.213 333)
XYZxyz(27.6130, 14.9298, 38.4656)
Luminance0.1493 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B72FA8 #2FB73E
analogous
#822FB7 #B72FA8 #B72F64
triadic
#B72FA8 #A8B72F #2FA8B7
tetradic
#B72FA8 #B7822F #2FB73E #2F64B7
square
#B72FA8 #B7822F #2FB73E #2F64B7
split-complementary
#B72FA8 #64B72F #2FB782
monochromatic
#56164F #86227B #B72FA8 #D251C4 #DF82D5

Accessibility & contrast

On white

5.27
#B72FA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#B72FA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B72FA8
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B72FA8#FFFFFF#000000##FFFFFF
##B72FA81.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295FAB
Deuteranopia (green-blind)
#5D73A5
Tritanopia (blue-blind)
#BF3D69
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b72fa8;
/* rgb */ color: rgb(183, 47, 168);
/* oklch */ color: oklch(55.9% 0.213 333.0);
Tailwind
colors: {
  custom: {
    50: '#d076c2',
    500: '#b72fa8',
    950: '#000000',
  },
}
SCSS
$custom: #b72fa8;
$custom-light: #d076c2;
$custom-dark: #000000;
JSON
{
  "hex": "#b72fa8",
  "rgb": {
    "r": 183,
    "g": 47,
    "b": 168
  },
  "hsl": {
    "h": 306.618,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.55874,
    "c": 0.21343,
    "h": 333
  },
  "luminance": 0.14927
}

Semantic roles & 50–950 ramp

primary
#B72FA8
secondary
#7AC883
accent
#E25745
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#140912
muted
#837B81

Preview Lab

Preview with #B72FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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