#B72CA2#B72CA2

#B72CA2 is a mid, highly saturated purple. Relative luminance 0.145; OKLCH L 55.3% C 0.212 H 335.1°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#B72CA2
RGBrgb(183, 44, 162)
HSLhsl(309, 61%, 45%)
HSVhsv(309, 76%, 72%)
CMYKcmyk(0%, 76%, 11.5%, 28.2%)
CIE-LABlab(44.91, 65.93, -32.70)
CIE-LCHlch(44.91, 73.59, 333.62°)
OKLaboklab(55.33% 0.1925 -0.0894)
OKLCHoklch(55.33% 0.212 335.1)
XYZxyz(26.9511, 14.4797, 35.5509)
Luminance0.1448 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B72CA2 #2CB741
analogous
#872CB7 #B72CA2 #B72C5C
triadic
#B72CA2 #A2B72C #2CA2B7
tetradic
#B72CA2 #B7872C #2CB741 #2C5CB7
square
#B72CA2 #B7872C #2CB741 #2C5CB7
split-complementary
#B72CA2 #5CB72C #2CB787
monochromatic
#54144B #862076 #B72CA2 #D44CBF #E07ED1

Accessibility & contrast

On white

5.39
#B72CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#B72CA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B72CA2
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B72CA2#FFFFFF#000000##FFFFFF
##B72CA21.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5DA5
Deuteranopia (green-blind)
#5F729F
Tritanopia (blue-blind)
#C03865
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #b72ca2;
/* rgb */ color: rgb(183, 44, 162);
/* oklch */ color: oklch(55.3% 0.212 335.1);
Tailwind
colors: {
  custom: {
    50: '#d174be',
    500: '#b72ca2',
    950: '#000000',
  },
}
SCSS
$custom: #b72ca2;
$custom-light: #d174be;
$custom-dark: #000000;
JSON
{
  "hex": "#b72ca2",
  "rgb": {
    "r": 183,
    "g": 44,
    "b": 162
  },
  "hsl": {
    "h": 309.065,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.55327,
    "c": 0.21226,
    "h": 335.1
  },
  "luminance": 0.14477
}

Semantic roles & 50–950 ramp

primary
#B72CA2
secondary
#76C883
accent
#E45C43
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B72CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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