#CC7DCD#CC7DCD

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

Color values

HEX#CC7DCD
RGBrgb(204, 125, 205)
HSLhsl(299, 44%, 65%)
HSVhsv(299, 39%, 80%)
CMYKcmyk(0.5%, 39%, 0%, 19.6%)
CIE-LABlab(63.27, 42.90, -28.76)
CIE-LCHlch(63.27, 51.65, 326.16°)
OKLaboklab(70.07% 0.1186 -0.0784)
OKLCHoklch(70.07% 0.142 326.5)
XYZxyz(43.2540, 31.9143, 61.6275)
Luminance0.3191 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7DCD #7ECD7D
analogous
#A47DCD #CC7DCD #CD7DA6
triadic
#CC7DCD #CDCC7D #7DCDCC
tetradic
#CC7DCD #CDA47D #7ECD7D #7DA6CD
square
#CC7DCD #CDA47D #7ECD7D #7DA6CD
split-complementary
#CC7DCD #A6CD7D #7DCDA4
monochromatic
#953A96 #BB51BC #CC7DCD #DDA9DE #EFD5EF

Accessibility & contrast

On white

2.84
#CC7DCD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC7DCD#FFFFFF#000000##000000
##CC7DCD1.002.847.387.38
#FFFFFF2.841.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7693D0
Deuteranopia (green-blind)
#8B9DCA
Tritanopia (blue-blind)
#D0859C
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cc7dcd;
/* rgb */ color: rgb(204, 125, 205);
/* oklch */ color: oklch(70.1% 0.142 326.5);
Tailwind
colors: {
  custom: {
    50: '#dda4dc',
    500: '#cc7dcd',
    950: '#000000',
  },
}
SCSS
$custom: #cc7dcd;
$custom-light: #dda4dc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7dcd",
  "rgb": {
    "r": 204,
    "g": 125,
    "b": 205
  },
  "hsl": {
    "h": 299.25,
    "s": 44.444,
    "l": 64.706
  },
  "oklch": {
    "l": 0.70072,
    "c": 0.14221,
    "h": 326.5
  },
  "luminance": 0.31912
}

Semantic roles & 50–950 ramp

primary
#CC7DCD
secondary
#C6E1C5
accent
#B82E30
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CC7DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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