#C72ECB#C72ECB

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

Color values

HEX#C72ECB
RGBrgb(199, 46, 203)
HSLhsl(298, 63%, 49%)
HSVhsv(298, 77%, 80%)
CMYKcmyk(2%, 77.3%, 0%, 20.4%)
CIE-LABlab(49.99, 74.99, -48.52)
CIE-LCHlch(49.99, 89.32, 327.10°)
OKLaboklab(60.17% 0.2074 -0.1348)
OKLCHoklch(60.17% 0.247 327)
XYZxyz(35.3091, 18.4104, 58.1822)
Luminance0.1841 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C72ECB #32CB2E
analogous
#792ECB #C72ECB #CB2E81
triadic
#C72ECB #CBC72E #2ECBC7
tetradic
#C72ECB #CB792E #32CB2E #2E81CB
square
#C72ECB #CB792E #32CB2E #2E81CB
split-complementary
#C72ECB #81CB2E #2ECB79
monochromatic
#651767 #962399 #C72ECB #D75CDA #E38EE5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C72ECB#FFFFFF#000000##000000
##C72ECB1.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)
#006BCF
Deuteranopia (green-blind)
#587DC7
Tritanopia (blue-blind)
#CD4A7C
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c72ecb;
/* rgb */ color: rgb(199, 46, 203);
/* oklch */ color: oklch(60.2% 0.247 327.0);
Tailwind
colors: {
  custom: {
    50: '#dc79db',
    500: '#c72ecb',
    950: '#000000',
  },
}
SCSS
$custom: #c72ecb;
$custom-light: #dc79db;
$custom-dark: #000000;
JSON
{
  "hex": "#c72ecb",
  "rgb": {
    "r": 199,
    "g": 46,
    "b": 203
  },
  "hsl": {
    "h": 298.471,
    "s": 63.052,
    "l": 48.824
  },
  "oklch": {
    "l": 0.60173,
    "c": 0.24741,
    "h": 327
  },
  "luminance": 0.18408
}

Semantic roles & 50–950 ramp

primary
#C72ECB
secondary
#87D085
accent
#E64246
background
#FEF7FD
surface
#FCEEFB
border
#D5C9D4
text
#160A15
muted
#847C83

Preview Lab

Preview with #C72ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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