#CC7DD4#CC7DD4

#CC7DD4 is a light, vivid purple. Relative luminance 0.323; OKLCH L 70.4% C 0.149 H 323.7°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#CC7DD4
RGBrgb(204, 125, 212)
HSLhsl(294, 50%, 66%)
HSVhsv(294, 41%, 83%)
CMYKcmyk(3.8%, 41%, 0%, 16.9%)
CIE-LABlab(63.56, 44.22, -32.25)
CIE-LCHlch(63.56, 54.73, 323.90°)
OKLaboklab(70.38% 0.1201 -0.0883)
OKLCHoklch(70.38% 0.149 323.7)
XYZxyz(44.1179, 32.2598, 66.1774)
Luminance0.3226 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7DD4 #85D47D
analogous
#A07DD4 #CC7DD4 #D47DB0
triadic
#CC7DD4 #D4CC7D #7DD4CC
tetradic
#CC7DD4 #D4A07D #85D47D #7DB0D4
square
#CC7DD4 #D4A07D #85D47D #7DB0D4
split-complementary
#CC7DD4 #B0D47D #7DD4A0
monochromatic
#9735A1 #BA4FC5 #CC7DD4 #DEABE3 #F0D9F2

Accessibility & contrast

On white

2.82
#CC7DD4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.45
#CC7DD4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7DD4
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7DD4#FFFFFF#000000##000000
##CC7DD41.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7394D7
Deuteranopia (green-blind)
#899DD1
Tritanopia (blue-blind)
#CF879F
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cc7dd4;
/* rgb */ color: rgb(204, 125, 212);
/* oklch */ color: oklch(70.4% 0.149 323.7);
Tailwind
colors: {
  custom: {
    50: '#dda4e1',
    500: '#cc7dd4',
    950: '#000000',
  },
}
SCSS
$custom: #cc7dd4;
$custom-light: #dda4e1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7dd4",
  "rgb": {
    "r": 204,
    "g": 125,
    "b": 212
  },
  "hsl": {
    "h": 294.483,
    "s": 50.289,
    "l": 66.078
  },
  "oklch": {
    "l": 0.7038,
    "c": 0.14911,
    "h": 323.7
  },
  "luminance": 0.32258
}

Semantic roles & 50–950 ramp

primary
#CC7DD4
secondary
#CBE5C8
accent
#BE2836
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CC7DD4

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

Preview Lab → · Contrast checker → · Palette generator →

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