#CC5AED#CC5AED

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

Color values

HEX#CC5AED
RGBrgb(204, 90, 237)
HSLhsl(287, 80%, 64%)
HSVhsv(287, 62%, 93%)
CMYKcmyk(13.9%, 62%, 0%, 7.1%)
CIE-LABlab(58.29, 66.12, -54.52)
CIE-LCHlch(58.29, 85.69, 320.49°)
OKLaboklab(66.89% 0.169 -0.1525)
OKLCHoklch(66.89% 0.228 317.9)
XYZxyz(43.8419, 26.2659, 82.8648)
Luminance0.2626 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5AED #7BED5A
analogous
#835AED #CC5AED #ED5AC4
triadic
#CC5AED #EDCC5A #5AEDCC
tetradic
#CC5AED #ED835A #7BED5A #5AC4ED
square
#CC5AED #ED835A #7BED5A #5AC4ED
split-complementary
#CC5AED #C4ED5A #5AED83
monochromatic
#9414B8 #BB23E7 #CC5AED #DD91F3 #EEC8F9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CC5AED#FFFFFF#000000##000000
##CC5AED1.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)
#2D85F1
Deuteranopia (green-blind)
#6090E9
Tritanopia (blue-blind)
#CB739C
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cc5aed;
/* rgb */ color: rgb(204, 90, 237);
/* oklch */ color: oklch(66.9% 0.228 317.9);
Tailwind
colors: {
  custom: {
    50: '#df8ff3',
    500: '#cc5aed',
    950: '#000000',
  },
}
SCSS
$custom: #cc5aed;
$custom-light: #df8ff3;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5aed",
  "rgb": {
    "r": 204,
    "g": 90,
    "b": 237
  },
  "hsl": {
    "h": 286.531,
    "s": 80.328,
    "l": 64.118
  },
  "oklch": {
    "l": 0.66887,
    "c": 0.2276,
    "h": 317.9
  },
  "luminance": 0.26264
}

Semantic roles & 50–950 ramp

primary
#CC5AED
secondary
#C3EBB8
accent
#DD0938
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CC5AED

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

Preview Lab → · Contrast checker → · Palette generator →

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