#CC5FD7#CC5FD7

#CC5FD7 is a light, highly saturated purple. Relative luminance 0.259; OKLCH L 66.3% C 0.200 H 323.9°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#CC5FD7
RGBrgb(204, 95, 215)
HSLhsl(295, 60%, 61%)
HSVhsv(295, 56%, 84%)
CMYKcmyk(5.1%, 55.8%, 0%, 15.7%)
CIE-LABlab(57.97, 59.74, -42.67)
CIE-LCHlch(57.97, 73.42, 324.47°)
OKLaboklab(66.29% 0.1619 -0.1181)
OKLCHoklch(66.29% 0.2 323.9)
XYZxyz(41.2587, 25.9302, 67.1086)
Luminance0.2593 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5FD7 #6AD75F
analogous
#905FD7 #CC5FD7 #D75FA6
triadic
#CC5FD7 #D7CC5F #5FD7CC
tetradic
#CC5FD7 #D7905F #6AD75F #5FA6D7
square
#CC5FD7 #D7905F #6AD75F #5FA6D7
split-complementary
#CC5FD7 #A6D75F #5FD790
monochromatic
#8C2696 #B932C7 #CC5FD7 #DC90E3 #EBC1EF

Accessibility & contrast

On white

3.39
#CC5FD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#CC5FD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5FD7
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5FD7#FFFFFF#000000##000000
##CC5FD71.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C83DB
Deuteranopia (green-blind)
#7190D4
Tritanopia (blue-blind)
#D06F92
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #cc5fd7;
/* rgb */ color: rgb(204, 95, 215);
/* oklch */ color: oklch(66.3% 0.200 323.9);
Tailwind
colors: {
  custom: {
    50: '#de92e4',
    500: '#cc5fd7',
    950: '#000000',
  },
}
SCSS
$custom: #cc5fd7;
$custom-light: #de92e4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5fd7",
  "rgb": {
    "r": 204,
    "g": 95,
    "b": 215
  },
  "hsl": {
    "h": 294.5,
    "s": 60,
    "l": 60.784
  },
  "oklch": {
    "l": 0.66285,
    "c": 0.20037,
    "h": 323.9
  },
  "luminance": 0.25928
}

Semantic roles & 50–950 ramp

primary
#CC5FD7
secondary
#B6E0B2
accent
#C81E2D
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150D15
muted
#837E84

Preview Lab

Preview with #CC5FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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