#CC72E6#CC72E6

#CC72E6 is a light, vivid purple. Relative luminance 0.306; OKLCH L 69.6% C 0.185 H 318.3°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#CC72E6
RGBrgb(204, 114, 230)
HSLhsl(287, 70%, 67%)
HSVhsv(287, 50%, 90%)
CMYKcmyk(11.3%, 50.4%, 0%, 9.8%)
CIE-LABlab(62.16, 53.39, -44.48)
CIE-LCHlch(62.16, 69.49, 320.20°)
OKLaboklab(69.6% 0.1384 -0.1235)
OKLCHoklch(69.6% 0.185 318.3)
XYZxyz(45.2001, 30.5868, 78.3704)
Luminance0.3059 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC72E6 #8CE672
analogous
#9272E6 #CC72E6 #E672C6
triadic
#CC72E6 #E6CC72 #72E6CC
tetradic
#CC72E6 #E69272 #8CE672 #72C6E6
square
#CC72E6 #E69272 #8CE672 #72C6E6
split-complementary
#CC72E6 #C6E672 #72E692
monochromatic
#9A21BC #B93EDD #CC72E6 #DFA6EF #F2DAF8

Accessibility & contrast

On white

2.95
#CC72E6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#CC72E6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC72E6
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC72E6#FFFFFF#000000##000000
##CC72E61.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C90EA
Deuteranopia (green-blind)
#7899E3
Tritanopia (blue-blind)
#CC83A2
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cc72e6;
/* rgb */ color: rgb(204, 114, 230);
/* oklch */ color: oklch(69.6% 0.185 318.3);
Tailwind
colors: {
  custom: {
    50: '#de9dee',
    500: '#cc72e6',
    950: '#000000',
  },
}
SCSS
$custom: #cc72e6;
$custom-light: #de9dee;
$custom-dark: #000000;
JSON
{
  "hex": "#cc72e6",
  "rgb": {
    "r": 204,
    "g": 114,
    "b": 230
  },
  "hsl": {
    "h": 286.552,
    "s": 69.88,
    "l": 67.451
  },
  "oklch": {
    "l": 0.69601,
    "c": 0.18549,
    "h": 318.3
  },
  "luminance": 0.30585
}

Semantic roles & 50–950 ramp

primary
#CC72E6
secondary
#D0ECC8
accent
#D2143E
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F16
muted
#837E84

Preview Lab

Preview with #CC72E6

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

Preview Lab → · Contrast checker → · Palette generator →

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