#CC5CE7#CC5CE7

#CC5CE7 is a light, highly saturated purple. Relative luminance 0.263; OKLCH L 66.8% C 0.219 H 319.4°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#CC5CE7
RGBrgb(204, 92, 231)
HSLhsl(288, 74%, 63%)
HSVhsv(288, 60%, 91%)
CMYKcmyk(11.7%, 60.2%, 0%, 9.4%)
CIE-LABlab(58.29, 64.09, -51.17)
CIE-LCHlch(58.29, 82.01, 321.40°)
OKLaboklab(66.78% 0.1665 -0.1427)
OKLCHoklch(66.78% 0.219 319.4)
XYZxyz(43.1509, 26.2631, 78.3821)
Luminance0.2626 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5CE7 #77E75C
analogous
#865CE7 #CC5CE7 #E75CBD
triadic
#CC5CE7 #E7CC5C #5CE7CC
tetradic
#CC5CE7 #E7865C #77E75C #5CBDE7
square
#CC5CE7 #E7865C #77E75C #5CBDE7
split-complementary
#CC5CE7 #BDE75C #5CE786
monochromatic
#921AAF #BB27DF #CC5CE7 #DD91EF #EDC7F7

Accessibility & contrast

On white

3.36
#CC5CE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#CC5CE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5CE7
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5CE7#FFFFFF#000000##000000
##CC5CE71.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3984EB
Deuteranopia (green-blind)
#6690E3
Tritanopia (blue-blind)
#CC7399
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cc5ce7;
/* rgb */ color: rgb(204, 92, 231);
/* oklch */ color: oklch(66.8% 0.219 319.4);
Tailwind
colors: {
  custom: {
    50: '#df90ef',
    500: '#cc5ce7',
    950: '#000000',
  },
}
SCSS
$custom: #cc5ce7;
$custom-light: #df90ef;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5ce7",
  "rgb": {
    "r": 204,
    "g": 92,
    "b": 231
  },
  "hsl": {
    "h": 288.345,
    "s": 74.332,
    "l": 63.333
  },
  "oklch": {
    "l": 0.6678,
    "c": 0.21933,
    "h": 319.4
  },
  "luminance": 0.26261
}

Semantic roles & 50–950 ramp

primary
#CC5CE7
secondary
#C0E8B7
accent
#D60F36
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CC5CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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