#CC7CCD#CC7CCD

#CC7CCD is a light, vivid purple. Relative luminance 0.317; OKLCH L 69.9% C 0.144 H 326.5°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#CC7CCD
RGBrgb(204, 124, 205)
HSLhsl(299, 45%, 65%)
HSVhsv(299, 40%, 80%)
CMYKcmyk(0.5%, 39.5%, 0%, 19.6%)
CIE-LABlab(63.06, 43.43, -29.08)
CIE-LCHlch(63.06, 52.27, 326.19°)
OKLaboklab(69.92% 0.1201 -0.0793)
OKLCHoklch(69.92% 0.144 326.5)
XYZxyz(43.1280, 31.6624, 61.5855)
Luminance0.3166 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7CCD #7DCD7C
analogous
#A47CCD #CC7CCD #CD7CA6
triadic
#CC7CCD #CDCC7C #7CCDCC
tetradic
#CC7CCD #CDA47C #7DCD7C #7CA6CD
square
#CC7CCD #CDA47C #7DCD7C #7CA6CD
split-complementary
#CC7CCD #A6CD7C #7CCDA4
monochromatic
#943996 #BB50BC #CC7CCD #DDA8DE #EED5EF

Accessibility & contrast

On white

2.86
#CC7CCD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#CC7CCD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7CCD
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7CCD#FFFFFF#000000##000000
##CC7CCD1.002.867.337.33
#FFFFFF2.861.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7592D0
Deuteranopia (green-blind)
#8A9CCA
Tritanopia (blue-blind)
#D0849B
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cc7ccd;
/* rgb */ color: rgb(204, 124, 205);
/* oklch */ color: oklch(69.9% 0.144 326.5);
Tailwind
colors: {
  custom: {
    50: '#dda4dc',
    500: '#cc7ccd',
    950: '#000000',
  },
}
SCSS
$custom: #cc7ccd;
$custom-light: #dda4dc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7ccd",
  "rgb": {
    "r": 204,
    "g": 124,
    "b": 205
  },
  "hsl": {
    "h": 299.259,
    "s": 44.751,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69915,
    "c": 0.14394,
    "h": 326.5
  },
  "luminance": 0.3166
}

Semantic roles & 50–950 ramp

primary
#CC7CCD
secondary
#C5E0C4
accent
#B82E2F
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CC7CCD

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

Preview Lab → · Contrast checker → · Palette generator →

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