#CC5DF0#CC5DF0

#CC5DF0 is a light, highly saturated purple. Relative luminance 0.270; OKLCH L 67.4% C 0.226 H 317.0°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#CC5DF0
RGBrgb(204, 93, 240)
HSLhsl(285, 83%, 65%)
HSVhsv(285, 61%, 94%)
CMYKcmyk(15%, 61.2%, 0%, 5.9%)
CIE-LABlab(58.94, 65.37, -55.16)
CIE-LCHlch(58.94, 85.53, 319.84°)
OKLaboklab(67.41% 0.1655 -0.1544)
OKLCHoklch(67.41% 0.226 317)
XYZxyz(44.5421, 26.9590, 85.2785)
Luminance0.2696 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5DF0 #81F05D
analogous
#825DF0 #CC5DF0 #F05DCB
triadic
#CC5DF0 #F0CC5D #5DF0CC
tetradic
#CC5DF0 #F0825D #81F05D #5DCBF0
square
#CC5DF0 #F0825D #81F05D #5DCBF0
split-complementary
#CC5DF0 #CBF05D #5DF082
monochromatic
#9612C1 #BA25EB #CC5DF0 #DE95F5 #EFCDFA

Accessibility & contrast

On white

3.29
#CC5DF0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#CC5DF0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5DF0
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5DF0#FFFFFF#000000##000000
##CC5DF01.003.296.396.39
#FFFFFF3.291.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F87F5
Deuteranopia (green-blind)
#6091EC
Tritanopia (blue-blind)
#CB779E
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #cc5df0;
/* rgb */ color: rgb(204, 93, 240);
/* oklch */ color: oklch(67.4% 0.226 317.0);
Tailwind
colors: {
  custom: {
    50: '#df91f5',
    500: '#cc5df0',
    950: '#000000',
  },
}
SCSS
$custom: #cc5df0;
$custom-light: #df91f5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5df0",
  "rgb": {
    "r": 204,
    "g": 93,
    "b": 240
  },
  "hsl": {
    "h": 285.306,
    "s": 83.051,
    "l": 65.294
  },
  "oklch": {
    "l": 0.67409,
    "c": 0.22633,
    "h": 317
  },
  "luminance": 0.26957
}

Semantic roles & 50–950 ramp

primary
#CC5DF0
secondary
#C8EDBC
accent
#DF063B
background
#FEF9FF
surface
#FCF2FE
border
#D5CCD6
text
#160D17
muted
#847E85

Preview Lab

Preview with #CC5DF0

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

Preview Lab → · Contrast checker → · Palette generator →

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