#CC72CD#CC72CD

#CC72CD is a light, vivid purple. Relative luminance 0.293; OKLCH L 68.4% C 0.161 H 326.8°. Best body text is #000000 at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#CC72CD
RGBrgb(204, 114, 205)
HSLhsl(299, 48%, 63%)
HSVhsv(299, 44%, 80%)
CMYKcmyk(0.5%, 44.4%, 0%, 19.6%)
CIE-LABlab(61.03, 48.63, -32.23)
CIE-LCHlch(61.03, 58.34, 326.46°)
OKLaboklab(68.4% 0.1346 -0.0882)
OKLCHoklch(68.4% 0.161 326.8)
XYZxyz(41.9378, 29.2818, 61.1887)
Luminance0.2928 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC72CD #73CD72
analogous
#9F72CD #CC72CD #CD72A0
triadic
#CC72CD #CDCC72 #72CDCC
tetradic
#CC72CD #CD9F72 #73CD72 #72A0CD
square
#CC72CD #CD9F72 #73CD72 #72A0CD
split-complementary
#CC72CD #A0CD72 #72CD9F
monochromatic
#903391 #BC45BD #CC72CD #DC9FDD #EDCCED

Accessibility & contrast

On white

3.06
#CC72CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.86
#CC72CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC72CD
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC72CD#FFFFFF#000000##000000
##CC72CD1.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A8CD0
Deuteranopia (green-blind)
#8397CA
Tritanopia (blue-blind)
#D17B96
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #cc72cd;
/* rgb */ color: rgb(204, 114, 205);
/* oklch */ color: oklch(68.4% 0.161 326.8);
Tailwind
colors: {
  custom: {
    50: '#dd9ddc',
    500: '#cc72cd',
    950: '#000000',
  },
}
SCSS
$custom: #cc72cd;
$custom-light: #dd9ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc72cd",
  "rgb": {
    "r": 204,
    "g": 114,
    "b": 205
  },
  "hsl": {
    "h": 299.341,
    "s": 47.644,
    "l": 62.549
  },
  "oklch": {
    "l": 0.68395,
    "c": 0.16097,
    "h": 326.8
  },
  "luminance": 0.2928
}

Semantic roles & 50–950 ramp

primary
#CC72CD
secondary
#BDDEBD
accent
#BB2B2C
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150E15
muted
#837E83

Preview Lab

Preview with #CC72CD

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

Preview Lab → · Contrast checker → · Palette generator →

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