#CC5FCF#CC5FCF

#CC5FCF is a light, vivid purple. Relative luminance 0.255; OKLCH L 65.9% C 0.193 H 326.5°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#CC5FCF
RGBrgb(204, 95, 207)
HSLhsl(298, 54%, 59%)
HSVhsv(298, 54%, 81%)
CMYKcmyk(1.4%, 54.1%, 0%, 18.8%)
CIE-LABlab(57.59, 58.30, -38.74)
CIE-LCHlch(57.59, 70.00, 326.40°)
OKLaboklab(65.88% 0.161 -0.1067)
OKLCHoklch(65.88% 0.193 326.5)
XYZxyz(40.2558, 25.5291, 61.8266)
Luminance0.2553 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5FCF #62CF5F
analogous
#945FCF #CC5FCF #CF5F9A
triadic
#CC5FCF #CFCC5F #5FCFCC
tetradic
#CC5FCF #CF945F #62CF5F #5F9ACF
square
#CC5FCF #CF945F #62CF5F #5F9ACF
split-complementary
#CC5FCF #9ACF5F #5FCF94
monochromatic
#88298A #B638B9 #CC5FCF #DB8EDD #EABDEB

Accessibility & contrast

On white

3.44
#CC5FCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.11
#CC5FCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5FCF
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5FCF#FFFFFF#000000##000000
##CC5FCF1.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5281D3
Deuteranopia (green-blind)
#758FCC
Tritanopia (blue-blind)
#D16C8E
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cc5fcf;
/* rgb */ color: rgb(204, 95, 207);
/* oklch */ color: oklch(65.9% 0.193 326.5);
Tailwind
colors: {
  custom: {
    50: '#de91de',
    500: '#cc5fcf',
    950: '#000000',
  },
}
SCSS
$custom: #cc5fcf;
$custom-light: #de91de;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5fcf",
  "rgb": {
    "r": 204,
    "g": 95,
    "b": 207
  },
  "hsl": {
    "h": 298.393,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.65879,
    "c": 0.1932,
    "h": 326.5
  },
  "luminance": 0.25527
}

Semantic roles & 50–950 ramp

primary
#CC5FCF
secondary
#B0DBAF
accent
#DD4B4F
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150D15
muted
#837E83

Preview Lab

Preview with #CC5FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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