#CC5FDC#CC5FDC

#CC5FDC is a light, highly saturated purple. Relative luminance 0.262; OKLCH L 66.5% C 0.205 H 322.4°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#CC5FDC
RGBrgb(204, 95, 220)
HSLhsl(292, 64%, 62%)
HSVhsv(292, 57%, 86%)
CMYKcmyk(7.3%, 56.8%, 0%, 13.7%)
CIE-LABlab(58.22, 60.66, -45.10)
CIE-LCHlch(58.22, 75.59, 323.37°)
OKLaboklab(66.55% 0.1623 -0.1251)
OKLCHoklch(66.55% 0.205 322.4)
XYZxyz(41.9110, 26.1912, 70.5441)
Luminance0.2619 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5FDC #6FDC5F
analogous
#8E5FDC #CC5FDC #DC5FAE
triadic
#CC5FDC #DCCC5F #5FDCCC
tetradic
#CC5FDC #DC8E5F #6FDC5F #5FAEDC
square
#CC5FDC #DC8E5F #6FDC5F #5FAEDC
split-complementary
#CC5FDC #AEDC5F #5FDC8E
monochromatic
#8E239E #BB2ED0 #CC5FDC #DC91E7 #ECC3F2

Accessibility & contrast

On white

3.37
#CC5FDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#CC5FDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5FDC
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5FDC#FFFFFF#000000##000000
##CC5FDC1.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4984E0
Deuteranopia (green-blind)
#6E90D9
Tritanopia (blue-blind)
#CF7195
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cc5fdc;
/* rgb */ color: rgb(204, 95, 220);
/* oklch */ color: oklch(66.5% 0.205 322.4);
Tailwind
colors: {
  custom: {
    50: '#de92e7',
    500: '#cc5fdc',
    950: '#000000',
  },
}
SCSS
$custom: #cc5fdc;
$custom-light: #de92e7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5fdc",
  "rgb": {
    "r": 204,
    "g": 95,
    "b": 220
  },
  "hsl": {
    "h": 292.32,
    "s": 64.103,
    "l": 61.765
  },
  "oklch": {
    "l": 0.66546,
    "c": 0.20492,
    "h": 322.4
  },
  "luminance": 0.26189
}

Semantic roles & 50–950 ramp

primary
#CC5FDC
secondary
#BAE3B4
accent
#CC1A30
background
#FEF9FE
surface
#FCF2FC
border
#D5CCD5
text
#150D16
muted
#847E84

Preview Lab

Preview with #CC5FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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