#CC7DD2#CC7DD2

#CC7DD2 is a light, vivid purple. Relative luminance 0.322; OKLCH L 70.3% C 0.147 H 324.5°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#CC7DD2
RGBrgb(204, 125, 210)
HSLhsl(296, 49%, 66%)
HSVhsv(296, 40%, 82%)
CMYKcmyk(2.9%, 40.5%, 0%, 17.6%)
CIE-LABlab(63.47, 43.84, -31.25)
CIE-LCHlch(63.47, 53.84, 324.51°)
OKLaboklab(70.29% 0.1197 -0.0855)
OKLCHoklch(70.29% 0.147 324.5)
XYZxyz(43.8672, 32.1596, 64.8570)
Luminance0.3216 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7DD2 #83D27D
analogous
#A17DD2 #CC7DD2 #D27DAD
triadic
#CC7DD2 #D2CC7D #7DD2CC
tetradic
#CC7DD2 #D2A17D #83D27D #7DADD2
square
#CC7DD2 #D2A17D #83D27D #7DADD2
split-complementary
#CC7DD2 #ADD27D #7DD2A1
monochromatic
#97379E #BA50C2 #CC7DD2 #DEAAE2 #F0D8F1

Accessibility & contrast

On white

2.83
#CC7DD2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#CC7DD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7DD2
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7DD2#FFFFFF#000000##000000
##CC7DD21.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7494D5
Deuteranopia (green-blind)
#899DCF
Tritanopia (blue-blind)
#CF869E
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cc7dd2;
/* rgb */ color: rgb(204, 125, 210);
/* oklch */ color: oklch(70.3% 0.147 324.5);
Tailwind
colors: {
  custom: {
    50: '#dda4e0',
    500: '#cc7dd2',
    950: '#000000',
  },
}
SCSS
$custom: #cc7dd2;
$custom-light: #dda4e0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7dd2",
  "rgb": {
    "r": 204,
    "g": 125,
    "b": 210
  },
  "hsl": {
    "h": 295.765,
    "s": 48.571,
    "l": 65.686
  },
  "oklch": {
    "l": 0.70291,
    "c": 0.14712,
    "h": 324.5
  },
  "luminance": 0.32158
}

Semantic roles & 50–950 ramp

primary
#CC7DD2
secondary
#C9E4C7
accent
#BC2A34
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CC7DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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