#CC5EC2#CC5EC2

#CC5EC2 is a light, vivid purple. Relative luminance 0.247; OKLCH L 65.1% C 0.184 H 331.0°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#CC5EC2
RGBrgb(204, 94, 194)
HSLhsl(305, 52%, 58%)
HSVhsv(305, 54%, 80%)
CMYKcmyk(0%, 53.9%, 4.9%, 20%)
CIE-LABlab(56.82, 56.52, -32.53)
CIE-LCHlch(56.82, 65.21, 330.08°)
OKLaboklab(65.12% 0.1606 -0.0889)
OKLCHoklch(65.12% 0.184 331)
XYZxyz(38.6419, 24.7403, 53.7685)
Luminance0.2474 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5EC2 #5ECC68
analogous
#9F5ECC #CC5EC2 #CC5E8B
triadic
#CC5EC2 #C2CC5E #5EC2CC
tetradic
#CC5EC2 #CC9F5E #5ECC68 #5E8BCC
square
#CC5EC2 #CC9F5E #5ECC68 #5E8BCC
split-complementary
#CC5EC2 #8BCC5E #5ECC9F
monochromatic
#852A7D #B439A9 #CC5EC2 #DB8CD4 #E9BBE5

Accessibility & contrast

On white

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

On black

5.95
#CC5EC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5EC2
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5EC2#FFFFFF#000000##000000
##CC5EC21.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#597FC5
Deuteranopia (green-blind)
#7A8EBF
Tritanopia (blue-blind)
#D36787
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cc5ec2;
/* rgb */ color: rgb(204, 94, 194);
/* oklch */ color: oklch(65.1% 0.184 331.0);
Tailwind
colors: {
  custom: {
    50: '#de91d4',
    500: '#cc5ec2',
    950: '#000000',
  },
}
SCSS
$custom: #cc5ec2;
$custom-light: #de91d4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5ec2",
  "rgb": {
    "r": 204,
    "g": 94,
    "b": 194
  },
  "hsl": {
    "h": 305.455,
    "s": 51.887,
    "l": 58.431
  },
  "oklch": {
    "l": 0.65123,
    "c": 0.18356,
    "h": 331
  },
  "luminance": 0.24738
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC5EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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