#CC5FC7#CC5FC7

#CC5FC7 is a light, vivid purple. Relative luminance 0.251; OKLCH L 65.5% C 0.186 H 329.2°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#CC5FC7
RGBrgb(204, 95, 199)
HSLhsl(303, 52%, 59%)
HSVhsv(303, 53%, 80%)
CMYKcmyk(0%, 53.4%, 2.5%, 20%)
CIE-LABlab(57.22, 56.90, -34.77)
CIE-LCHlch(57.22, 66.68, 328.58°)
OKLaboklab(65.49% 0.16 -0.0953)
OKLCHoklch(65.49% 0.186 329.2)
XYZxyz(39.3024, 25.1477, 56.8056)
Luminance0.2515 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5FC7 #5FCC64
analogous
#9A5FCC #CC5FC7 #CC5F90
triadic
#CC5FC7 #C7CC5F #5FC7CC
tetradic
#CC5FC7 #CC9A5F #5FCC64 #5F90CC
square
#CC5FC7 #CC9A5F #5FCC64 #5F90CC
split-complementary
#CC5FC7 #90CC5F #5FCC9A
monochromatic
#862B82 #B439AF #CC5FC7 #DB8DD7 #EABCE7

Accessibility & contrast

On white

3.48
#CC5FC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#CC5FC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5FC7
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5FC7#FFFFFF#000000##000000
##CC5FC71.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5780CA
Deuteranopia (green-blind)
#798FC4
Tritanopia (blue-blind)
#D26A8A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cc5fc7;
/* rgb */ color: rgb(204, 95, 199);
/* oklch */ color: oklch(65.5% 0.186 329.2);
Tailwind
colors: {
  custom: {
    50: '#de91d8',
    500: '#cc5fc7',
    950: '#000000',
  },
}
SCSS
$custom: #cc5fc7;
$custom-light: #de91d8;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5fc7",
  "rgb": {
    "r": 204,
    "g": 95,
    "b": 199
  },
  "hsl": {
    "h": 302.752,
    "s": 51.659,
    "l": 58.627
  },
  "oklch": {
    "l": 0.65488,
    "c": 0.18624,
    "h": 329.2
  },
  "luminance": 0.25145
}

Semantic roles & 50–950 ramp

primary
#CC5FC7
secondary
#AED9B0
accent
#DB534D
background
#FDF9FD
surface
#FBF1FA
border
#D4CBD3
text
#150D14
muted
#837E83

Preview Lab

Preview with #CC5FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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