#CC7FCD#CC7FCD

#CC7FCD is a light, vivid purple. Relative luminance 0.324; OKLCH L 70.4% C 0.139 H 326.5°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#CC7FCD
RGBrgb(204, 127, 205)
HSLhsl(299, 44%, 65%)
HSVhsv(299, 38%, 80%)
CMYKcmyk(0.5%, 38%, 0%, 19.6%)
CIE-LABlab(63.69, 41.84, -28.11)
CIE-LCHlch(63.69, 50.41, 326.10°)
OKLaboklab(70.39% 0.1157 -0.0766)
OKLCHoklch(70.39% 0.139 326.5)
XYZxyz(43.5097, 32.4258, 61.7127)
Luminance0.3242 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7FCD #80CD7F
analogous
#A57FCD #CC7FCD #CD7FA7
triadic
#CC7FCD #CDCC7F #7FCDCC
tetradic
#CC7FCD #CDA57F #80CD7F #7FA7CD
square
#CC7FCD #CDA57F #80CD7F #7FA7CD
split-complementary
#CC7FCD #A7CD7F #7FCDA5
monochromatic
#963B97 #BA53BC #CC7FCD #DEABDE #EFD7EF

Accessibility & contrast

On white

2.81
#CC7FCD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#CC7FCD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7FCD
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7FCD#FFFFFF#000000##000000
##CC7FCD1.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7994D0
Deuteranopia (green-blind)
#8D9ECA
Tritanopia (blue-blind)
#D0869D
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cc7fcd;
/* rgb */ color: rgb(204, 127, 205);
/* oklch */ color: oklch(70.4% 0.139 326.5);
Tailwind
colors: {
  custom: {
    50: '#dda6dc',
    500: '#cc7fcd',
    950: '#000000',
  },
}
SCSS
$custom: #cc7fcd;
$custom-light: #dda6dc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7fcd",
  "rgb": {
    "r": 204,
    "g": 127,
    "b": 205
  },
  "hsl": {
    "h": 299.231,
    "s": 43.82,
    "l": 65.098
  },
  "oklch": {
    "l": 0.70389,
    "c": 0.13874,
    "h": 326.5
  },
  "luminance": 0.32424
}

Semantic roles & 50–950 ramp

primary
#CC7FCD
secondary
#C7E1C7
accent
#B72F30
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CC7FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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