#CC5CE2#CC5CE2

#CC5CE2 is a light, highly saturated purple. Relative luminance 0.260; OKLCH L 66.5% C 0.215 H 320.8°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#CC5CE2
RGBrgb(204, 92, 226)
HSLhsl(290, 70%, 62%)
HSVhsv(290, 59%, 89%)
CMYKcmyk(9.7%, 59.3%, 0%, 11.4%)
CIE-LABlab(58.02, 63.15, -48.78)
CIE-LCHlch(58.02, 79.79, 322.31°)
OKLaboklab(66.5% 0.1664 -0.1358)
OKLCHoklch(66.5% 0.215 320.8)
XYZxyz(42.4548, 25.9846, 74.7160)
Luminance0.2598 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5CE2 #72E25C
analogous
#895CE2 #CC5CE2 #E25CB5
triadic
#CC5CE2 #E2CC5C #5CE2CC
tetradic
#CC5CE2 #E2895C #72E25C #5CB5E2
square
#CC5CE2 #E2895C #72E25C #5CB5E2
split-complementary
#CC5CE2 #B5E25C #5CE289
monochromatic
#901EA6 #BC28D9 #CC5CE2 #DC90EB #EDC4F4

Accessibility & contrast

On white

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

On black

6.20
#CC5CE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5CE2
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5CE2#FFFFFF#000000##000000
##CC5CE21.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E83E6
Deuteranopia (green-blind)
#6990DF
Tritanopia (blue-blind)
#CE7197
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cc5ce2;
/* rgb */ color: rgb(204, 92, 226);
/* oklch */ color: oklch(66.5% 0.215 320.8);
Tailwind
colors: {
  custom: {
    50: '#df90eb',
    500: '#cc5ce2',
    950: '#000000',
  },
}
SCSS
$custom: #cc5ce2;
$custom-light: #df90eb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5ce2",
  "rgb": {
    "r": 204,
    "g": 92,
    "b": 226
  },
  "hsl": {
    "h": 290.149,
    "s": 69.792,
    "l": 62.353
  },
  "oklch": {
    "l": 0.66503,
    "c": 0.21474,
    "h": 320.8
  },
  "luminance": 0.25983
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC5CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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