#CC5DF9#CC5DF9

#CC5DF9 is a light, highly saturated purple. Relative luminance 0.275; OKLCH L 67.9% C 0.235 H 314.8°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#CC5DF9
RGBrgb(204, 93, 249)
HSLhsl(283, 93%, 67%)
HSVhsv(283, 63%, 98%)
CMYKcmyk(18.1%, 62.7%, 0%, 2.4%)
CIE-LABlab(59.44, 67.14, -59.35)
CIE-LCHlch(59.44, 89.61, 318.53°)
OKLaboklab(67.94% 0.1654 -0.1666)
OKLCHoklch(67.94% 0.235 314.8)
XYZxyz(45.9123, 27.5071, 92.4951)
Luminance0.2751 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5DF9 #8AF95D
analogous
#7E5DF9 #CC5DF9 #F95DD8
triadic
#CC5DF9 #F9CC5D #5DF9CC
tetradic
#CC5DF9 #F97E5D #8AF95D #5DD8F9
square
#CC5DF9 #F97E5D #8AF95D #5DD8F9
split-complementary
#CC5DF9 #D8F95D #5DF97E
monochromatic
#9908D4 #B922F7 #CC5DF9 #DF98FB #F1D3FD

Accessibility & contrast

On white

3.23
#CC5DF9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#CC5DF9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5DF9
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5DF9#FFFFFF#000000##000000
##CC5DF91.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E89FE
Deuteranopia (green-blind)
#5992F5
Tritanopia (blue-blind)
#C87AA3
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #cc5df9;
/* rgb */ color: rgb(204, 93, 249);
/* oklch */ color: oklch(67.9% 0.235 314.8);
Tailwind
colors: {
  custom: {
    50: '#df91fc',
    500: '#cc5df9',
    950: '#000000',
  },
}
SCSS
$custom: #cc5df9;
$custom-light: #df91fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5df9",
  "rgb": {
    "r": 204,
    "g": 93,
    "b": 249
  },
  "hsl": {
    "h": 282.692,
    "s": 92.857,
    "l": 67.059
  },
  "oklch": {
    "l": 0.67937,
    "c": 0.2348,
    "h": 314.8
  },
  "luminance": 0.27506
}

Semantic roles & 50–950 ramp

primary
#CC5DF9
secondary
#CEF2C0
accent
#E60042
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CC5DF9

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

Preview Lab → · Contrast checker → · Palette generator →

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