#CC5FCA#CC5FCA

#CC5FCA is a light, vivid purple. Relative luminance 0.253; OKLCH L 65.6% C 0.189 H 328.2°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#CC5FCA
RGBrgb(204, 95, 202)
HSLhsl(301, 52%, 59%)
HSVhsv(301, 53%, 80%)
CMYKcmyk(0%, 53.4%, 1%, 20%)
CIE-LABlab(57.36, 57.42, -36.26)
CIE-LCHlch(57.36, 67.92, 327.73°)
OKLaboklab(65.63% 0.1604 -0.0996)
OKLCHoklch(65.63% 0.189 328.2)
XYZxyz(39.6542, 25.2884, 58.6582)
Luminance0.2529 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5FCA #5FCC61
analogous
#975FCC #CC5FCA #CC5F93
triadic
#CC5FCA #CACC5F #5FCACC
tetradic
#CC5FCA #CC975F #5FCC61 #5F93CC
square
#CC5FCA #CC975F #5FCC61 #5F93CC
split-complementary
#CC5FCA #93CC5F #5FCC97
monochromatic
#862B84 #B439B2 #CC5FCA #DB8DD9 #EABCE9

Accessibility & contrast

On white

3.47
#CC5FCA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#CC5FCA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5FCA
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5FCA#FFFFFF#000000##000000
##CC5FCA1.003.476.066.06
#FFFFFF3.471.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5581CD
Deuteranopia (green-blind)
#778FC7
Tritanopia (blue-blind)
#D26B8C
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cc5fca;
/* rgb */ color: rgb(204, 95, 202);
/* oklch */ color: oklch(65.6% 0.189 328.2);
Tailwind
colors: {
  custom: {
    50: '#de91da',
    500: '#cc5fca',
    950: '#000000',
  },
}
SCSS
$custom: #cc5fca;
$custom-light: #de91da;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5fca",
  "rgb": {
    "r": 204,
    "g": 95,
    "b": 202
  },
  "hsl": {
    "h": 301.101,
    "s": 51.659,
    "l": 58.627
  },
  "oklch": {
    "l": 0.65633,
    "c": 0.18883,
    "h": 328.2
  },
  "luminance": 0.25286
}

Semantic roles & 50–950 ramp

primary
#CC5FCA
secondary
#AED9AF
accent
#DB4F4D
background
#FDF9FD
surface
#FBF1FB
border
#D4CBD4
text
#150D15
muted
#837E83

Preview Lab

Preview with #CC5FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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