#CC5CE3#CC5CE3

#CC5CE3 is a light, highly saturated purple. Relative luminance 0.260; OKLCH L 66.6% C 0.216 H 320.5°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#CC5CE3
RGBrgb(204, 92, 227)
HSLhsl(290, 71%, 63%)
HSVhsv(290, 59%, 89%)
CMYKcmyk(10.1%, 59.5%, 0%, 11%)
CIE-LABlab(58.07, 63.33, -49.26)
CIE-LCHlch(58.07, 80.23, 322.12°)
OKLaboklab(66.56% 0.1664 -0.1372)
OKLCHoklch(66.56% 0.216 320.5)
XYZxyz(42.5925, 26.0397, 75.4408)
Luminance0.2604 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5CE3 #73E35C
analogous
#895CE3 #CC5CE3 #E35CB6
triadic
#CC5CE3 #E3CC5C #5CE3CC
tetradic
#CC5CE3 #E3895C #73E35C #5CB6E3
square
#CC5CE3 #E3895C #73E35C #5CB6E3
split-complementary
#CC5CE3 #B6E35C #5CE389
monochromatic
#901DA8 #BC28DA #CC5CE3 #DC90EC #EDC4F5

Accessibility & contrast

On white

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

On black

6.21
#CC5CE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5CE3
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5CE3#FFFFFF#000000##000000
##CC5CE31.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D84E7
Deuteranopia (green-blind)
#6890E0
Tritanopia (blue-blind)
#CD7197
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cc5ce3;
/* rgb */ color: rgb(204, 92, 227);
/* oklch */ color: oklch(66.6% 0.216 320.5);
Tailwind
colors: {
  custom: {
    50: '#df90ec',
    500: '#cc5ce3',
    950: '#000000',
  },
}
SCSS
$custom: #cc5ce3;
$custom-light: #df90ec;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5ce3",
  "rgb": {
    "r": 204,
    "g": 92,
    "b": 227
  },
  "hsl": {
    "h": 289.778,
    "s": 70.681,
    "l": 62.549
  },
  "oklch": {
    "l": 0.66558,
    "c": 0.21565,
    "h": 320.5
  },
  "luminance": 0.26038
}

Semantic roles & 50–950 ramp

primary
#CC5CE3
secondary
#BDE6B5
accent
#D31333
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CC5CE3

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

Preview Lab → · Contrast checker → · Palette generator →

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