#CC7CD9#CC7CD9

#CC7CD9 is a light, vivid purple. Relative luminance 0.323; OKLCH L 70.5% C 0.156 H 321.8°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#CC7CD9
RGBrgb(204, 124, 217)
HSLhsl(292, 55%, 67%)
HSVhsv(292, 43%, 85%)
CMYKcmyk(6%, 42.9%, 0%, 14.9%)
CIE-LABlab(63.56, 45.70, -35.04)
CIE-LCHlch(63.56, 57.59, 322.52°)
OKLaboklab(70.45% 0.1226 -0.0963)
OKLCHoklch(70.45% 0.156 321.8)
XYZxyz(44.6325, 32.2641, 69.5087)
Luminance0.3226 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7CD9 #89D97C
analogous
#9E7CD9 #CC7CD9 #D97CB8
triadic
#CC7CD9 #D9CC7C #7CD9CC
tetradic
#CC7CD9 #D99E7C #89D97C #7CB8D9
square
#CC7CD9 #D99E7C #89D97C #7CB8D9
split-complementary
#CC7CD9 #B8D97C #7CD99E
monochromatic
#9931A9 #BA4DCB #CC7CD9 #DEABE7 #F1DBF5

Accessibility & contrast

On white

2.82
#CC7CD9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#CC7CD9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7CD9
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7CD9#FFFFFF#000000##000000
##CC7CD91.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7094DC
Deuteranopia (green-blind)
#869DD6
Tritanopia (blue-blind)
#CE87A0
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cc7cd9;
/* rgb */ color: rgb(204, 124, 217);
/* oklch */ color: oklch(70.5% 0.156 321.8);
Tailwind
colors: {
  custom: {
    50: '#dda4e5',
    500: '#cc7cd9',
    950: '#000000',
  },
}
SCSS
$custom: #cc7cd9;
$custom-light: #dda4e5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7cd9",
  "rgb": {
    "r": 204,
    "g": 124,
    "b": 217
  },
  "hsl": {
    "h": 291.613,
    "s": 55.03,
    "l": 66.863
  },
  "oklch": {
    "l": 0.70452,
    "c": 0.15587,
    "h": 321.8
  },
  "luminance": 0.32262
}

Semantic roles & 50–950 ramp

primary
#CC7CD9
secondary
#CEE7CA
accent
#C32339
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F15
muted
#837F84

Preview Lab

Preview with #CC7CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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