#CC5DE1#CC5DE1

#CC5DE1 is a light, highly saturated purple. Relative luminance 0.261; OKLCH L 66.6% C 0.212 H 321.0°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#CC5DE1
RGBrgb(204, 93, 225)
HSLhsl(290, 69%, 62%)
HSVhsv(290, 59%, 88%)
CMYKcmyk(9.3%, 58.7%, 0%, 11.8%)
CIE-LABlab(58.14, 62.51, -48.04)
CIE-LCHlch(58.14, 78.84, 322.46°)
OKLaboklab(66.57% 0.1651 -0.1336)
OKLCHoklch(66.57% 0.212 321)
XYZxyz(42.4052, 26.1043, 74.0245)
Luminance0.2610 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5DE1 #72E15D
analogous
#8A5DE1 #CC5DE1 #E15DB4
triadic
#CC5DE1 #E1CC5D #5DE1CC
tetradic
#CC5DE1 #E18A5D #72E15D #5DB4E1
square
#CC5DE1 #E18A5D #72E15D #5DB4E1
split-complementary
#CC5DE1 #B4E15D #5DE18A
monochromatic
#901FA5 #BC29D7 #CC5DE1 #DC91EB #EDC4F4

Accessibility & contrast

On white

3.38
#CC5DE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#CC5DE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5DE1
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5DE1#FFFFFF#000000##000000
##CC5DE11.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4184E5
Deuteranopia (green-blind)
#6A90DE
Tritanopia (blue-blind)
#CE7197
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cc5de1;
/* rgb */ color: rgb(204, 93, 225);
/* oklch */ color: oklch(66.6% 0.212 321.0);
Tailwind
colors: {
  custom: {
    50: '#de91eb',
    500: '#cc5de1',
    950: '#000000',
  },
}
SCSS
$custom: #cc5de1;
$custom-light: #de91eb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5de1",
  "rgb": {
    "r": 204,
    "g": 93,
    "b": 225
  },
  "hsl": {
    "h": 290.455,
    "s": 68.75,
    "l": 62.353
  },
  "oklch": {
    "l": 0.66569,
    "c": 0.2124,
    "h": 321
  },
  "luminance": 0.26102
}

Semantic roles & 50–950 ramp

primary
#CC5DE1
secondary
#BCE5B5
accent
#D11533
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CC5DE1

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

Preview Lab → · Contrast checker → · Palette generator →

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