#C72EC8#C72EC8

#C72EC8 is a mid, highly saturated purple. Relative luminance 0.183; OKLCH L 60.0% C 0.245 H 327.8°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#C72EC8
RGBrgb(199, 46, 200)
HSLhsl(300, 63%, 48%)
HSVhsv(300, 77%, 78%)
CMYKcmyk(0.5%, 77%, 0%, 21.6%)
CIE-LABlab(49.82, 74.52, -47.06)
CIE-LCHlch(49.82, 88.14, 327.73°)
OKLaboklab(60% 0.2076 -0.1306)
OKLCHoklch(60% 0.245 327.8)
XYZxyz(34.9551, 18.2688, 56.3176)
Luminance0.1827 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C72EC8 #2FC82E
analogous
#7A2EC8 #C72EC8 #C82E7C
triadic
#C72EC8 #C8C72E #2EC8C7
tetradic
#C72EC8 #C87A2E #2FC82E #2E7CC8
square
#C72EC8 #C87A2E #2FC82E #2E7CC8
split-complementary
#C72EC8 #7CC82E #2EC87A
monochromatic
#641764 #952396 #C72EC8 #D85AD9 #E48CE5

Accessibility & contrast

On white

4.51
#C72EC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#C72EC8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C72EC8
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C72EC8#FFFFFF#000000##000000
##C72EC81.004.514.654.65
#FFFFFF4.511.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#006ACC
Deuteranopia (green-blind)
#5A7DC4
Tritanopia (blue-blind)
#CD497B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c72ec8;
/* rgb */ color: rgb(199, 46, 200);
/* oklch */ color: oklch(60.0% 0.245 327.8);
Tailwind
colors: {
  custom: {
    50: '#dc79d9',
    500: '#c72ec8',
    950: '#000000',
  },
}
SCSS
$custom: #c72ec8;
$custom-light: #dc79d9;
$custom-dark: #000000;
JSON
{
  "hex": "#c72ec8",
  "rgb": {
    "r": 199,
    "g": 46,
    "b": 200
  },
  "hsl": {
    "h": 299.61,
    "s": 62.602,
    "l": 48.235
  },
  "oklch": {
    "l": 0.59998,
    "c": 0.24522,
    "h": 327.8
  },
  "luminance": 0.18266
}

Semantic roles & 50–950 ramp

primary
#C72EC8
secondary
#84CF83
accent
#E64243
background
#FEF7FD
surface
#FCEEFA
border
#D5C9D3
text
#160A15
muted
#847C83

Preview Lab

Preview with #C72EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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