#CC5EC3#CC5EC3

#CC5EC3 is a light, vivid purple. Relative luminance 0.248; OKLCH L 65.2% C 0.184 H 330.7°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#CC5EC3
RGBrgb(204, 94, 195)
HSLhsl(305, 52%, 58%)
HSVhsv(305, 54%, 80%)
CMYKcmyk(0%, 53.9%, 4.4%, 20%)
CIE-LABlab(56.87, 56.69, -33.03)
CIE-LCHlch(56.87, 65.61, 329.77°)
OKLaboklab(65.17% 0.1607 -0.0903)
OKLCHoklch(65.17% 0.184 330.7)
XYZxyz(38.7546, 24.7854, 54.3620)
Luminance0.2478 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5EC3 #5ECC67
analogous
#9E5ECC #CC5EC3 #CC5E8C
triadic
#CC5EC3 #C3CC5E #5EC3CC
tetradic
#CC5EC3 #CC9E5E #5ECC67 #5E8CCC
square
#CC5EC3 #CC9E5E #5ECC67 #5E8CCC
split-complementary
#CC5EC3 #8CCC5E #5ECC9E
monochromatic
#852A7E #B439AA #CC5EC3 #DB8CD4 #E9BBE6

Accessibility & contrast

On white

3.53
#CC5EC3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#CC5EC3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5EC3
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5EC3#FFFFFF#000000##000000
##CC5EC31.003.535.965.96
#FFFFFF3.531.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#587FC6
Deuteranopia (green-blind)
#7A8EC0
Tritanopia (blue-blind)
#D36888
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cc5ec3;
/* rgb */ color: rgb(204, 94, 195);
/* oklch */ color: oklch(65.2% 0.184 330.7);
Tailwind
colors: {
  custom: {
    50: '#de91d5',
    500: '#cc5ec3',
    950: '#000000',
  },
}
SCSS
$custom: #cc5ec3;
$custom-light: #de91d5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5ec3",
  "rgb": {
    "r": 204,
    "g": 94,
    "b": 195
  },
  "hsl": {
    "h": 304.909,
    "s": 51.887,
    "l": 58.431
  },
  "oklch": {
    "l": 0.6517,
    "c": 0.18439,
    "h": 330.7
  },
  "luminance": 0.24783
}

Semantic roles & 50–950 ramp

primary
#CC5EC3
secondary
#ADD9B1
accent
#DB584C
background
#FDF9FD
surface
#FBF1FA
border
#D4CBD3
text
#150D14
muted
#837E83

Preview Lab

Preview with #CC5EC3

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

Preview Lab → · Contrast checker → · Palette generator →

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