#C72EAE#C72EAE

#C72EAE is a mid, highly saturated purple. Relative luminance 0.172; OKLCH L 58.6% C 0.227 H 335.8°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#C72EAE
RGBrgb(199, 46, 174)
HSLhsl(310, 62%, 48%)
HSVhsv(310, 77%, 78%)
CMYKcmyk(0%, 76.9%, 12.6%, 22%)
CIE-LABlab(48.45, 70.63, -34.06)
CIE-LCHlch(48.45, 78.41, 334.26°)
OKLaboklab(58.58% 0.2071 -0.093)
OKLCHoklch(58.58% 0.227 335.8)
XYZxyz(32.1707, 17.1551, 41.6532)
Luminance0.1715 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C72EAE #2EC747
analogous
#932EC7 #C72EAE #C72E61
triadic
#C72EAE #AEC72E #2EAEC7
tetradic
#C72EAE #C7932E #2EC747 #2E61C7
square
#C72EAE #C7932E #2EC747 #2E61C7
split-complementary
#C72EAE #61C72E #2EC793
monochromatic
#641757 #952383 #C72EAE #D959C4 #E48BD6

Accessibility & contrast

On white

4.74
#C72EAE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#C72EAE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C72EAE
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C72EAE#FFFFFF#000000##FFFFFF
##C72EAE1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3065B1
Deuteranopia (green-blind)
#677BAA
Tritanopia (blue-blind)
#D13B6C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c72eae;
/* rgb */ color: rgb(199, 46, 174);
/* oklch */ color: oklch(58.6% 0.227 335.8);
Tailwind
colors: {
  custom: {
    50: '#dc78c6',
    500: '#c72eae',
    950: '#000000',
  },
}
SCSS
$custom: #c72eae;
$custom-light: #dc78c6;
$custom-dark: #000000;
JSON
{
  "hex": "#c72eae",
  "rgb": {
    "r": 199,
    "g": 46,
    "b": 174
  },
  "hsl": {
    "h": 309.804,
    "s": 62.449,
    "l": 48.039
  },
  "oklch": {
    "l": 0.5858,
    "c": 0.227,
    "h": 335.8
  },
  "luminance": 0.17152
}

Semantic roles & 50–950 ramp

primary
#C72EAE
secondary
#83CE8F
accent
#E65D42
background
#FEF7FC
surface
#FCEEF8
border
#D5C9D1
text
#160A13
muted
#847C82

Preview Lab

Preview with #C72EAE

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

Preview Lab → · Contrast checker → · Palette generator →

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