#C72AAF#C72AAF

#C72AAF is a mid, highly saturated purple. Relative luminance 0.169; OKLCH L 58.4% C 0.231 H 335.4°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#C72AAF
RGBrgb(199, 42, 175)
HSLhsl(309, 65%, 47%)
HSVhsv(309, 79%, 78%)
CMYKcmyk(0%, 78.9%, 12.1%, 22%)
CIE-LABlab(48.13, 71.85, -35.16)
CIE-LCHlch(48.13, 79.99, 333.93°)
OKLaboklab(58.36% 0.2104 -0.0961)
OKLCHoklch(58.36% 0.231 335.4)
XYZxyz(32.1195, 16.8962, 42.1188)
Luminance0.1689 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C72AAF #2AC742
analogous
#912AC7 #C72AAF #C72A61
triadic
#C72AAF #AFC72A #2AAFC7
tetradic
#C72AAF #C7912A #2AC742 #2A61C7
square
#C72AAF #C7912A #2AC742 #2A61C7
split-complementary
#C72AAF #61C72A #2AC791
monochromatic
#621556 #941F83 #C72AAF #DB53C6 #E586D7

Accessibility & contrast

On white

4.80
#C72AAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#C72AAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C72AAF
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C72AAF#FFFFFF#000000##FFFFFF
##C72AAF1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A64B2
Deuteranopia (green-blind)
#667AAB
Tritanopia (blue-blind)
#D1386C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c72aaf;
/* rgb */ color: rgb(199, 42, 175);
/* oklch */ color: oklch(58.4% 0.231 335.4);
Tailwind
colors: {
  custom: {
    50: '#dc76c7',
    500: '#c72aaf',
    950: '#000000',
  },
}
SCSS
$custom: #c72aaf;
$custom-light: #dc76c7;
$custom-dark: #000000;
JSON
{
  "hex": "#c72aaf",
  "rgb": {
    "r": 199,
    "g": 42,
    "b": 175
  },
  "hsl": {
    "h": 309.172,
    "s": 65.145,
    "l": 47.255
  },
  "oklch": {
    "l": 0.58363,
    "c": 0.23128,
    "h": 335.4
  },
  "luminance": 0.16893
}

Semantic roles & 50–950 ramp

primary
#C72AAF
secondary
#7ECF8A
accent
#E85940
background
#FEF7FC
surface
#FCEEF8
border
#D5C9D1
text
#160A13
muted
#847C82

Preview Lab

Preview with #C72AAF

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

Preview Lab → · Contrast checker → · Palette generator →

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