#CC7CD8#CC7CD8

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

Color values

HEX#CC7CD8
RGBrgb(204, 124, 216)
HSLhsl(292, 54%, 67%)
HSVhsv(292, 43%, 85%)
CMYKcmyk(5.6%, 42.6%, 0%, 15.3%)
CIE-LABlab(63.52, 45.51, -34.54)
CIE-LCHlch(63.52, 57.13, 322.80°)
OKLaboklab(70.41% 0.1224 -0.0949)
OKLCHoklch(70.41% 0.155 322.2)
XYZxyz(44.5028, 32.2123, 68.8258)
Luminance0.3221 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7CD8 #88D87C
analogous
#9E7CD8 #CC7CD8 #D87CB6
triadic
#CC7CD8 #D8CC7C #7CD8CC
tetradic
#CC7CD8 #D89E7C #88D87C #7CB6D8
square
#CC7CD8 #D89E7C #88D87C #7CB6D8
split-complementary
#CC7CD8 #B6D87C #7CD89E
monochromatic
#9832A8 #BA4DCA #CC7CD8 #DEABE6 #F1DAF4

Accessibility & contrast

On white

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

On black

7.44
#CC7CD8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7CD8
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7CD8#FFFFFF#000000##000000
##CC7CD81.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc7cd8;
/* rgb */ color: rgb(204, 124, 216);
/* oklch */ color: oklch(70.4% 0.155 322.2);
Tailwind
colors: {
  custom: {
    50: '#dda4e4',
    500: '#cc7cd8',
    950: '#000000',
  },
}
SCSS
$custom: #cc7cd8;
$custom-light: #dda4e4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7cd8",
  "rgb": {
    "r": 204,
    "g": 124,
    "b": 216
  },
  "hsl": {
    "h": 292.174,
    "s": 54.118,
    "l": 66.667
  },
  "oklch": {
    "l": 0.70406,
    "c": 0.15485,
    "h": 322.2
  },
  "luminance": 0.32211
}

Semantic roles & 50–950 ramp

primary
#CC7CD8
secondary
#CDE7C9
accent
#C22438
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F15
muted
#837F84

Preview Lab

Preview with #CC7CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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