#CC5CED#CC5CED

#CC5CED is a light, highly saturated purple. Relative luminance 0.266; OKLCH L 67.1% C 0.225 H 317.8°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#CC5CED
RGBrgb(204, 92, 237)
HSLhsl(286, 80%, 65%)
HSVhsv(286, 61%, 93%)
CMYKcmyk(13.9%, 61.2%, 0%, 7.1%)
CIE-LABlab(58.61, 65.23, -54.00)
CIE-LCHlch(58.61, 84.69, 320.38°)
OKLaboklab(67.12% 0.1666 -0.151)
OKLCHoklch(67.12% 0.225 317.8)
XYZxyz(44.0129, 26.6079, 82.9218)
Luminance0.2661 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5CED #7DED5C
analogous
#845CED #CC5CED #ED5CC5
triadic
#CC5CED #EDCC5C #5CEDCC
tetradic
#CC5CED #ED845C #7DED5C #5CC5ED
square
#CC5CED #ED845C #7DED5C #5CC5ED
split-complementary
#CC5CED #C5ED5C #5CED84
monochromatic
#9415BA #BB25E7 #CC5CED #DD93F3 #EECAF9

Accessibility & contrast

On white

3.32
#CC5CED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#CC5CED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5CED
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5CED#FFFFFF#000000##000000
##CC5CED1.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3186F1
Deuteranopia (green-blind)
#6291E9
Tritanopia (blue-blind)
#CB759C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #cc5ced;
/* rgb */ color: rgb(204, 92, 237);
/* oklch */ color: oklch(67.1% 0.225 317.8);
Tailwind
colors: {
  custom: {
    50: '#df90f3',
    500: '#cc5ced',
    950: '#000000',
  },
}
SCSS
$custom: #cc5ced;
$custom-light: #df90f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5ced",
  "rgb": {
    "r": 204,
    "g": 92,
    "b": 237
  },
  "hsl": {
    "h": 286.345,
    "s": 80.11,
    "l": 64.51
  },
  "oklch": {
    "l": 0.67119,
    "c": 0.22489,
    "h": 317.8
  },
  "luminance": 0.26606
}

Semantic roles & 50–950 ramp

primary
#CC5CED
secondary
#C5EBB9
accent
#DC0939
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CC5CED

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

Preview Lab → · Contrast checker → · Palette generator →

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