#CC5EC7#CC5EC7

#CC5EC7 is a light, vivid purple. Relative luminance 0.250; OKLCH L 65.4% C 0.188 H 329.2°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#CC5EC7
RGBrgb(204, 94, 199)
HSLhsl(303, 52%, 58%)
HSVhsv(303, 54%, 80%)
CMYKcmyk(0%, 53.9%, 2.5%, 20%)
CIE-LABlab(57.04, 57.37, -35.04)
CIE-LCHlch(57.04, 67.22, 328.59°)
OKLaboklab(65.36% 0.1613 -0.0961)
OKLCHoklch(65.36% 0.188 329.2)
XYZxyz(39.2129, 24.9687, 56.7758)
Luminance0.2497 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5EC7 #5ECC63
analogous
#9A5ECC #CC5EC7 #CC5E90
triadic
#CC5EC7 #C7CC5E #5EC7CC
tetradic
#CC5EC7 #CC9A5E #5ECC63 #5E90CC
square
#CC5EC7 #CC9A5E #5ECC63 #5E90CC
split-complementary
#CC5EC7 #90CC5E #5ECC9A
monochromatic
#852A81 #B439AE #CC5EC7 #DB8CD7 #E9BBE7

Accessibility & contrast

On white

3.50
#CC5EC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#CC5EC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5EC7
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5EC7#FFFFFF#000000##000000
##CC5EC71.003.505.995.99
#FFFFFF3.501.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#567FCA
Deuteranopia (green-blind)
#788EC4
Tritanopia (blue-blind)
#D2698A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cc5ec7;
/* rgb */ color: rgb(204, 94, 199);
/* oklch */ color: oklch(65.4% 0.188 329.2);
Tailwind
colors: {
  custom: {
    50: '#de91d8',
    500: '#cc5ec7',
    950: '#000000',
  },
}
SCSS
$custom: #cc5ec7;
$custom-light: #de91d8;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5ec7",
  "rgb": {
    "r": 204,
    "g": 94,
    "b": 199
  },
  "hsl": {
    "h": 302.727,
    "s": 51.887,
    "l": 58.431
  },
  "oklch": {
    "l": 0.6536,
    "c": 0.18778,
    "h": 329.2
  },
  "luminance": 0.24966
}

Semantic roles & 50–950 ramp

primary
#CC5EC7
secondary
#ADD9AF
accent
#DB534C
background
#FDF9FD
surface
#FBF1FA
border
#D4CBD3
text
#150D14
muted
#837E83

Preview Lab

Preview with #CC5EC7

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

Preview Lab → · Contrast checker → · Palette generator →

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