#CC5FC0#CC5FC0

#CC5FC0 is a light, vivid purple. Relative luminance 0.248; OKLCH L 65.2% C 0.180 H 331.8°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#CC5FC0
RGBrgb(204, 95, 192)
HSLhsl(307, 52%, 59%)
HSVhsv(307, 53%, 80%)
CMYKcmyk(0%, 53.4%, 5.9%, 20%)
CIE-LABlab(56.91, 55.71, -31.25)
CIE-LCHlch(56.91, 63.88, 330.71°)
OKLaboklab(65.16% 0.1589 -0.0853)
OKLCHoklch(65.16% 0.18 331.8)
XYZxyz(38.5083, 24.8301, 52.6234)
Luminance0.2483 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5FC0 #5FCC6B
analogous
#A15FCC #CC5FC0 #CC5F89
triadic
#CC5FC0 #C0CC5F #5FC0CC
tetradic
#CC5FC0 #CCA15F #5FCC6B #5F89CC
square
#CC5FC0 #CCA15F #5FCC6B #5F89CC
split-complementary
#CC5FC0 #89CC5F #5FCCA1
monochromatic
#862B7C #B439A7 #CC5FC0 #DB8DD2 #EABCE5

Accessibility & contrast

On white

3.52
#CC5FC0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#CC5FC0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5FC0
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5FC0#FFFFFF#000000##000000
##CC5FC01.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B7FC3
Deuteranopia (green-blind)
#7C8EBD
Tritanopia (blue-blind)
#D46787
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cc5fc0;
/* rgb */ color: rgb(204, 95, 192);
/* oklch */ color: oklch(65.2% 0.180 331.8);
Tailwind
colors: {
  custom: {
    50: '#de91d3',
    500: '#cc5fc0',
    950: '#000000',
  },
}
SCSS
$custom: #cc5fc0;
$custom-light: #de91d3;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5fc0",
  "rgb": {
    "r": 204,
    "g": 95,
    "b": 192
  },
  "hsl": {
    "h": 306.606,
    "s": 51.659,
    "l": 58.627
  },
  "oklch": {
    "l": 0.65159,
    "c": 0.18034,
    "h": 331.8
  },
  "luminance": 0.24828
}

Semantic roles & 50–950 ramp

primary
#CC5FC0
secondary
#AED9B3
accent
#DB5C4D
background
#FDF9FD
surface
#FBF1FA
border
#D4CBD3
text
#150D14
muted
#837E83

Preview Lab

Preview with #CC5FC0

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

Preview Lab → · Contrast checker → · Palette generator →

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