#B72AB2#B72AB2

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

Color values

HEX#B72AB2
RGBrgb(183, 42, 178)
HSLhsl(302, 63%, 44%)
HSVhsv(302, 77%, 72%)
CMYKcmyk(0%, 77%, 2.7%, 28.2%)
CIE-LABlab(45.55, 68.93, -41.18)
CIE-LCHlch(45.55, 80.29, 329.15°)
OKLaboklab(56.06% 0.1947 -0.1139)
OKLCHoklch(56.06% 0.226 329.7)
XYZxyz(28.3921, 14.9398, 43.4991)
Luminance0.1494 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B72AB2 #2AB72F
analogous
#762AB7 #B72AB2 #B72A6C
triadic
#B72AB2 #B2B72A #2AB2B7
tetradic
#B72AB2 #B7762A #2AB72F #2A6CB7
square
#B72AB2 #B7762A #2AB72F #2A6CB7
split-complementary
#B72AB2 #6CB72A #2AB776
monochromatic
#531351 #851F82 #B72AB2 #D549D0 #E17BDD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B72AB2#FFFFFF#000000##FFFFFF
##B72AB21.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)
#1060B6
Deuteranopia (green-blind)
#5672AF
Tritanopia (blue-blind)
#BE3F6D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #b72ab2;
/* rgb */ color: rgb(183, 42, 178);
/* oklch */ color: oklch(56.1% 0.226 329.7);
Tailwind
colors: {
  custom: {
    50: '#d174c9',
    500: '#b72ab2',
    950: '#000000',
  },
}
SCSS
$custom: #b72ab2;
$custom-light: #d174c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b72ab2",
  "rgb": {
    "r": 183,
    "g": 42,
    "b": 178
  },
  "hsl": {
    "h": 302.128,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.56056,
    "c": 0.22557,
    "h": 329.7
  },
  "luminance": 0.14938
}

Semantic roles & 50–950 ramp

primary
#B72AB2
secondary
#74C977
accent
#E64842
background
#FDF7FC
surface
#FAEEF8
border
#D3C9D1
text
#150913
muted
#837B82

Preview Lab

Preview with #B72AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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