#CC5AE3#CC5AE3

#CC5AE3 is a light, highly saturated purple. Relative luminance 0.257; OKLCH L 66.3% C 0.218 H 320.6°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#CC5AE3
RGBrgb(204, 90, 227)
HSLhsl(290, 71%, 62%)
HSVhsv(290, 60%, 89%)
CMYKcmyk(10.1%, 60.4%, 0%, 11%)
CIE-LABlab(57.75, 64.22, -49.78)
CIE-LCHlch(57.75, 81.26, 322.22°)
OKLaboklab(66.32% 0.1688 -0.1387)
OKLCHoklch(66.32% 0.218 320.6)
XYZxyz(42.4215, 25.6977, 75.3838)
Luminance0.2570 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5AE3 #71E35A
analogous
#885AE3 #CC5AE3 #E35AB6
triadic
#CC5AE3 #E3CC5A #5AE3CC
tetradic
#CC5AE3 #E3885A #71E35A #5AB6E3
square
#CC5AE3 #E3885A #71E35A #5AB6E3
split-complementary
#CC5AE3 #B6E35A #5AE388
monochromatic
#8F1CA6 #BC26DA #CC5AE3 #DC8EEC #ECC3F5

Accessibility & contrast

On white

3.42
#CC5AE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#CC5AE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5AE3
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5AE3#FFFFFF#000000##000000
##CC5AE31.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A83E7
Deuteranopia (green-blind)
#678FDF
Tritanopia (blue-blind)
#CD7096
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cc5ae3;
/* rgb */ color: rgb(204, 90, 227);
/* oklch */ color: oklch(66.3% 0.218 320.6);
Tailwind
colors: {
  custom: {
    50: '#df8fec',
    500: '#cc5ae3',
    950: '#000000',
  },
}
SCSS
$custom: #cc5ae3;
$custom-light: #df8fec;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5ae3",
  "rgb": {
    "r": 204,
    "g": 90,
    "b": 227
  },
  "hsl": {
    "h": 289.927,
    "s": 70.984,
    "l": 62.157
  },
  "oklch": {
    "l": 0.66321,
    "c": 0.21845,
    "h": 320.6
  },
  "luminance": 0.25696
}

Semantic roles & 50–950 ramp

primary
#CC5AE3
secondary
#BCE6B3
accent
#D31233
background
#FEF9FE
surface
#FCF1FD
border
#D5CBD5
text
#160D16
muted
#847E84

Preview Lab

Preview with #CC5AE3

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

Preview Lab → · Contrast checker → · Palette generator →

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