#CC5FDF#CC5FDF

#CC5FDF is a light, highly saturated purple. Relative luminance 0.264; OKLCH L 66.7% C 0.208 H 321.5°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#CC5FDF
RGBrgb(204, 95, 223)
HSLhsl(291, 67%, 62%)
HSVhsv(291, 57%, 87%)
CMYKcmyk(8.5%, 57.4%, 0%, 12.5%)
CIE-LABlab(58.37, 61.22, -46.55)
CIE-LCHlch(58.37, 76.91, 322.75°)
OKLaboklab(66.71% 0.1625 -0.1293)
OKLCHoklch(66.71% 0.208 321.5)
XYZxyz(42.3119, 26.3515, 72.6553)
Luminance0.2635 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5FDF #72DF5F
analogous
#8C5FDF #CC5FDF #DF5FB2
triadic
#CC5FDF #DFCC5F #5FDFCC
tetradic
#CC5FDF #DF8C5F #72DF5F #5FB2DF
square
#CC5FDF #DF8C5F #72DF5F #5FB2DF
split-complementary
#CC5FDF #B2DF5F #5FDF8C
monochromatic
#9021A3 #BC2CD5 #CC5FDF #DC92E9 #EDC5F3

Accessibility & contrast

On white

3.35
#CC5FDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#CC5FDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5FDF
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5FDF#FFFFFF#000000##000000
##CC5FDF1.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4684E3
Deuteranopia (green-blind)
#6D91DC
Tritanopia (blue-blind)
#CE7296
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cc5fdf;
/* rgb */ color: rgb(204, 95, 223);
/* oklch */ color: oklch(66.7% 0.208 321.5);
Tailwind
colors: {
  custom: {
    50: '#de92e9',
    500: '#cc5fdf',
    950: '#000000',
  },
}
SCSS
$custom: #cc5fdf;
$custom-light: #de92e9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5fdf",
  "rgb": {
    "r": 204,
    "g": 95,
    "b": 223
  },
  "hsl": {
    "h": 291.094,
    "s": 66.667,
    "l": 62.353
  },
  "oklch": {
    "l": 0.66706,
    "c": 0.20768,
    "h": 321.5
  },
  "luminance": 0.2635
}

Semantic roles & 50–950 ramp

primary
#CC5FDF
secondary
#BCE4B6
accent
#CF1732
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#150D16
muted
#847E84

Preview Lab

Preview with #CC5FDF

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

Preview Lab → · Contrast checker → · Palette generator →

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