#CC5DD7#CC5DD7

#CC5DD7 is a light, highly saturated purple. Relative luminance 0.256; OKLCH L 66.0% C 0.203 H 324.0°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#CC5DD7
RGBrgb(204, 93, 215)
HSLhsl(295, 60%, 60%)
HSVhsv(295, 57%, 84%)
CMYKcmyk(5.1%, 56.7%, 0%, 15.7%)
CIE-LABlab(57.63, 60.66, -43.20)
CIE-LCHlch(57.63, 74.48, 324.54°)
OKLaboklab(66.04% 0.1644 -0.1196)
OKLCHoklch(66.04% 0.203 324)
XYZxyz(41.0808, 25.5745, 67.0493)
Luminance0.2557 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5DD7 #68D75D
analogous
#8F5DD7 #CC5DD7 #D75DA5
triadic
#CC5DD7 #D7CC5D #5DD7CC
tetradic
#CC5DD7 #D78F5D #68D75D #5DA5D7
square
#CC5DD7 #D78F5D #68D75D #5DA5D7
split-complementary
#CC5DD7 #A5D75D #5DD78F
monochromatic
#8B2595 #B831C6 #CC5DD7 #DB8EE3 #EBBFEF

Accessibility & contrast

On white

3.43
#CC5DD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#CC5DD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5DD7
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5DD7#FFFFFF#000000##000000
##CC5DD71.003.436.116.11
#FFFFFF3.431.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A82DB
Deuteranopia (green-blind)
#708FD4
Tritanopia (blue-blind)
#D06E91
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cc5dd7;
/* rgb */ color: rgb(204, 93, 215);
/* oklch */ color: oklch(66.0% 0.203 324.0);
Tailwind
colors: {
  custom: {
    50: '#de90e4',
    500: '#cc5dd7',
    950: '#000000',
  },
}
SCSS
$custom: #cc5dd7;
$custom-light: #de90e4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5dd7",
  "rgb": {
    "r": 204,
    "g": 93,
    "b": 215
  },
  "hsl": {
    "h": 294.59,
    "s": 60.396,
    "l": 60.392
  },
  "oklch": {
    "l": 0.66036,
    "c": 0.20332,
    "h": 324
  },
  "luminance": 0.25572
}

Semantic roles & 50–950 ramp

primary
#CC5DD7
secondary
#B5DFB1
accent
#C81D2D
background
#FEF9FE
surface
#FCF1FC
border
#D5CBD5
text
#150D15
muted
#847E84

Preview Lab

Preview with #CC5DD7

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

Preview Lab → · Contrast checker → · Palette generator →

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