#CC5FD9#CC5FD9

#CC5FD9 is a light, highly saturated purple. Relative luminance 0.260; OKLCH L 66.4% C 0.202 H 323.3°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#CC5FD9
RGBrgb(204, 95, 217)
HSLhsl(294, 62%, 61%)
HSVhsv(294, 56%, 85%)
CMYKcmyk(6%, 56.2%, 0%, 14.9%)
CIE-LABlab(58.07, 60.11, -43.64)
CIE-LCHlch(58.07, 74.28, 324.02°)
OKLaboklab(66.39% 0.1621 -0.1209)
OKLCHoklch(66.39% 0.202 323.3)
XYZxyz(41.5172, 26.0337, 68.4703)
Luminance0.2603 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5FD9 #6CD95F
analogous
#8F5FD9 #CC5FD9 #D95FA9
triadic
#CC5FD9 #D9CC5F #5FD9CC
tetradic
#CC5FD9 #D98F5F #6CD95F #5FA9D9
square
#CC5FD9 #D98F5F #6CD95F #5FA9D9
split-complementary
#CC5FD9 #A9D95F #5FD98F
monochromatic
#8D2499 #BA30CB #CC5FD9 #DC90E5 #ECC2F0

Accessibility & contrast

On white

3.38
#CC5FD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#CC5FD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5FD9
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5FD9#FFFFFF#000000##000000
##CC5FD91.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B83DD
Deuteranopia (green-blind)
#7090D6
Tritanopia (blue-blind)
#CF7093
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cc5fd9;
/* rgb */ color: rgb(204, 95, 217);
/* oklch */ color: oklch(66.4% 0.202 323.3);
Tailwind
colors: {
  custom: {
    50: '#de92e5',
    500: '#cc5fd9',
    950: '#000000',
  },
}
SCSS
$custom: #cc5fd9;
$custom-light: #de92e5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5fd9",
  "rgb": {
    "r": 204,
    "g": 95,
    "b": 217
  },
  "hsl": {
    "h": 293.607,
    "s": 61.616,
    "l": 61.176
  },
  "oklch": {
    "l": 0.66389,
    "c": 0.20218,
    "h": 323.3
  },
  "luminance": 0.26032
}

Semantic roles & 50–950 ramp

primary
#CC5FD9
secondary
#B8E1B3
accent
#C91C2F
background
#FEF9FE
surface
#FCF2FC
border
#D5CCD5
text
#150D16
muted
#847E84

Preview Lab

Preview with #CC5FD9

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

Preview Lab → · Contrast checker → · Palette generator →

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