#CC5DFD#CC5DFD

#CC5DFD is a light, highly saturated purple. Relative luminance 0.278; OKLCH L 68.2% C 0.239 H 313.9°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#CC5DFD
RGBrgb(204, 93, 253)
HSLhsl(282, 98%, 68%)
HSVhsv(282, 63%, 99%)
CMYKcmyk(19.4%, 63.2%, 0%, 0.8%)
CIE-LABlab(59.67, 67.93, -61.19)
CIE-LCHlch(59.67, 91.43, 317.99°)
OKLaboklab(68.18% 0.1653 -0.172)
OKLCHoklch(68.18% 0.239 313.9)
XYZxyz(46.5428, 27.7593, 95.8158)
Luminance0.2776 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5DFD #8EFD5D
analogous
#7C5DFD #CC5DFD #FD5DDE
triadic
#CC5DFD #FDCC5D #5DFDCC
tetradic
#CC5DFD #FD7C5D #8EFD5D #5DDEFD
square
#CC5DFD #FD7C5D #8EFD5D #5DDEFD
split-complementary
#CC5DFD #DEFD5D #5DFD7C
monochromatic
#9A03DD #B921FC #CC5DFD #DF99FE #F2D6FE

Accessibility & contrast

On white

3.21
#CC5DFD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#CC5DFD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5DFD
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5DFD#FFFFFF#000000##000000
##CC5DFD1.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#128AFF
Deuteranopia (green-blind)
#5692F9
Tritanopia (blue-blind)
#C77BA5
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #cc5dfd;
/* rgb */ color: rgb(204, 93, 253);
/* oklch */ color: oklch(68.2% 0.239 313.9);
Tailwind
colors: {
  custom: {
    50: '#df91ff',
    500: '#cc5dfd',
    950: '#000000',
  },
}
SCSS
$custom: #cc5dfd;
$custom-light: #df91ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5dfd",
  "rgb": {
    "r": 204,
    "g": 93,
    "b": 253
  },
  "hsl": {
    "h": 281.625,
    "s": 97.561,
    "l": 67.843
  },
  "oklch": {
    "l": 0.68176,
    "c": 0.23859,
    "h": 313.9
  },
  "luminance": 0.27758
}

Semantic roles & 50–950 ramp

primary
#CC5DFD
secondary
#D1F4C2
accent
#E60046
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #CC5DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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