#CC7CD7#CC7CD7

#CC7CD7 is a light, vivid purple. Relative luminance 0.322; OKLCH L 70.4% C 0.154 H 322.6°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#CC7CD7
RGBrgb(204, 124, 215)
HSLhsl(293, 53%, 66%)
HSVhsv(293, 42%, 84%)
CMYKcmyk(5.1%, 42.3%, 0%, 15.7%)
CIE-LABlab(63.48, 45.32, -34.05)
CIE-LCHlch(63.48, 56.68, 323.08°)
OKLaboklab(70.36% 0.1222 -0.0935)
OKLCHoklch(70.36% 0.154 322.6)
XYZxyz(44.3739, 32.1607, 68.1470)
Luminance0.3216 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7CD7 #87D77C
analogous
#9F7CD7 #CC7CD7 #D77CB5
triadic
#CC7CD7 #D7CC7C #7CD7CC
tetradic
#CC7CD7 #D79F7C #87D77C #7CB5D7
square
#CC7CD7 #D79F7C #87D77C #7CB5D7
split-complementary
#CC7CD7 #B5D77C #7CD79F
monochromatic
#9833A6 #BA4DC9 #CC7CD7 #DEABE5 #F1DAF4

Accessibility & contrast

On white

2.83
#CC7CD7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#CC7CD7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7CD7
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7CD7#FFFFFF#000000##000000
##CC7CD71.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7194DA
Deuteranopia (green-blind)
#879DD4
Tritanopia (blue-blind)
#CF879F
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cc7cd7;
/* rgb */ color: rgb(204, 124, 215);
/* oklch */ color: oklch(70.4% 0.154 322.6);
Tailwind
colors: {
  custom: {
    50: '#dda4e3',
    500: '#cc7cd7',
    950: '#000000',
  },
}
SCSS
$custom: #cc7cd7;
$custom-light: #dda4e3;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7cd7",
  "rgb": {
    "r": 204,
    "g": 124,
    "b": 215
  },
  "hsl": {
    "h": 292.747,
    "s": 53.216,
    "l": 66.471
  },
  "oklch": {
    "l": 0.7036,
    "c": 0.15384,
    "h": 322.6
  },
  "luminance": 0.32159
}

Semantic roles & 50–950 ramp

primary
#CC7CD7
secondary
#CCE6C9
accent
#C12538
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CC7CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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