#B72CB7#B72CB7

#B72CB7 is a mid, highly saturated purple. Relative luminance 0.153; OKLCH L 56.5% C 0.227 H 328.1°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#B72CB7
RGBrgb(183, 44, 183)
HSLhsl(300, 61%, 45%)
HSVhsv(300, 76%, 72%)
CMYKcmyk(0%, 76%, 0%, 28.2%)
CIE-LABlab(46.03, 69.15, -43.36)
CIE-LCHlch(46.03, 81.62, 327.91°)
OKLaboklab(56.49% 0.193 -0.1202)
OKLCHoklch(56.49% 0.227 328.1)
XYZxyz(28.9760, 15.2897, 46.2156)
Luminance0.1529 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B72CB7 #2CB72C
analogous
#722CB7 #B72CB7 #B72C72
triadic
#B72CB7 #B7B72C #2CB7B7
tetradic
#B72CB7 #B7722C #2CB72C #2C72B7
square
#B72CB7 #B7722C #2CB72C #2C72B7
split-complementary
#B72CB7 #72B72C #2CB772
monochromatic
#541454 #862086 #B72CB7 #D44CD4 #E07EE0

Accessibility & contrast

On white

5.18
#B72CB7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#B72CB7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B72CB7
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B72CB7#FFFFFF#000000##FFFFFF
##B72CB71.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0562BB
Deuteranopia (green-blind)
#5473B4
Tritanopia (blue-blind)
#BD4370
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #b72cb7;
/* rgb */ color: rgb(183, 44, 183);
/* oklch */ color: oklch(56.5% 0.227 328.1);
Tailwind
colors: {
  custom: {
    50: '#d175cd',
    500: '#b72cb7',
    950: '#000000',
  },
}
SCSS
$custom: #b72cb7;
$custom-light: #d175cd;
$custom-dark: #000000;
JSON
{
  "hex": "#b72cb7",
  "rgb": {
    "r": 183,
    "g": 44,
    "b": 183
  },
  "hsl": {
    "h": 300,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.56486,
    "c": 0.22739,
    "h": 328.1
  },
  "luminance": 0.15288
}

Semantic roles & 50–950 ramp

primary
#B72CB7
secondary
#76C876
accent
#E44343
background
#FDF7FC
surface
#FAEEF9
border
#D3C9D2
text
#140913
muted
#837B82

Preview Lab

Preview with #B72CB7

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

Preview Lab → · Contrast checker → · Palette generator →

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