#C72FC9#C72FC9

#C72FC9 is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 60.1% C 0.245 H 327.5°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#C72FC9
RGBrgb(199, 47, 201)
HSLhsl(299, 62%, 49%)
HSVhsv(299, 77%, 79%)
CMYKcmyk(1%, 76.6%, 0%, 21.2%)
CIE-LABlab(49.97, 74.40, -47.40)
CIE-LCHlch(49.97, 88.22, 327.50°)
OKLaboklab(60.12% 0.2067 -0.1316)
OKLCHoklch(60.12% 0.245 327.5)
XYZxyz(35.1118, 18.3948, 56.9482)
Luminance0.1839 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C72FC9 #31C92F
analogous
#7A2FC9 #C72FC9 #C92F7E
triadic
#C72FC9 #C9C72F #2FC9C7
tetradic
#C72FC9 #C97A2F #31C92F #2F7EC9
square
#C72FC9 #C97A2F #31C92F #2F7EC9
split-complementary
#C72FC9 #7EC92F #2FC97A
monochromatic
#651866 #962397 #C72FC9 #D75CD9 #E38EE5

Accessibility & contrast

On white

4.49
#C72FC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#C72FC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C72FC9
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C72FC9#FFFFFF#000000##000000
##C72FC91.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#006BCD
Deuteranopia (green-blind)
#5A7DC5
Tritanopia (blue-blind)
#CD4A7C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c72fc9;
/* rgb */ color: rgb(199, 47, 201);
/* oklch */ color: oklch(60.1% 0.245 327.5);
Tailwind
colors: {
  custom: {
    50: '#dc79da',
    500: '#c72fc9',
    950: '#000000',
  },
}
SCSS
$custom: #c72fc9;
$custom-light: #dc79da;
$custom-dark: #000000;
JSON
{
  "hex": "#c72fc9",
  "rgb": {
    "r": 199,
    "g": 47,
    "b": 201
  },
  "hsl": {
    "h": 299.221,
    "s": 62.097,
    "l": 48.627
  },
  "oklch": {
    "l": 0.60123,
    "c": 0.24506,
    "h": 327.5
  },
  "luminance": 0.18392
}

Semantic roles & 50–950 ramp

primary
#C72FC9
secondary
#86CF85
accent
#E54345
background
#FEF8FD
surface
#FCEFFB
border
#D5CAD4
text
#160A15
muted
#847C83

Preview Lab

Preview with #C72FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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