#CC7DC2#CC7DC2

#CC7DC2 is a light, vivid purple. Relative luminance 0.314; OKLCH L 69.6% C 0.132 H 331.6°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#CC7DC2
RGBrgb(204, 125, 194)
HSLhsl(308, 44%, 65%)
HSVhsv(308, 39%, 80%)
CMYKcmyk(0%, 38.7%, 4.9%, 20%)
CIE-LABlab(62.85, 40.90, -23.22)
CIE-LCHlch(62.85, 47.04, 330.41°)
OKLaboklab(69.61% 0.116 -0.0628)
OKLCHoklch(69.61% 0.132 331.6)
XYZxyz(41.9726, 31.4017, 54.8788)
Luminance0.3140 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7DC2 #7DCC87
analogous
#AF7DCC #CC7DC2 #CC7D9B
triadic
#CC7DC2 #C2CC7D #7DC2CC
tetradic
#CC7DC2 #CCAF7D #7DCC87 #7D9BCC
square
#CC7DC2 #CCAF7D #7DCC87 #7D9BCC
split-complementary
#CC7DC2 #9BCC7D #7DCCAF
monochromatic
#943A89 #BB51AD #CC7DC2 #DDA9D7 #EED5EB

Accessibility & contrast

On white

2.88
#CC7DC2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#CC7DC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7DC2
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7DC2#FFFFFF#000000##000000
##CC7DC21.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B91C5
Deuteranopia (green-blind)
#8F9CC0
Tritanopia (blue-blind)
#D28297
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cc7dc2;
/* rgb */ color: rgb(204, 125, 194);
/* oklch */ color: oklch(69.6% 0.132 331.6);
Tailwind
colors: {
  custom: {
    50: '#dda4d4',
    500: '#cc7dc2',
    950: '#000000',
  },
}
SCSS
$custom: #cc7dc2;
$custom-light: #dda4d4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7dc2",
  "rgb": {
    "r": 204,
    "g": 125,
    "b": 194
  },
  "hsl": {
    "h": 307.595,
    "s": 43.646,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69611,
    "c": 0.13189,
    "h": 331.6
  },
  "luminance": 0.314
}

Semantic roles & 50–950 ramp

primary
#CC7DC2
secondary
#C5E0C8
accent
#B7402F
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #CC7DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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