#CC5DF7#CC5DF7

#CC5DF7 is a light, highly saturated purple. Relative luminance 0.274; OKLCH L 67.8% C 0.233 H 315.3°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#CC5DF7
RGBrgb(204, 93, 247)
HSLhsl(283, 91%, 67%)
HSVhsv(283, 62%, 97%)
CMYKcmyk(17.4%, 62.3%, 0%, 3.1%)
CIE-LABlab(59.33, 66.74, -58.42)
CIE-LCHlch(59.33, 88.70, 318.80°)
OKLaboklab(67.82% 0.1655 -0.1639)
OKLCHoklch(67.82% 0.233 315.3)
XYZxyz(45.6020, 27.3830, 90.8609)
Luminance0.2738 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5DF7 #88F75D
analogous
#7F5DF7 #CC5DF7 #F75DD5
triadic
#CC5DF7 #F7CC5D #5DF7CC
tetradic
#CC5DF7 #F77F5D #88F75D #5DD5F7
square
#CC5DF7 #F77F5D #88F75D #5DD5F7
split-complementary
#CC5DF7 #D5F75D #5DF77F
monochromatic
#980ACF #BA23F4 #CC5DF7 #DE97FA #F1D2FD

Accessibility & contrast

On white

3.24
#CC5DF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#CC5DF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5DF7
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5DF7#FFFFFF#000000##000000
##CC5DF71.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2388FC
Deuteranopia (green-blind)
#5B92F3
Tritanopia (blue-blind)
#C979A2
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #cc5df7;
/* rgb */ color: rgb(204, 93, 247);
/* oklch */ color: oklch(67.8% 0.233 315.3);
Tailwind
colors: {
  custom: {
    50: '#df91fa',
    500: '#cc5df7',
    950: '#000000',
  },
}
SCSS
$custom: #cc5df7;
$custom-light: #df91fa;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5df7",
  "rgb": {
    "r": 204,
    "g": 93,
    "b": 247
  },
  "hsl": {
    "h": 283.247,
    "s": 90.588,
    "l": 66.667
  },
  "oklch": {
    "l": 0.67818,
    "c": 0.23292,
    "h": 315.3
  },
  "luminance": 0.27381
}

Semantic roles & 50–950 ramp

primary
#CC5DF7
secondary
#CDF1BF
accent
#E60040
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160D17
muted
#847E85

Preview Lab

Preview with #CC5DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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