#C72DC7#C72DC7

#C72DC7 is a mid, highly saturated purple. Relative luminance 0.181; OKLCH L 59.9% C 0.245 H 328.1°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#C72DC7
RGBrgb(199, 45, 199)
HSLhsl(300, 63%, 48%)
HSVhsv(300, 77%, 78%)
CMYKcmyk(0%, 77.4%, 0%, 22%)
CIE-LABlab(49.67, 74.63, -46.72)
CIE-LCHlch(49.67, 88.05, 327.95°)
OKLaboklab(59.87% 0.2083 -0.1296)
OKLCHoklch(59.87% 0.245 328.1)
XYZxyz(34.8000, 18.1450, 55.6912)
Luminance0.1814 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C72DC7 #2DC72D
analogous
#7A2DC7 #C72DC7 #C72D7A
triadic
#C72DC7 #C7C72D #2DC7C7
tetradic
#C72DC7 #C77A2D #2DC72D #2D7AC7
square
#C72DC7 #C77A2D #2DC72D #2D7AC7
split-complementary
#C72DC7 #7AC72D #2DC77A
monochromatic
#631663 #952295 #C72DC7 #D958D9 #E58AE5

Accessibility & contrast

On white

4.54
#C72DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#C72DC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C72DC7
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C72DC7#FFFFFF#000000##000000
##C72DC71.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#006ACB
Deuteranopia (green-blind)
#5A7DC3
Tritanopia (blue-blind)
#CD487A
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c72dc7;
/* rgb */ color: rgb(199, 45, 199);
/* oklch */ color: oklch(59.9% 0.245 328.1);
Tailwind
colors: {
  custom: {
    50: '#dc78d8',
    500: '#c72dc7',
    950: '#000000',
  },
}
SCSS
$custom: #c72dc7;
$custom-light: #dc78d8;
$custom-dark: #000000;
JSON
{
  "hex": "#c72dc7",
  "rgb": {
    "r": 199,
    "g": 45,
    "b": 199
  },
  "hsl": {
    "h": 300,
    "s": 63.115,
    "l": 47.843
  },
  "oklch": {
    "l": 0.59874,
    "c": 0.24536,
    "h": 328.1
  },
  "luminance": 0.18142
}

Semantic roles & 50–950 ramp

primary
#C72DC7
secondary
#81CE81
accent
#E64242
background
#FEF7FD
surface
#FCEEFA
border
#D5C9D3
text
#160A14
muted
#847C83

Preview Lab

Preview with #C72DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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