#CC7CC2#CC7CC2

#CC7CC2 is a light, vivid purple. Relative luminance 0.311; OKLCH L 69.5% C 0.134 H 331.5°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#CC7CC2
RGBrgb(204, 124, 194)
HSLhsl(308, 44%, 64%)
HSVhsv(308, 39%, 80%)
CMYKcmyk(0%, 39.2%, 4.9%, 20%)
CIE-LABlab(62.63, 41.43, -23.55)
CIE-LCHlch(62.63, 47.66, 330.39°)
OKLaboklab(69.45% 0.1175 -0.0637)
OKLCHoklch(69.45% 0.134 331.5)
XYZxyz(41.8466, 31.1498, 54.8368)
Luminance0.3115 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7CC2 #7CCC86
analogous
#AE7CCC #CC7CC2 #CC7C9A
triadic
#CC7CC2 #C2CC7C #7CC2CC
tetradic
#CC7CC2 #CCAE7C #7CCC86 #7C9ACC
square
#CC7CC2 #CCAE7C #7CCC86 #7C9ACC
split-complementary
#CC7CC2 #9ACC7C #7CCCAE
monochromatic
#943A89 #BB50AD #CC7CC2 #DDA8D7 #EED4EB

Accessibility & contrast

On white

2.90
#CC7CC2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#CC7CC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7CC2
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7CC2#FFFFFF#000000##000000
##CC7CC21.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A91C5
Deuteranopia (green-blind)
#8E9CC0
Tritanopia (blue-blind)
#D28196
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cc7cc2;
/* rgb */ color: rgb(204, 124, 194);
/* oklch */ color: oklch(69.5% 0.134 331.5);
Tailwind
colors: {
  custom: {
    50: '#dda3d4',
    500: '#cc7cc2',
    950: '#000000',
  },
}
SCSS
$custom: #cc7cc2;
$custom-light: #dda3d4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7cc2",
  "rgb": {
    "r": 204,
    "g": 124,
    "b": 194
  },
  "hsl": {
    "h": 307.5,
    "s": 43.956,
    "l": 64.314
  },
  "oklch": {
    "l": 0.69452,
    "c": 0.13364,
    "h": 331.5
  },
  "luminance": 0.31148
}

Semantic roles & 50–950 ramp

primary
#CC7CC2
secondary
#C4E0C7
accent
#B73F2E
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #CC7CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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