#C72EC5#C72EC5

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

Color values

HEX#C72EC5
RGBrgb(199, 46, 197)
HSLhsl(301, 62%, 48%)
HSVhsv(301, 77%, 78%)
CMYKcmyk(0%, 76.9%, 1%, 22%)
CIE-LABlab(49.65, 74.05, -45.59)
CIE-LCHlch(49.65, 86.96, 328.38°)
OKLaboklab(59.83% 0.2076 -0.1263)
OKLCHoklch(59.83% 0.243 328.7)
XYZxyz(34.6079, 18.1300, 54.4892)
Luminance0.1813 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C72EC5 #2EC730
analogous
#7C2EC7 #C72EC5 #C72E79
triadic
#C72EC5 #C5C72E #2EC5C7
tetradic
#C72EC5 #C77C2E #2EC730 #2E79C7
square
#C72EC5 #C77C2E #2EC730 #2E79C7
split-complementary
#C72EC5 #79C72E #2EC77C
monochromatic
#641763 #952394 #C72EC5 #D959D7 #E48BE3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C72EC5#FFFFFF#000000##000000
##C72EC51.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)
#0469C9
Deuteranopia (green-blind)
#5C7DC1
Tritanopia (blue-blind)
#CE4779
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c72ec5;
/* rgb */ color: rgb(199, 46, 197);
/* oklch */ color: oklch(59.8% 0.243 328.7);
Tailwind
colors: {
  custom: {
    50: '#dc79d7',
    500: '#c72ec5',
    950: '#000000',
  },
}
SCSS
$custom: #c72ec5;
$custom-light: #dc79d7;
$custom-dark: #000000;
JSON
{
  "hex": "#c72ec5",
  "rgb": {
    "r": 199,
    "g": 46,
    "b": 197
  },
  "hsl": {
    "h": 300.784,
    "s": 62.449,
    "l": 48.039
  },
  "oklch": {
    "l": 0.59825,
    "c": 0.24305,
    "h": 328.7
  },
  "luminance": 0.18127
}

Semantic roles & 50–950 ramp

primary
#C72EC5
secondary
#83CE84
accent
#E64442
background
#FEF7FD
surface
#FCEEFA
border
#D5C9D3
text
#160A14
muted
#847C83

Preview Lab

Preview with #C72EC5

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

Preview Lab → · Contrast checker → · Palette generator →

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