#CC5FBC#CC5FBC

#CC5FBC is a light, vivid purple. Relative luminance 0.247; OKLCH L 65.0% C 0.177 H 333.3°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#CC5FBC
RGBrgb(204, 95, 188)
HSLhsl(309, 52%, 59%)
HSVhsv(309, 53%, 80%)
CMYKcmyk(0%, 53.4%, 7.8%, 20%)
CIE-LABlab(56.74, 55.05, -29.22)
CIE-LCHlch(56.74, 62.32, 332.04°)
OKLaboklab(64.98% 0.1582 -0.0795)
OKLCHoklch(64.98% 0.177 333.3)
XYZxyz(38.0711, 24.6552, 50.3209)
Luminance0.2465 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5FBC #5FCC6F
analogous
#A55FCC #CC5FBC #CC5F85
triadic
#CC5FBC #BCCC5F #5FBCCC
tetradic
#CC5FBC #CCA55F #5FCC6F #5F85CC
square
#CC5FBC #CCA55F #5FCC6F #5F85CC
split-complementary
#CC5FBC #85CC5F #5FCCA5
monochromatic
#862B79 #B439A2 #CC5FBC #DB8DCF #EABCE3

Accessibility & contrast

On white

3.54
#CC5FBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#CC5FBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5FBC
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5FBC#FFFFFF#000000##000000
##CC5FBC1.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D7EBF
Deuteranopia (green-blind)
#7D8EB9
Tritanopia (blue-blind)
#D46685
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cc5fbc;
/* rgb */ color: rgb(204, 95, 188);
/* oklch */ color: oklch(65.0% 0.177 333.3);
Tailwind
colors: {
  custom: {
    50: '#de91d0',
    500: '#cc5fbc',
    950: '#000000',
  },
}
SCSS
$custom: #cc5fbc;
$custom-light: #de91d0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5fbc",
  "rgb": {
    "r": 204,
    "g": 95,
    "b": 188
  },
  "hsl": {
    "h": 308.807,
    "s": 51.659,
    "l": 58.627
  },
  "oklch": {
    "l": 0.64976,
    "c": 0.17707,
    "h": 333.3
  },
  "luminance": 0.24653
}

Semantic roles & 50–950 ramp

primary
#CC5FBC
secondary
#AED9B4
accent
#DB624D
background
#FDF9FC
surface
#FBF1F9
border
#D4CBD2
text
#150D14
muted
#837E82

Preview Lab

Preview with #CC5FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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