#CC7DED#CC7DED

#CC7DED is a light, vivid purple. Relative luminance 0.336; OKLCH L 71.6% C 0.175 H 315.2°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#CC7DED
RGBrgb(204, 125, 237)
HSLhsl(282, 76%, 71%)
HSVhsv(282, 47%, 93%)
CMYKcmyk(13.9%, 47.3%, 0%, 7.1%)
CIE-LABlab(64.66, 49.17, -44.43)
CIE-LCHlch(64.66, 66.26, 317.90°)
OKLaboklab(71.56% 0.1244 -0.1234)
OKLCHoklch(71.56% 0.175 315.2)
XYZxyz(47.5191, 33.6203, 84.0905)
Luminance0.3362 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC7DED #9EED7D
analogous
#947DED #CC7DED #ED7DD6
triadic
#CC7DED #EDCC7D #7DEDCC
tetradic
#CC7DED #ED947D #9EED7D #7DD6ED
square
#CC7DED #ED947D #9EED7D #7DD6ED
split-complementary
#CC7DED #D6ED7D #7DED94
monochromatic
#9D1DD2 #B747E6 #CC7DED #E1B3F4 #F4E4FB

Accessibility & contrast

On white

2.72
#CC7DED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#CC7DED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC7DED
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC7DED#FFFFFF#000000##000000
##CC7DED1.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6798F1
Deuteranopia (green-blind)
#7D9FEA
Tritanopia (blue-blind)
#CA8EAA
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cc7ded;
/* rgb */ color: rgb(204, 125, 237);
/* oklch */ color: oklch(71.6% 0.175 315.2);
Tailwind
colors: {
  custom: {
    50: '#dda5f3',
    500: '#cc7ded',
    950: '#000000',
  },
}
SCSS
$custom: #cc7ded;
$custom-light: #dda5f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cc7ded",
  "rgb": {
    "r": 204,
    "g": 125,
    "b": 237
  },
  "hsl": {
    "h": 282.321,
    "s": 75.676,
    "l": 70.98
  },
  "oklch": {
    "l": 0.71564,
    "c": 0.17519,
    "h": 315.2
  },
  "luminance": 0.33619
}

Semantic roles & 50–950 ramp

primary
#CC7DED
secondary
#DDF2D4
accent
#D80E49
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CC7DED

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

Preview Lab → · Contrast checker → · Palette generator →

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