#CC72E2#CC72E2

#CC72E2 is a light, vivid purple. Relative luminance 0.304; OKLCH L 69.4% C 0.181 H 319.5°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#CC72E2
RGBrgb(204, 114, 226)
HSLhsl(288, 66%, 67%)
HSVhsv(288, 50%, 89%)
CMYKcmyk(9.7%, 49.6%, 0%, 11.4%)
CIE-LABlab(61.97, 52.60, -42.55)
CIE-LCHlch(61.97, 67.66, 321.03°)
OKLaboklab(69.4% 0.138 -0.1179)
OKLCHoklch(69.4% 0.181 319.5)
XYZxyz(44.6449, 30.3647, 75.4460)
Luminance0.3036 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC72E2 #88E272
analogous
#9472E2 #CC72E2 #E272C0
triadic
#CC72E2 #E2CC72 #72E2CC
tetradic
#CC72E2 #E29472 #88E272 #72C0E2
square
#CC72E2 #E29472 #88E272 #72C0E2
split-complementary
#CC72E2 #C0E272 #72E294
monochromatic
#9825B4 #BA3FD8 #CC72E2 #DEA5EC #F1D8F7

Accessibility & contrast

On white

2.97
#CC72E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#CC72E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC72E2
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC72E2#FFFFFF#000000##000000
##CC72E21.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F90E6
Deuteranopia (green-blind)
#7A99DF
Tritanopia (blue-blind)
#CD82A0
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cc72e2;
/* rgb */ color: rgb(204, 114, 226);
/* oklch */ color: oklch(69.4% 0.181 319.5);
Tailwind
colors: {
  custom: {
    50: '#de9deb',
    500: '#cc72e2',
    950: '#000000',
  },
}
SCSS
$custom: #cc72e2;
$custom-light: #de9deb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc72e2",
  "rgb": {
    "r": 204,
    "g": 114,
    "b": 226
  },
  "hsl": {
    "h": 288.214,
    "s": 65.882,
    "l": 66.667
  },
  "oklch": {
    "l": 0.69399,
    "c": 0.18145,
    "h": 319.5
  },
  "luminance": 0.30363
}

Semantic roles & 50–950 ramp

primary
#CC72E2
secondary
#CDEAC6
accent
#CE183C
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F16
muted
#837E84

Preview Lab

Preview with #CC72E2

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

Preview Lab → · Contrast checker → · Palette generator →

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