#C72AB5#C72AB5

#C72AB5 is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.7% C 0.235 H 333.5°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#C72AB5
RGBrgb(199, 42, 181)
HSLhsl(307, 65%, 47%)
HSVhsv(307, 79%, 78%)
CMYKcmyk(0%, 78.9%, 9%, 22%)
CIE-LABlab(48.43, 72.71, -38.21)
CIE-LCHlch(48.43, 82.13, 332.28°)
OKLaboklab(58.68% 0.2106 -0.1049)
OKLCHoklch(58.68% 0.235 333.5)
XYZxyz(32.7219, 17.1371, 45.2915)
Luminance0.1713 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C72AB5 #2AC73C
analogous
#8B2AC7 #C72AB5 #C72A67
triadic
#C72AB5 #B5C72A #2AB5C7
tetradic
#C72AB5 #C78B2A #2AC73C #2A67C7
square
#C72AB5 #C78B2A #2AC73C #2A67C7
split-complementary
#C72AB5 #67C72A #2AC78B
monochromatic
#621559 #941F87 #C72AB5 #DB53CB #E586DB

Accessibility & contrast

On white

4.74
#C72AB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#C72AB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C72AB5
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C72AB5#FFFFFF#000000##FFFFFF
##C72AB51.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2365B9
Deuteranopia (green-blind)
#637BB1
Tritanopia (blue-blind)
#D03C6F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c72ab5;
/* rgb */ color: rgb(199, 42, 181);
/* oklch */ color: oklch(58.7% 0.235 333.5);
Tailwind
colors: {
  custom: {
    50: '#dc77cb',
    500: '#c72ab5',
    950: '#000000',
  },
}
SCSS
$custom: #c72ab5;
$custom-light: #dc77cb;
$custom-dark: #000000;
JSON
{
  "hex": "#c72ab5",
  "rgb": {
    "r": 199,
    "g": 42,
    "b": 181
  },
  "hsl": {
    "h": 306.879,
    "s": 65.145,
    "l": 47.255
  },
  "oklch": {
    "l": 0.58678,
    "c": 0.23531,
    "h": 333.5
  },
  "luminance": 0.17134
}

Semantic roles & 50–950 ramp

primary
#C72AB5
secondary
#7ECF87
accent
#E85340
background
#FEF7FC
surface
#FCEEF8
border
#D5C9D1
text
#160A13
muted
#847C82

Preview Lab

Preview with #C72AB5

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

Preview Lab → · Contrast checker → · Palette generator →

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