#CC5FCB#CC5FCB

#CC5FCB is a light, vivid purple. Relative luminance 0.253; OKLCH L 65.7% C 0.190 H 327.8°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#CC5FCB
RGBrgb(204, 95, 203)
HSLhsl(301, 52%, 59%)
HSVhsv(301, 53%, 80%)
CMYKcmyk(0%, 53.4%, 0.5%, 20%)
CIE-LABlab(57.40, 57.60, -36.76)
CIE-LCHlch(57.40, 68.33, 327.45°)
OKLaboklab(65.68% 0.1606 -0.101)
OKLCHoklch(65.68% 0.19 327.8)
XYZxyz(39.7729, 25.3359, 59.2837)
Luminance0.2533 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5FCB #5FCC60
analogous
#965FCC #CC5FCB #CC5F94
triadic
#CC5FCB #CBCC5F #5FCBCC
tetradic
#CC5FCB #CC965F #5FCC60 #5F94CC
square
#CC5FCB #CC965F #5FCC60 #5F94CC
split-complementary
#CC5FCB #94CC5F #5FCC96
monochromatic
#862B85 #B439B3 #CC5FCB #DB8DDA #EABCE9

Accessibility & contrast

On white

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

On black

6.07
#CC5FCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5FCB
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5FCB#FFFFFF#000000##000000
##CC5FCB1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5581CE
Deuteranopia (green-blind)
#778FC8
Tritanopia (blue-blind)
#D26B8C
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cc5fcb;
/* rgb */ color: rgb(204, 95, 203);
/* oklch */ color: oklch(65.7% 0.190 327.8);
Tailwind
colors: {
  custom: {
    50: '#de91db',
    500: '#cc5fcb',
    950: '#000000',
  },
}
SCSS
$custom: #cc5fcb;
$custom-light: #de91db;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5fcb",
  "rgb": {
    "r": 204,
    "g": 95,
    "b": 203
  },
  "hsl": {
    "h": 300.55,
    "s": 51.659,
    "l": 58.627
  },
  "oklch": {
    "l": 0.65682,
    "c": 0.1897,
    "h": 327.8
  },
  "luminance": 0.25334
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC5FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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