#C72AB3#C72AB3

#C72AB3 is a mid, highly saturated purple. Relative luminance 0.171; OKLCH L 58.6% C 0.234 H 334.2°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#C72AB3
RGBrgb(199, 42, 179)
HSLhsl(308, 65%, 47%)
HSVhsv(308, 79%, 78%)
CMYKcmyk(0%, 78.9%, 10.1%, 22%)
CIE-LABlab(48.33, 72.42, -37.19)
CIE-LCHlch(48.33, 81.41, 332.82°)
OKLaboklab(58.57% 0.2106 -0.102)
OKLCHoklch(58.57% 0.234 334.2)
XYZxyz(32.5182, 17.0556, 44.2185)
Luminance0.1705 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C72AB3 #2AC73E
analogous
#8C2AC7 #C72AB3 #C72A65
triadic
#C72AB3 #B3C72A #2AB3C7
tetradic
#C72AB3 #C78C2A #2AC73E #2A65C7
square
#C72AB3 #C78C2A #2AC73E #2A65C7
split-complementary
#C72AB3 #65C72A #2AC78C
monochromatic
#621558 #941F86 #C72AB3 #DB53CA #E586D9

Accessibility & contrast

On white

4.76
#C72AB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#C72AB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C72AB3
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C72AB3#FFFFFF#000000##FFFFFF
##C72AB31.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2664B7
Deuteranopia (green-blind)
#647BAF
Tritanopia (blue-blind)
#D13B6E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c72ab3;
/* rgb */ color: rgb(199, 42, 179);
/* oklch */ color: oklch(58.6% 0.234 334.2);
Tailwind
colors: {
  custom: {
    50: '#dc76ca',
    500: '#c72ab3',
    950: '#000000',
  },
}
SCSS
$custom: #c72ab3;
$custom-light: #dc76ca;
$custom-dark: #000000;
JSON
{
  "hex": "#c72ab3",
  "rgb": {
    "r": 199,
    "g": 42,
    "b": 179
  },
  "hsl": {
    "h": 307.643,
    "s": 65.145,
    "l": 47.255
  },
  "oklch": {
    "l": 0.58572,
    "c": 0.23395,
    "h": 334.2
  },
  "luminance": 0.17053
}

Semantic roles & 50–950 ramp

primary
#C72AB3
secondary
#7ECF88
accent
#E85540
background
#FEF7FC
surface
#FCEEF8
border
#D5C9D1
text
#160A13
muted
#847C82

Preview Lab

Preview with #C72AB3

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

Preview Lab → · Contrast checker → · Palette generator →

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