#CC5CF7#CC5CF7

#CC5CF7 is a light, highly saturated purple. Relative luminance 0.272; OKLCH L 67.7% C 0.234 H 315.3°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#CC5CF7
RGBrgb(204, 92, 247)
HSLhsl(283, 91%, 66%)
HSVhsv(283, 63%, 97%)
CMYKcmyk(17.4%, 62.8%, 0%, 3.1%)
CIE-LABlab(59.17, 67.18, -58.68)
CIE-LCHlch(59.17, 89.20, 318.87°)
OKLaboklab(67.7% 0.1666 -0.1647)
OKLCHoklch(67.7% 0.234 315.3)
XYZxyz(45.5148, 27.2086, 90.8319)
Luminance0.2721 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5CF7 #87F75C
analogous
#7F5CF7 #CC5CF7 #F75CD4
triadic
#CC5CF7 #F7CC5C #5CF7CC
tetradic
#CC5CF7 #F77F5C #87F75C #5CD4F7
square
#CC5CF7 #F77F5C #87F75C #5CD4F7
split-complementary
#CC5CF7 #D4F75C #5CF77F
monochromatic
#980ACE #BA22F4 #CC5CF7 #DE96FA #F1D1FD

Accessibility & contrast

On white

3.26
#CC5CF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#CC5CF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5CF7
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5CF7#FFFFFF#000000##000000
##CC5CF71.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F88FC
Deuteranopia (green-blind)
#5A91F3
Tritanopia (blue-blind)
#C979A2
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #cc5cf7;
/* rgb */ color: rgb(204, 92, 247);
/* oklch */ color: oklch(67.7% 0.234 315.3);
Tailwind
colors: {
  custom: {
    50: '#df91fa',
    500: '#cc5cf7',
    950: '#000000',
  },
}
SCSS
$custom: #cc5cf7;
$custom-light: #df91fa;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5cf7",
  "rgb": {
    "r": 204,
    "g": 92,
    "b": 247
  },
  "hsl": {
    "h": 283.355,
    "s": 90.643,
    "l": 66.471
  },
  "oklch": {
    "l": 0.67702,
    "c": 0.23424,
    "h": 315.3
  },
  "luminance": 0.27207
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC5CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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