#CC5FDD#CC5FDD

#CC5FDD is a light, highly saturated purple. Relative luminance 0.262; OKLCH L 66.6% C 0.206 H 322.1°. Best body text is #000000 at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#CC5FDD
RGBrgb(204, 95, 221)
HSLhsl(292, 65%, 62%)
HSVhsv(292, 57%, 87%)
CMYKcmyk(7.7%, 57%, 0%, 13.3%)
CIE-LABlab(58.27, 60.85, -45.58)
CIE-LCHlch(58.27, 76.03, 323.16°)
OKLaboklab(66.6% 0.1624 -0.1265)
OKLCHoklch(66.6% 0.206 322.1)
XYZxyz(42.0438, 26.2443, 71.2436)
Luminance0.2624 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5FDD #70DD5F
analogous
#8D5FDD #CC5FDD #DD5FAF
triadic
#CC5FDD #DDCC5F #5FDDCC
tetradic
#CC5FDD #DD8D5F #70DD5F #5FAFDD
square
#CC5FDD #DD8D5F #70DD5F #5FAFDD
split-complementary
#CC5FDD #AFDD5F #5FDD8D
monochromatic
#8F22A0 #BC2DD2 #CC5FDD #DC91E8 #ECC4F2

Accessibility & contrast

On white

3.36
#CC5FDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.25
#CC5FDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5FDD
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5FDD#FFFFFF#000000##000000
##CC5FDD1.003.366.256.25
#FFFFFF3.361.0021.0021.00
#0000006.2521.001.001.00
##0000006.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4884E1
Deuteranopia (green-blind)
#6E90DA
Tritanopia (blue-blind)
#CE7195
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cc5fdd;
/* rgb */ color: rgb(204, 95, 221);
/* oklch */ color: oklch(66.6% 0.206 322.1);
Tailwind
colors: {
  custom: {
    50: '#de92e8',
    500: '#cc5fdd',
    950: '#000000',
  },
}
SCSS
$custom: #cc5fdd;
$custom-light: #de92e8;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5fdd",
  "rgb": {
    "r": 204,
    "g": 95,
    "b": 221
  },
  "hsl": {
    "h": 291.905,
    "s": 64.948,
    "l": 61.961
  },
  "oklch": {
    "l": 0.66599,
    "c": 0.20584,
    "h": 322.1
  },
  "luminance": 0.26242
}

Semantic roles & 50–950 ramp

primary
#CC5FDD
secondary
#BBE3B5
accent
#CD1931
background
#FEF9FE
surface
#FCF2FC
border
#D5CCD5
text
#150D16
muted
#847E84

Preview Lab

Preview with #CC5FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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