#CC7CDD#CC7CDD

#CC7CDD is a light, vivid purple. Relative luminance 0.325; OKLCH L 70.6% C 0.160 H 320.4°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#CC7CDD
RGBrgb(204, 124, 221)
HSLhsl(289, 59%, 68%)
HSVhsv(289, 44%, 87%)
CMYKcmyk(7.7%, 43.9%, 0%, 13.3%)
CIE-LABlab(63.73, 46.48, -37.00)
CIE-LCHlch(63.73, 59.41, 321.48°)
OKLaboklab(70.64% 0.1233 -0.1019)
OKLCHoklch(70.64% 0.16 320.4)
XYZxyz(45.1590, 32.4748, 72.2820)
Luminance0.3247 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7CDD #8DDD7C
analogous
#9C7CDD #CC7CDD #DD7CBD
triadic
#CC7CDD #DDCC7C #7CDDCC
tetradic
#CC7CDD #DD9C7C #8DDD7C #7CBDDD
square
#CC7CDD #DD9C7C #8DDD7C #7CBDDD
split-complementary
#CC7CDD #BDDD7C #7CDD9C
monochromatic
#9A2EB1 #B94BD0 #CC7CDD #DFADEA #F2DDF6

Accessibility & contrast

On white

2.80
#CC7CDD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#CC7CDD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7CDD
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7CDD#FFFFFF#000000##000000
##CC7CDD1.002.807.497.49
#FFFFFF2.801.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E95E0
Deuteranopia (green-blind)
#849DDA
Tritanopia (blue-blind)
#CD88A2
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cc7cdd;
/* rgb */ color: rgb(204, 124, 221);
/* oklch */ color: oklch(70.6% 0.160 320.4);
Tailwind
colors: {
  custom: {
    50: '#dda4e8',
    500: '#cc7cdd',
    950: '#000000',
  },
}
SCSS
$custom: #cc7cdd;
$custom-light: #dda4e8;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7cdd",
  "rgb": {
    "r": 204,
    "g": 124,
    "b": 221
  },
  "hsl": {
    "h": 289.485,
    "s": 58.788,
    "l": 67.647
  },
  "oklch": {
    "l": 0.70637,
    "c": 0.15997,
    "h": 320.4
  },
  "luminance": 0.32473
}

Semantic roles & 50–950 ramp

primary
#CC7CDD
secondary
#D1E9CB
accent
#C61F3C
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CC7CDD

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

Preview Lab → · Contrast checker → · Palette generator →

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