#CC5FCE#CC5FCE

#CC5FCE is a light, vivid purple. Relative luminance 0.255; OKLCH L 65.8% C 0.192 H 326.8°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#CC5FCE
RGBrgb(204, 95, 206)
HSLhsl(299, 53%, 59%)
HSVhsv(299, 54%, 81%)
CMYKcmyk(1%, 53.9%, 0%, 19.2%)
CIE-LABlab(57.54, 58.13, -38.25)
CIE-LCHlch(57.54, 69.58, 326.66°)
OKLaboklab(65.83% 0.1609 -0.1053)
OKLCHoklch(65.83% 0.192 326.8)
XYZxyz(40.1339, 25.4803, 61.1848)
Luminance0.2548 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5FCE #61CE5F
analogous
#955FCE #CC5FCE #CE5F99
triadic
#CC5FCE #CECC5F #5FCECC
tetradic
#CC5FCE #CE955F #61CE5F #5F99CE
square
#CC5FCE #CE955F #61CE5F #5F99CE
split-complementary
#CC5FCE #99CE5F #5FCE95
monochromatic
#872A89 #B538B8 #CC5FCE #DB8EDC #EABDEB

Accessibility & contrast

On white

3.45
#CC5FCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#CC5FCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5FCE
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5FCE#FFFFFF#000000##000000
##CC5FCE1.003.456.106.10
#FFFFFF3.451.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5381D2
Deuteranopia (green-blind)
#768FCB
Tritanopia (blue-blind)
#D16C8E
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cc5fce;
/* rgb */ color: rgb(204, 95, 206);
/* oklch */ color: oklch(65.8% 0.192 326.8);
Tailwind
colors: {
  custom: {
    50: '#de91dd',
    500: '#cc5fce',
    950: '#000000',
  },
}
SCSS
$custom: #cc5fce;
$custom-light: #de91dd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5fce",
  "rgb": {
    "r": 204,
    "g": 95,
    "b": 206
  },
  "hsl": {
    "h": 298.919,
    "s": 53.11,
    "l": 59.02
  },
  "oklch": {
    "l": 0.65829,
    "c": 0.19233,
    "h": 326.8
  },
  "luminance": 0.25478
}

Semantic roles & 50–950 ramp

primary
#CC5FCE
secondary
#AFDAAF
accent
#DD4B4E
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150D15
muted
#837E83

Preview Lab

Preview with #CC5FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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