#CC5EC0#CC5EC0

#CC5EC0 is a light, vivid purple. Relative luminance 0.246; OKLCH L 65.0% C 0.182 H 331.8°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#CC5EC0
RGBrgb(204, 94, 192)
HSLhsl(307, 52%, 58%)
HSVhsv(307, 54%, 80%)
CMYKcmyk(0%, 53.9%, 5.9%, 20%)
CIE-LABlab(56.73, 56.18, -31.52)
CIE-LCHlch(56.73, 64.42, 330.71°)
OKLaboklab(65.03% 0.1603 -0.086)
OKLCHoklch(65.03% 0.182 331.8)
XYZxyz(38.4188, 24.6511, 52.5935)
Luminance0.2465 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5EC0 #5ECC6A
analogous
#A15ECC #CC5EC0 #CC5E89
triadic
#CC5EC0 #C0CC5E #5EC0CC
tetradic
#CC5EC0 #CCA15E #5ECC6A #5E89CC
square
#CC5EC0 #CCA15E #5ECC6A #5E89CC
split-complementary
#CC5EC0 #89CC5E #5ECCA1
monochromatic
#852A7B #B439A6 #CC5EC0 #DB8CD2 #E9BBE4

Accessibility & contrast

On white

3.54
#CC5EC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#CC5EC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5EC0
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5EC0#FFFFFF#000000##000000
##CC5EC01.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A7EC3
Deuteranopia (green-blind)
#7B8EBD
Tritanopia (blue-blind)
#D46787
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cc5ec0;
/* rgb */ color: rgb(204, 94, 192);
/* oklch */ color: oklch(65.0% 0.182 331.8);
Tailwind
colors: {
  custom: {
    50: '#de91d3',
    500: '#cc5ec0',
    950: '#000000',
  },
}
SCSS
$custom: #cc5ec0;
$custom-light: #de91d3;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5ec0",
  "rgb": {
    "r": 204,
    "g": 94,
    "b": 192
  },
  "hsl": {
    "h": 306.545,
    "s": 51.887,
    "l": 58.431
  },
  "oklch": {
    "l": 0.65029,
    "c": 0.1819,
    "h": 331.8
  },
  "luminance": 0.24649
}

Semantic roles & 50–950 ramp

primary
#CC5EC0
secondary
#ADD9B2
accent
#DB5C4C
background
#FDF9FD
surface
#FBF1FA
border
#D4CBD3
text
#150D14
muted
#837E83

Preview Lab

Preview with #CC5EC0

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

Preview Lab → · Contrast checker → · Palette generator →

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