#CC5DF1#CC5DF1

#CC5DF1 is a light, highly saturated purple. Relative luminance 0.270; OKLCH L 67.5% C 0.227 H 316.7°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#CC5DF1
RGBrgb(204, 93, 241)
HSLhsl(285, 84%, 65%)
HSVhsv(285, 61%, 95%)
CMYKcmyk(15.4%, 61.4%, 0%, 5.5%)
CIE-LABlab(58.99, 65.56, -55.62)
CIE-LCHlch(58.99, 85.98, 319.69°)
OKLaboklab(67.47% 0.1655 -0.1557)
OKLCHoklch(67.47% 0.227 316.7)
XYZxyz(44.6910, 27.0186, 86.0630)
Luminance0.2702 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5DF1 #82F15D
analogous
#825DF1 #CC5DF1 #F15DCC
triadic
#CC5DF1 #F1CC5D #5DF1CC
tetradic
#CC5DF1 #F1825D #82F15D #5DCCF1
square
#CC5DF1 #F1825D #82F15D #5DCCF1
split-complementary
#CC5DF1 #CCF15D #5DF182
monochromatic
#9611C3 #BA25EC #CC5DF1 #DE95F6 #EFCEFB

Accessibility & contrast

On white

3.28
#CC5DF1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#CC5DF1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5DF1
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5DF1#FFFFFF#000000##000000
##CC5DF11.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E87F6
Deuteranopia (green-blind)
#5F91ED
Tritanopia (blue-blind)
#CA779F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #cc5df1;
/* rgb */ color: rgb(204, 93, 241);
/* oklch */ color: oklch(67.5% 0.227 316.7);
Tailwind
colors: {
  custom: {
    50: '#df91f6',
    500: '#cc5df1',
    950: '#000000',
  },
}
SCSS
$custom: #cc5df1;
$custom-light: #df91f6;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5df1",
  "rgb": {
    "r": 204,
    "g": 93,
    "b": 241
  },
  "hsl": {
    "h": 285,
    "s": 84.091,
    "l": 65.49
  },
  "oklch": {
    "l": 0.67467,
    "c": 0.22726,
    "h": 316.7
  },
  "luminance": 0.27017
}

Semantic roles & 50–950 ramp

primary
#CC5DF1
secondary
#C9EEBC
accent
#E1053C
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CC5DF1

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

Preview Lab → · Contrast checker → · Palette generator →

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