#CC5FBD#CC5FBD

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

Color values

HEX#CC5FBD
RGBrgb(204, 95, 189)
HSLhsl(308, 52%, 59%)
HSVhsv(308, 53%, 80%)
CMYKcmyk(0%, 53.4%, 7.4%, 20%)
CIE-LABlab(56.78, 55.21, -29.73)
CIE-LCHlch(56.78, 62.71, 331.70°)
OKLaboklab(65.02% 0.1584 -0.0809)
OKLCHoklch(65.02% 0.178 332.9)
XYZxyz(38.1793, 24.6985, 50.8906)
Luminance0.2470 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5FBD #5FCC6E
analogous
#A45FCC #CC5FBD #CC5F86
triadic
#CC5FBD #BDCC5F #5FBDCC
tetradic
#CC5FBD #CCA45F #5FCC6E #5F86CC
square
#CC5FBD #CCA45F #5FCC6E #5F86CC
split-complementary
#CC5FBD #86CC5F #5FCCA4
monochromatic
#862B79 #B439A3 #CC5FBD #DB8DD0 #EABCE3

Accessibility & contrast

On white

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

On black

5.94
#CC5FBD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5FBD
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5FBD#FFFFFF#000000##000000
##CC5FBD1.003.545.945.94
#FFFFFF3.541.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C7EC0
Deuteranopia (green-blind)
#7D8EBA
Tritanopia (blue-blind)
#D46786
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cc5fbd;
/* rgb */ color: rgb(204, 95, 189);
/* oklch */ color: oklch(65.0% 0.178 332.9);
Tailwind
colors: {
  custom: {
    50: '#de91d1',
    500: '#cc5fbd',
    950: '#000000',
  },
}
SCSS
$custom: #cc5fbd;
$custom-light: #de91d1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5fbd",
  "rgb": {
    "r": 204,
    "g": 95,
    "b": 189
  },
  "hsl": {
    "h": 308.257,
    "s": 51.659,
    "l": 58.627
  },
  "oklch": {
    "l": 0.65021,
    "c": 0.17788,
    "h": 332.9
  },
  "luminance": 0.24696
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC5FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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