#CC5FBB#CC5FBB

#CC5FBB is a light, vivid purple. Relative luminance 0.246; OKLCH L 64.9% C 0.176 H 333.7°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#CC5FBB
RGBrgb(204, 95, 187)
HSLhsl(309, 52%, 59%)
HSVhsv(309, 53%, 80%)
CMYKcmyk(0%, 53.4%, 8.3%, 20%)
CIE-LABlab(56.70, 54.88, -28.71)
CIE-LCHlch(56.70, 61.94, 332.38°)
OKLaboklab(64.93% 0.158 -0.078)
OKLCHoklch(64.93% 0.176 333.7)
XYZxyz(37.9637, 24.6123, 49.7552)
Luminance0.2461 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5FBB #5FCC70
analogous
#A65FCC #CC5FBB #CC5F84
triadic
#CC5FBB #BBCC5F #5FBBCC
tetradic
#CC5FBB #CCA65F #5FCC70 #5F84CC
square
#CC5FBB #CCA65F #5FCC70 #5F84CC
split-complementary
#CC5FBB #84CC5F #5FCCA6
monochromatic
#862B78 #B439A1 #CC5FBB #DB8DCF #EABCE2

Accessibility & contrast

On white

3.55
#CC5FBB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#CC5FBB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5FBB
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5FBB#FFFFFF#000000##000000
##CC5FBB1.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc5fbb;
/* rgb */ color: rgb(204, 95, 187);
/* oklch */ color: oklch(64.9% 0.176 333.7);
Tailwind
colors: {
  custom: {
    50: '#de91cf',
    500: '#cc5fbb',
    950: '#000000',
  },
}
SCSS
$custom: #cc5fbb;
$custom-light: #de91cf;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5fbb",
  "rgb": {
    "r": 204,
    "g": 95,
    "b": 187
  },
  "hsl": {
    "h": 309.358,
    "s": 51.659,
    "l": 58.627
  },
  "oklch": {
    "l": 0.64931,
    "c": 0.17625,
    "h": 333.7
  },
  "luminance": 0.2461
}

Semantic roles & 50–950 ramp

primary
#CC5FBB
secondary
#AED9B5
accent
#DB634D
background
#FDF9FC
surface
#FBF1F9
border
#D4CBD2
text
#150D14
muted
#837E82

Preview Lab

Preview with #CC5FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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