#CC7CD1#CC7CD1

#CC7CD1 is a light, vivid purple. Relative luminance 0.319; OKLCH L 70.1% C 0.148 H 324.9°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#CC7CD1
RGBrgb(204, 124, 209)
HSLhsl(296, 48%, 65%)
HSVhsv(296, 41%, 82%)
CMYKcmyk(2.4%, 40.7%, 0%, 18%)
CIE-LABlab(63.23, 44.18, -31.08)
CIE-LCHlch(63.23, 54.01, 324.87°)
OKLaboklab(70.09% 0.121 -0.085)
OKLCHoklch(70.09% 0.148 324.9)
XYZxyz(43.6171, 31.8580, 64.1609)
Luminance0.3186 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7CD1 #81D17C
analogous
#A27CD1 #CC7CD1 #D17CAB
triadic
#CC7CD1 #D1CC7C #7CD1CC
tetradic
#CC7CD1 #D1A27C #81D17C #7CABD1
square
#CC7CD1 #D1A27C #81D17C #7CABD1
split-complementary
#CC7CD1 #ABD17C #7CD1A2
monochromatic
#96379C #BA4FC1 #CC7CD1 #DEA9E1 #EFD7F1

Accessibility & contrast

On white

2.85
#CC7CD1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#CC7CD1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7CD1
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7CD1#FFFFFF#000000##000000
##CC7CD11.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7493D4
Deuteranopia (green-blind)
#899DCE
Tritanopia (blue-blind)
#D0859D
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cc7cd1;
/* rgb */ color: rgb(204, 124, 209);
/* oklch */ color: oklch(70.1% 0.148 324.9);
Tailwind
colors: {
  custom: {
    50: '#dda4df',
    500: '#cc7cd1',
    950: '#000000',
  },
}
SCSS
$custom: #cc7cd1;
$custom-light: #dda4df;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7cd1",
  "rgb": {
    "r": 204,
    "g": 124,
    "b": 209
  },
  "hsl": {
    "h": 296.471,
    "s": 48.023,
    "l": 65.294
  },
  "oklch": {
    "l": 0.70091,
    "c": 0.14785,
    "h": 324.9
  },
  "luminance": 0.31856
}

Semantic roles & 50–950 ramp

primary
#CC7CD1
secondary
#C8E3C6
accent
#BB2A33
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CC7CD1

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

Preview Lab → · Contrast checker → · Palette generator →

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