#B72FA2#B72FA2

#B72FA2 is a mid, highly saturated purple. Relative luminance 0.147; OKLCH L 55.6% C 0.209 H 335.1°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#B72FA2
RGBrgb(183, 47, 162)
HSLhsl(309, 59%, 45%)
HSVhsv(309, 74%, 72%)
CMYKcmyk(0%, 74.3%, 11.5%, 28.2%)
CIE-LABlab(45.24, 65.01, -32.19)
CIE-LCHlch(45.24, 72.54, 333.66°)
OKLaboklab(55.56% 0.1898 -0.088)
OKLCHoklch(55.56% 0.209 335.1)
XYZxyz(27.0669, 14.7114, 35.5895)
Luminance0.1471 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B72FA2 #2FB744
analogous
#882FB7 #B72FA2 #B72F5E
triadic
#B72FA2 #A2B72F #2FA2B7
tetradic
#B72FA2 #B7882F #2FB744 #2F5EB7
square
#B72FA2 #B7882F #2FB744 #2F5EB7
split-complementary
#B72FA2 #5EB72F #2FB788
monochromatic
#56164C #862277 #B72FA2 #D251BE #DF82D0

Accessibility & contrast

On white

5.33
#B72FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#B72FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B72FA2
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B72FA2#FFFFFF#000000##FFFFFF
##B72FA21.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5EA5
Deuteranopia (green-blind)
#60729F
Tritanopia (blue-blind)
#C03A66
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #b72fa2;
/* rgb */ color: rgb(183, 47, 162);
/* oklch */ color: oklch(55.6% 0.209 335.1);
Tailwind
colors: {
  custom: {
    50: '#d075be',
    500: '#b72fa2',
    950: '#000000',
  },
}
SCSS
$custom: #b72fa2;
$custom-light: #d075be;
$custom-dark: #000000;
JSON
{
  "hex": "#b72fa2",
  "rgb": {
    "r": 183,
    "g": 47,
    "b": 162
  },
  "hsl": {
    "h": 309.265,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.55559,
    "c": 0.20918,
    "h": 335.1
  },
  "luminance": 0.14709
}

Semantic roles & 50–950 ramp

primary
#B72FA2
secondary
#7AC886
accent
#E25E45
background
#FDF7FB
surface
#FAEEF7
border
#D3C9D0
text
#140912
muted
#837B81

Preview Lab

Preview with #B72FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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