#C72FAF#C72FAF

#C72FAF is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 58.7% C 0.227 H 335.5°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#C72FAF
RGBrgb(199, 47, 175)
HSLhsl(309, 62%, 48%)
HSVhsv(309, 76%, 78%)
CMYKcmyk(0%, 76.4%, 12.1%, 22%)
CIE-LABlab(48.60, 70.49, -34.41)
CIE-LCHlch(48.60, 78.44, 333.98°)
OKLaboklab(58.7% 0.2063 -0.094)
OKLCHoklch(58.7% 0.227 335.5)
XYZxyz(32.3080, 17.2732, 42.1817)
Luminance0.1727 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C72FAF #2FC747
analogous
#932FC7 #C72FAF #C72F63
triadic
#C72FAF #AFC72F #2FAFC7
tetradic
#C72FAF #C7932F #2FC747 #2F63C7
square
#C72FAF #C7932F #2FC747 #2F63C7
split-complementary
#C72FAF #63C72F #2FC793
monochromatic
#641858 #952383 #C72FAF #D85BC4 #E48CD6

Accessibility & contrast

On white

4.71
#C72FAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#C72FAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C72FAF
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C72FAF#FFFFFF#000000##FFFFFF
##C72FAF1.004.714.454.71
#FFFFFF4.711.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3065B2
Deuteranopia (green-blind)
#677BAB
Tritanopia (blue-blind)
#D13C6D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c72faf;
/* rgb */ color: rgb(199, 47, 175);
/* oklch */ color: oklch(58.7% 0.227 335.5);
Tailwind
colors: {
  custom: {
    50: '#dc78c7',
    500: '#c72faf',
    950: '#000000',
  },
}
SCSS
$custom: #c72faf;
$custom-light: #dc78c7;
$custom-dark: #000000;
JSON
{
  "hex": "#c72faf",
  "rgb": {
    "r": 199,
    "g": 47,
    "b": 175
  },
  "hsl": {
    "h": 309.474,
    "s": 61.789,
    "l": 48.235
  },
  "oklch": {
    "l": 0.58702,
    "c": 0.22673,
    "h": 335.5
  },
  "luminance": 0.1727
}

Semantic roles & 50–950 ramp

primary
#C72FAF
secondary
#84CE8F
accent
#E55C43
background
#FEF7FC
surface
#FCEEF8
border
#D5C9D1
text
#160A13
muted
#847C82

Preview Lab

Preview with #C72FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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