#CC7CD0#CC7CD0

#CC7CD0 is a light, vivid purple. Relative luminance 0.318; OKLCH L 70.0% C 0.147 H 325.3°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#CC7CD0
RGBrgb(204, 124, 208)
HSLhsl(297, 47%, 65%)
HSVhsv(297, 40%, 82%)
CMYKcmyk(1.9%, 40.4%, 0%, 18.4%)
CIE-LABlab(63.18, 43.99, -30.58)
CIE-LCHlch(63.18, 53.57, 325.19°)
OKLaboklab(70.05% 0.1208 -0.0836)
OKLCHoklch(70.05% 0.147 325.3)
XYZxyz(43.4936, 31.8086, 63.5109)
Luminance0.3181 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7CD0 #80D07C
analogous
#A27CD0 #CC7CD0 #D07CAA
triadic
#CC7CD0 #D0CC7C #7CD0CC
tetradic
#CC7CD0 #D0A27C #80D07C #7CAAD0
square
#CC7CD0 #D0A27C #80D07C #7CAAD0
split-complementary
#CC7CD0 #AAD07C #7CD0A2
monochromatic
#96379A #BA4FC0 #CC7CD0 #DEA9E0 #EFD6F0

Accessibility & contrast

On white

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

On black

7.36
#CC7CD0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7CD0
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7CD0#FFFFFF#000000##000000
##CC7CD01.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7493D3
Deuteranopia (green-blind)
#899CCD
Tritanopia (blue-blind)
#D0859C
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cc7cd0;
/* rgb */ color: rgb(204, 124, 208);
/* oklch */ color: oklch(70.0% 0.147 325.3);
Tailwind
colors: {
  custom: {
    50: '#dda4de',
    500: '#cc7cd0',
    950: '#000000',
  },
}
SCSS
$custom: #cc7cd0;
$custom-light: #dda4de;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7cd0",
  "rgb": {
    "r": 204,
    "g": 124,
    "b": 208
  },
  "hsl": {
    "h": 297.143,
    "s": 47.191,
    "l": 65.098
  },
  "oklch": {
    "l": 0.70046,
    "c": 0.14687,
    "h": 325.3
  },
  "luminance": 0.31807
}

Semantic roles & 50–950 ramp

primary
#CC7CD0
secondary
#C7E2C6
accent
#BA2B32
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CC7CD0

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

Preview Lab → · Contrast checker → · Palette generator →

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