#C72DCA#C72DCA

#C72DCA is a mid, highly saturated purple. Relative luminance 0.183; OKLCH L 60.0% C 0.248 H 327.3°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#C72DCA
RGBrgb(199, 45, 202)
HSLhsl(299, 64%, 48%)
HSVhsv(299, 78%, 79%)
CMYKcmyk(1.5%, 77.7%, 0%, 20.8%)
CIE-LABlab(49.84, 75.10, -48.18)
CIE-LCHlch(49.84, 89.23, 327.32°)
OKLaboklab(60.05% 0.2082 -0.1339)
OKLCHoklch(60.05% 0.248 327.3)
XYZxyz(35.1517, 18.2857, 57.5437)
Luminance0.1828 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C72DCA #30CA2D
analogous
#792DCA #C72DCA #CA2D7E
triadic
#C72DCA #CAC72D #2DCAC7
tetradic
#C72DCA #CA792D #30CA2D #2D7ECA
square
#C72DCA #CA792D #30CA2D #2D7ECA
split-complementary
#C72DCA #7ECA2D #2DCA79
monochromatic
#641766 #962298 #C72DCA #D85ADA #E48CE5

Accessibility & contrast

On white

4.51
#C72DCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#C72DCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C72DCA
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C72DCA#FFFFFF#000000##000000
##C72DCA1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#006ACE
Deuteranopia (green-blind)
#587DC6
Tritanopia (blue-blind)
#CD497C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c72dca;
/* rgb */ color: rgb(199, 45, 202);
/* oklch */ color: oklch(60.0% 0.248 327.3);
Tailwind
colors: {
  custom: {
    50: '#dc78db',
    500: '#c72dca',
    950: '#000000',
  },
}
SCSS
$custom: #c72dca;
$custom-light: #dc78db;
$custom-dark: #000000;
JSON
{
  "hex": "#c72dca",
  "rgb": {
    "r": 199,
    "g": 45,
    "b": 202
  },
  "hsl": {
    "h": 298.854,
    "s": 63.563,
    "l": 48.431
  },
  "oklch": {
    "l": 0.60049,
    "c": 0.24754,
    "h": 327.3
  },
  "luminance": 0.18283
}

Semantic roles & 50–950 ramp

primary
#C72DCA
secondary
#85CF83
accent
#E74144
background
#FEF7FD
surface
#FCEEFB
border
#D5C9D4
text
#160A15
muted
#847C83

Preview Lab

Preview with #C72DCA

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

Preview Lab → · Contrast checker → · Palette generator →

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