#CC5DF6#CC5DF6

#CC5DF6 is a light, highly saturated purple. Relative luminance 0.273; OKLCH L 67.8% C 0.232 H 315.5°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#CC5DF6
RGBrgb(204, 93, 246)
HSLhsl(284, 89%, 66%)
HSVhsv(284, 62%, 96%)
CMYKcmyk(17.1%, 62.2%, 0%, 3.5%)
CIE-LABlab(59.27, 66.54, -57.95)
CIE-LCHlch(59.27, 88.24, 318.95°)
OKLaboklab(67.76% 0.1655 -0.1626)
OKLCHoklch(67.76% 0.232 315.5)
XYZxyz(45.4481, 27.3215, 90.0504)
Luminance0.2732 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5DF6 #87F65D
analogous
#805DF6 #CC5DF6 #F65DD4
triadic
#CC5DF6 #F6CC5D #5DF6CC
tetradic
#CC5DF6 #F6805D #87F65D #5DD4F6
square
#CC5DF6 #F6805D #87F65D #5DD4F6
split-complementary
#CC5DF6 #D4F65D #5DF680
monochromatic
#980BCD #BA23F3 #CC5DF6 #DE97F9 #F1D1FC

Accessibility & contrast

On white

3.25
#CC5DF6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#CC5DF6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5DF6
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5DF6#FFFFFF#000000##000000
##CC5DF61.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2588FB
Deuteranopia (green-blind)
#5C92F2
Tritanopia (blue-blind)
#C979A1
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #cc5df6;
/* rgb */ color: rgb(204, 93, 246);
/* oklch */ color: oklch(67.8% 0.232 315.5);
Tailwind
colors: {
  custom: {
    50: '#df91fa',
    500: '#cc5df6',
    950: '#000000',
  },
}
SCSS
$custom: #cc5df6;
$custom-light: #df91fa;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5df6",
  "rgb": {
    "r": 204,
    "g": 93,
    "b": 246
  },
  "hsl": {
    "h": 283.529,
    "s": 89.474,
    "l": 66.471
  },
  "oklch": {
    "l": 0.67759,
    "c": 0.23198,
    "h": 315.5
  },
  "luminance": 0.2732
}

Semantic roles & 50–950 ramp

primary
#CC5DF6
secondary
#CCF0BF
accent
#E6003F
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CC5DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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