#CC5AEA#CC5AEA

#CC5AEA is a light, highly saturated purple. Relative luminance 0.261; OKLCH L 66.7% C 0.225 H 318.7°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#CC5AEA
RGBrgb(204, 90, 234)
HSLhsl(288, 77%, 64%)
HSVhsv(288, 62%, 92%)
CMYKcmyk(12.8%, 61.5%, 0%, 8.2%)
CIE-LABlab(58.12, 65.54, -53.10)
CIE-LCHlch(58.12, 84.35, 320.99°)
OKLaboklab(66.72% 0.1689 -0.1484)
OKLCHoklch(66.72% 0.225 318.7)
XYZxyz(43.4073, 26.0921, 80.5757)
Luminance0.2609 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5AEA #78EA5A
analogous
#845AEA #CC5AEA #EA5AC0
triadic
#CC5AEA #EACC5A #5AEACC
tetradic
#CC5AEA #EA845A #78EA5A #5AC0EA
square
#CC5AEA #EA845A #78EA5A #5AC0EA
split-complementary
#CC5AEA #C0EA5A #5AEA84
monochromatic
#9217B3 #BB24E3 #CC5AEA #DD90F1 #EEC7F8

Accessibility & contrast

On white

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

On black

6.22
#CC5AEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5AEA
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5AEA#FFFFFF#000000##000000
##CC5AEA1.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3184EE
Deuteranopia (green-blind)
#6290E6
Tritanopia (blue-blind)
#CC729A
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cc5aea;
/* rgb */ color: rgb(204, 90, 234);
/* oklch */ color: oklch(66.7% 0.225 318.7);
Tailwind
colors: {
  custom: {
    50: '#df8ff1',
    500: '#cc5aea',
    950: '#000000',
  },
}
SCSS
$custom: #cc5aea;
$custom-light: #df8ff1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5aea",
  "rgb": {
    "r": 204,
    "g": 90,
    "b": 234
  },
  "hsl": {
    "h": 287.5,
    "s": 77.419,
    "l": 63.529
  },
  "oklch": {
    "l": 0.66715,
    "c": 0.22484,
    "h": 318.7
  },
  "luminance": 0.2609
}

Semantic roles & 50–950 ramp

primary
#CC5AEA
secondary
#C1E9B6
accent
#DA0C37
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CC5AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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