#CC5FBF#CC5FBF

#CC5FBF is a light, vivid purple. Relative luminance 0.248; OKLCH L 65.1% C 0.180 H 332.2°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#CC5FBF
RGBrgb(204, 95, 191)
HSLhsl(307, 52%, 59%)
HSVhsv(307, 53%, 80%)
CMYKcmyk(0%, 53.4%, 6.4%, 20%)
CIE-LABlab(56.87, 55.55, -30.74)
CIE-LCHlch(56.87, 63.48, 331.04°)
OKLaboklab(65.11% 0.1587 -0.0838)
OKLCHoklch(65.11% 0.18 332.2)
XYZxyz(38.3979, 24.7859, 52.0418)
Luminance0.2478 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5FBF #5FCC6C
analogous
#A25FCC #CC5FBF #CC5F88
triadic
#CC5FBF #BFCC5F #5FBFCC
tetradic
#CC5FBF #CCA25F #5FCC6C #5F88CC
square
#CC5FBF #CCA25F #5FCC6C #5F88CC
split-complementary
#CC5FBF #88CC5F #5FCCA2
monochromatic
#862B7B #B439A6 #CC5FBF #DB8DD2 #EABCE4

Accessibility & contrast

On white

3.53
#CC5FBF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#CC5FBF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5FBF
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5FBF#FFFFFF#000000##000000
##CC5FBF1.003.535.965.96
#FFFFFF3.531.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc5fbf;
/* rgb */ color: rgb(204, 95, 191);
/* oklch */ color: oklch(65.1% 0.180 332.2);
Tailwind
colors: {
  custom: {
    50: '#de91d2',
    500: '#cc5fbf',
    950: '#000000',
  },
}
SCSS
$custom: #cc5fbf;
$custom-light: #de91d2;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5fbf",
  "rgb": {
    "r": 204,
    "g": 95,
    "b": 191
  },
  "hsl": {
    "h": 307.156,
    "s": 51.659,
    "l": 58.627
  },
  "oklch": {
    "l": 0.65113,
    "c": 0.17951,
    "h": 332.2
  },
  "luminance": 0.24783
}

Semantic roles & 50–950 ramp

primary
#CC5FBF
secondary
#AED9B3
accent
#DB5E4D
background
#FDF9FC
surface
#FBF1F9
border
#D4CBD2
text
#150D14
muted
#837E82

Preview Lab

Preview with #CC5FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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