#C72FB1#C72FB1

#C72FB1 is a mid, highly saturated purple. Relative luminance 0.173; OKLCH L 58.8% C 0.228 H 334.8°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#C72FB1
RGBrgb(199, 47, 177)
HSLhsl(309, 62%, 48%)
HSVhsv(309, 76%, 78%)
CMYKcmyk(0%, 76.4%, 11.1%, 22%)
CIE-LABlab(48.70, 70.78, -35.44)
CIE-LCHlch(48.70, 79.15, 333.40°)
OKLaboklab(58.8% 0.2065 -0.097)
OKLCHoklch(58.8% 0.228 334.8)
XYZxyz(32.5059, 17.3524, 43.2238)
Luminance0.1735 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C72FB1 #2FC745
analogous
#912FC7 #C72FB1 #C72F65
triadic
#C72FB1 #B1C72F #2FB1C7
tetradic
#C72FB1 #C7912F #2FC745 #2F65C7
square
#C72FB1 #C7912F #2FC745 #2F65C7
split-complementary
#C72FB1 #65C72F #2FC791
monochromatic
#641859 #952385 #C72FB1 #D85BC6 #E48CD7

Accessibility & contrast

On white

4.70
#C72FB1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#C72FB1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C72FB1
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C72FB1#FFFFFF#000000##FFFFFF
##C72FB11.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E65B4
Deuteranopia (green-blind)
#667CAD
Tritanopia (blue-blind)
#D13D6E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c72fb1;
/* rgb */ color: rgb(199, 47, 177);
/* oklch */ color: oklch(58.8% 0.228 334.8);
Tailwind
colors: {
  custom: {
    50: '#dc78c8',
    500: '#c72fb1',
    950: '#000000',
  },
}
SCSS
$custom: #c72fb1;
$custom-light: #dc78c8;
$custom-dark: #000000;
JSON
{
  "hex": "#c72fb1",
  "rgb": {
    "r": 199,
    "g": 47,
    "b": 177
  },
  "hsl": {
    "h": 308.684,
    "s": 61.789,
    "l": 48.235
  },
  "oklch": {
    "l": 0.58805,
    "c": 0.22809,
    "h": 334.8
  },
  "luminance": 0.17349
}

Semantic roles & 50–950 ramp

primary
#C72FB1
secondary
#84CE8E
accent
#E55A43
background
#FEF7FC
surface
#FCEEF8
border
#D5C9D1
text
#160A13
muted
#847C82

Preview Lab

Preview with #C72FB1

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

Preview Lab → · Contrast checker → · Palette generator →

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