#CC7CD2#CC7CD2

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

Color values

HEX#CC7CD2
RGBrgb(204, 124, 210)
HSLhsl(296, 49%, 65%)
HSVhsv(296, 41%, 82%)
CMYKcmyk(2.9%, 41%, 0%, 17.6%)
CIE-LABlab(63.27, 44.36, -31.58)
CIE-LCHlch(63.27, 54.45, 324.56°)
OKLaboklab(70.14% 0.1212 -0.0864)
OKLCHoklch(70.14% 0.149 324.5)
XYZxyz(43.7412, 31.9076, 64.8150)
Luminance0.3191 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7CD2 #82D27C
analogous
#A17CD2 #CC7CD2 #D27CAD
triadic
#CC7CD2 #D2CC7C #7CD2CC
tetradic
#CC7CD2 #D2A17C #82D27C #7CADD2
square
#CC7CD2 #D2A17C #82D27C #7CADD2
split-complementary
#CC7CD2 #ADD27C #7CD2A1
monochromatic
#96369D #BA4EC2 #CC7CD2 #DEAAE2 #EFD7F1

Accessibility & contrast

On white

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

On black

7.38
#CC7CD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7CD2
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7CD2#FFFFFF#000000##000000
##CC7CD21.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7393D5
Deuteranopia (green-blind)
#899DCF
Tritanopia (blue-blind)
#D0859D
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cc7cd2;
/* rgb */ color: rgb(204, 124, 210);
/* oklch */ color: oklch(70.1% 0.149 324.5);
Tailwind
colors: {
  custom: {
    50: '#dda4e0',
    500: '#cc7cd2',
    950: '#000000',
  },
}
SCSS
$custom: #cc7cd2;
$custom-light: #dda4e0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7cd2",
  "rgb": {
    "r": 204,
    "g": 124,
    "b": 210
  },
  "hsl": {
    "h": 295.814,
    "s": 48.864,
    "l": 65.49
  },
  "oklch": {
    "l": 0.70135,
    "c": 0.14884,
    "h": 324.5
  },
  "luminance": 0.31906
}

Semantic roles & 50–950 ramp

primary
#CC7CD2
secondary
#C9E3C6
accent
#BC2934
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CC7CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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