#C72DC5#C72DC5

#C72DC5 is a mid, highly saturated purple. Relative luminance 0.180; OKLCH L 59.8% C 0.244 H 328.7°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#C72DC5
RGBrgb(199, 45, 197)
HSLhsl(301, 63%, 48%)
HSVhsv(301, 77%, 78%)
CMYKcmyk(0%, 77.4%, 1%, 22%)
CIE-LABlab(49.56, 74.32, -45.74)
CIE-LCHlch(49.56, 87.27, 328.39°)
OKLaboklab(59.76% 0.2084 -0.1267)
OKLCHoklch(59.76% 0.244 328.7)
XYZxyz(34.5693, 18.0527, 54.4763)
Luminance0.1805 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C72DC5 #2DC72F
analogous
#7C2DC7 #C72DC5 #C72D78
triadic
#C72DC5 #C5C72D #2DC5C7
tetradic
#C72DC5 #C77C2D #2DC72F #2D78C7
square
#C72DC5 #C77C2D #2DC72F #2D78C7
split-complementary
#C72DC5 #78C72D #2DC77C
monochromatic
#631662 #952294 #C72DC5 #D958D8 #E58AE3

Accessibility & contrast

On white

4.56
#C72DC5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#C72DC5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C72DC5
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C72DC5#FFFFFF#000000##000000
##C72DC51.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0169C9
Deuteranopia (green-blind)
#5B7DC1
Tritanopia (blue-blind)
#CE4679
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c72dc5;
/* rgb */ color: rgb(199, 45, 197);
/* oklch */ color: oklch(59.8% 0.244 328.7);
Tailwind
colors: {
  custom: {
    50: '#dc78d7',
    500: '#c72dc5',
    950: '#000000',
  },
}
SCSS
$custom: #c72dc5;
$custom-light: #dc78d7;
$custom-dark: #000000;
JSON
{
  "hex": "#c72dc5",
  "rgb": {
    "r": 199,
    "g": 45,
    "b": 197
  },
  "hsl": {
    "h": 300.779,
    "s": 63.115,
    "l": 47.843
  },
  "oklch": {
    "l": 0.59759,
    "c": 0.24392,
    "h": 328.7
  },
  "luminance": 0.1805
}

Semantic roles & 50–950 ramp

primary
#C72DC5
secondary
#81CE82
accent
#E64442
background
#FEF7FD
surface
#FCEEFA
border
#D5C9D3
text
#160A14
muted
#847C83

Preview Lab

Preview with #C72DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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