#CC5DE7#CC5DE7

#CC5DE7 is a light, highly saturated purple. Relative luminance 0.264; OKLCH L 66.9% C 0.218 H 319.3°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#CC5DE7
RGBrgb(204, 93, 231)
HSLhsl(288, 74%, 64%)
HSVhsv(288, 60%, 91%)
CMYKcmyk(11.7%, 59.7%, 0%, 9.4%)
CIE-LABlab(58.45, 63.64, -50.91)
CIE-LCHlch(58.45, 81.49, 321.34°)
OKLaboklab(66.9% 0.1653 -0.142)
OKLCHoklch(66.9% 0.218 319.3)
XYZxyz(43.2381, 26.4375, 78.4112)
Luminance0.2644 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5DE7 #78E75D
analogous
#875DE7 #CC5DE7 #E75DBD
triadic
#CC5DE7 #E7CC5D #5DE7CC
tetradic
#CC5DE7 #E7875D #78E75D #5DBDE7
square
#CC5DE7 #E7875D #78E75D #5DBDE7
split-complementary
#CC5DE7 #BDE75D #5DE787
monochromatic
#921AB0 #BB28DF #CC5DE7 #DD92EF #EEC8F7

Accessibility & contrast

On white

3.34
#CC5DE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#CC5DE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5DE7
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5DE7#FFFFFF#000000##000000
##CC5DE71.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B85EB
Deuteranopia (green-blind)
#6690E3
Tritanopia (blue-blind)
#CC739A
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cc5de7;
/* rgb */ color: rgb(204, 93, 231);
/* oklch */ color: oklch(66.9% 0.218 319.3);
Tailwind
colors: {
  custom: {
    50: '#df91ef',
    500: '#cc5de7',
    950: '#000000',
  },
}
SCSS
$custom: #cc5de7;
$custom-light: #df91ef;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5de7",
  "rgb": {
    "r": 204,
    "g": 93,
    "b": 231
  },
  "hsl": {
    "h": 288.261,
    "s": 74.194,
    "l": 63.529
  },
  "oklch": {
    "l": 0.66899,
    "c": 0.21793,
    "h": 319.3
  },
  "luminance": 0.26436
}

Semantic roles & 50–950 ramp

primary
#CC5DE7
secondary
#C1E8B7
accent
#D60F36
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CC5DE7

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

Preview Lab → · Contrast checker → · Palette generator →

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