#CC5FCC#CC5FCC

#CC5FCC is a light, vivid purple. Relative luminance 0.254; OKLCH L 65.7% C 0.191 H 327.5°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#CC5FCC
RGBrgb(204, 95, 204)
HSLhsl(300, 52%, 59%)
HSVhsv(300, 53%, 80%)
CMYKcmyk(0%, 53.4%, 0%, 20%)
CIE-LABlab(57.45, 57.77, -37.26)
CIE-LCHlch(57.45, 68.75, 327.18°)
OKLaboklab(65.73% 0.1607 -0.1025)
OKLCHoklch(65.73% 0.191 327.5)
XYZxyz(39.8925, 25.3838, 59.9134)
Luminance0.2538 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5FCC #5FCC5F
analogous
#955FCC #CC5FCC #CC5F95
triadic
#CC5FCC #CCCC5F #5FCCCC
tetradic
#CC5FCC #CC955F #5FCC5F #5F95CC
square
#CC5FCC #CC955F #5FCC5F #5F95CC
split-complementary
#CC5FCC #95CC5F #5FCC95
monochromatic
#862B86 #B439B4 #CC5FCC #DB8DDB #EABCEA

Accessibility & contrast

On white

3.46
#CC5FCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#CC5FCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5FCC
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5FCC#FFFFFF#000000##000000
##CC5FCC1.003.466.086.08
#FFFFFF3.461.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5481D0
Deuteranopia (green-blind)
#768FC9
Tritanopia (blue-blind)
#D26B8D
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cc5fcc;
/* rgb */ color: rgb(204, 95, 204);
/* oklch */ color: oklch(65.7% 0.191 327.5);
Tailwind
colors: {
  custom: {
    50: '#de91dc',
    500: '#cc5fcc',
    950: '#000000',
  },
}
SCSS
$custom: #cc5fcc;
$custom-light: #de91dc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5fcc",
  "rgb": {
    "r": 204,
    "g": 95,
    "b": 204
  },
  "hsl": {
    "h": 300,
    "s": 51.659,
    "l": 58.627
  },
  "oklch": {
    "l": 0.65731,
    "c": 0.19057,
    "h": 327.5
  },
  "luminance": 0.25381
}

Semantic roles & 50–950 ramp

primary
#CC5FCC
secondary
#AED9AE
accent
#DB4D4D
background
#FDF9FD
surface
#FBF1FB
border
#D4CBD4
text
#150D15
muted
#837E83

Preview Lab

Preview with #CC5FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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