#C72AB1#C72AB1

#C72AB1 is a mid, highly saturated purple. Relative luminance 0.170; OKLCH L 58.5% C 0.233 H 334.8°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#C72AB1
RGBrgb(199, 42, 177)
HSLhsl(308, 65%, 47%)
HSVhsv(308, 79%, 78%)
CMYKcmyk(0%, 78.9%, 11.1%, 22%)
CIE-LABlab(48.23, 72.13, -36.18)
CIE-LCHlch(48.23, 80.70, 333.36°)
OKLaboklab(58.47% 0.2105 -0.0991)
OKLCHoklch(58.47% 0.233 334.8)
XYZxyz(32.3174, 16.9753, 43.1610)
Luminance0.1697 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C72AB1 #2AC740
analogous
#8F2AC7 #C72AB1 #C72A62
triadic
#C72AB1 #B1C72A #2AB1C7
tetradic
#C72AB1 #C78F2A #2AC740 #2A62C7
square
#C72AB1 #C78F2A #2AC740 #2A62C7
split-complementary
#C72AB1 #62C72A #2AC78F
monochromatic
#621557 #941F84 #C72AB1 #DB53C8 #E586D8

Accessibility & contrast

On white

4.78
#C72AB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#C72AB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C72AB1
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C72AB1#FFFFFF#000000##FFFFFF
##C72AB11.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2864B4
Deuteranopia (green-blind)
#657BAD
Tritanopia (blue-blind)
#D13A6D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c72ab1;
/* rgb */ color: rgb(199, 42, 177);
/* oklch */ color: oklch(58.5% 0.233 334.8);
Tailwind
colors: {
  custom: {
    50: '#dc76c9',
    500: '#c72ab1',
    950: '#000000',
  },
}
SCSS
$custom: #c72ab1;
$custom-light: #dc76c9;
$custom-dark: #000000;
JSON
{
  "hex": "#c72ab1",
  "rgb": {
    "r": 199,
    "g": 42,
    "b": 177
  },
  "hsl": {
    "h": 308.408,
    "s": 65.145,
    "l": 47.255
  },
  "oklch": {
    "l": 0.58467,
    "c": 0.23261,
    "h": 334.8
  },
  "luminance": 0.16972
}

Semantic roles & 50–950 ramp

primary
#C72AB1
secondary
#7ECF89
accent
#E85740
background
#FEF7FC
surface
#FCEEF8
border
#D5C9D1
text
#160A13
muted
#847C82

Preview Lab

Preview with #C72AB1

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

Preview Lab → · Contrast checker → · Palette generator →

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