#CC5AFD#CC5AFD

#CC5AFD is a light, highly saturated purple. Relative luminance 0.272; OKLCH L 67.8% C 0.242 H 314.1°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#CC5AFD
RGBrgb(204, 90, 253)
HSLhsl(282, 98%, 67%)
HSVhsv(282, 64%, 99%)
CMYKcmyk(19.4%, 64.4%, 0%, 0.8%)
CIE-LABlab(59.20, 69.24, -61.95)
CIE-LCHlch(59.20, 92.91, 318.18°)
OKLaboklab(67.84% 0.1686 -0.1742)
OKLCHoklch(67.84% 0.242 314.1)
XYZxyz(46.2846, 27.2430, 95.7297)
Luminance0.2724 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5AFD #8BFD5A
analogous
#7A5AFD #CC5AFD #FD5ADD
triadic
#CC5AFD #FDCC5A #5AFDCC
tetradic
#CC5AFD #FD7A5A #8BFD5A #5ADDFD
square
#CC5AFD #FD7A5A #8BFD5A #5ADDFD
split-complementary
#CC5AFD #DDFD5A #5AFD7A
monochromatic
#9903DA #B91EFC #CC5AFD #DF96FE #F1D3FE

Accessibility & contrast

On white

3.26
#CC5AFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#CC5AFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5AFD
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5AFD#FFFFFF#000000##000000
##CC5AFD1.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0088FF
Deuteranopia (green-blind)
#5391F9
Tritanopia (blue-blind)
#C879A4
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #cc5afd;
/* rgb */ color: rgb(204, 90, 253);
/* oklch */ color: oklch(67.8% 0.242 314.1);
Tailwind
colors: {
  custom: {
    50: '#df90ff',
    500: '#cc5afd',
    950: '#000000',
  },
}
SCSS
$custom: #cc5afd;
$custom-light: #df90ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5afd",
  "rgb": {
    "r": 204,
    "g": 90,
    "b": 253
  },
  "hsl": {
    "h": 281.963,
    "s": 97.605,
    "l": 67.255
  },
  "oklch": {
    "l": 0.67836,
    "c": 0.24246,
    "h": 314.1
  },
  "luminance": 0.27242
}

Semantic roles & 50–950 ramp

primary
#CC5AFD
secondary
#CFF3C0
accent
#E60045
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #CC5AFD

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

Preview Lab → · Contrast checker → · Palette generator →

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