#CC5CE1#CC5CE1

#CC5CE1 is a light, highly saturated purple. Relative luminance 0.259; OKLCH L 66.4% C 0.214 H 321.1°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#CC5CE1
RGBrgb(204, 92, 225)
HSLhsl(291, 69%, 62%)
HSVhsv(291, 59%, 88%)
CMYKcmyk(9.3%, 59.1%, 0%, 11.8%)
CIE-LABlab(57.97, 62.96, -48.30)
CIE-LCHlch(57.97, 79.35, 322.50°)
OKLaboklab(66.45% 0.1663 -0.1344)
OKLCHoklch(66.45% 0.214 321.1)
XYZxyz(42.3180, 25.9299, 73.9955)
Luminance0.2593 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5CE1 #71E15C
analogous
#895CE1 #CC5CE1 #E15CB4
triadic
#CC5CE1 #E1CC5C #5CE1CC
tetradic
#CC5CE1 #E1895C #71E15C #5CB4E1
square
#CC5CE1 #E1895C #71E15C #5CB4E1
split-complementary
#CC5CE1 #B4E15C #5CE189
monochromatic
#8F1EA4 #BC28D7 #CC5CE1 #DC90EB #ECC3F4

Accessibility & contrast

On white

3.39
#CC5CE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#CC5CE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5CE1
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5CE1#FFFFFF#000000##000000
##CC5CE11.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F83E5
Deuteranopia (green-blind)
#6990DE
Tritanopia (blue-blind)
#CE7096
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cc5ce1;
/* rgb */ color: rgb(204, 92, 225);
/* oklch */ color: oklch(66.4% 0.214 321.1);
Tailwind
colors: {
  custom: {
    50: '#df90eb',
    500: '#cc5ce1',
    950: '#000000',
  },
}
SCSS
$custom: #cc5ce1;
$custom-light: #df90eb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5ce1",
  "rgb": {
    "r": 204,
    "g": 92,
    "b": 225
  },
  "hsl": {
    "h": 290.526,
    "s": 68.912,
    "l": 62.157
  },
  "oklch": {
    "l": 0.66448,
    "c": 0.21382,
    "h": 321.1
  },
  "luminance": 0.25928
}

Semantic roles & 50–950 ramp

primary
#CC5CE1
secondary
#BCE5B4
accent
#D11532
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CC5CE1

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

Preview Lab → · Contrast checker → · Palette generator →

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