#CC5FEE#CC5FEE

#CC5FEE is a light, highly saturated purple. Relative luminance 0.272; OKLCH L 67.5% C 0.222 H 317.4°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#CC5FEE
RGBrgb(204, 95, 238)
HSLhsl(286, 81%, 65%)
HSVhsv(286, 60%, 93%)
CMYKcmyk(14.3%, 60.1%, 0%, 6.7%)
CIE-LABlab(59.16, 64.08, -53.69)
CIE-LCHlch(59.16, 83.60, 320.04°)
OKLaboklab(67.53% 0.1631 -0.1501)
OKLCHoklch(67.53% 0.222 317.4)
XYZxyz(44.4245, 27.1966, 83.7817)
Luminance0.2720 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5FEE #81EE5F
analogous
#845FEE #CC5FEE #EE5FC9
triadic
#CC5FEE #EECC5F #5FEECC
tetradic
#CC5FEE #EE845F #81EE5F #5FC9EE
square
#CC5FEE #EE845F #81EE5F #5FC9EE
split-complementary
#CC5FEE #C9EE5F #5FEE84
monochromatic
#9614BE #BA28E8 #CC5FEE #DE96F4 #EFCEFA

Accessibility & contrast

On white

3.26
#CC5FEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#CC5FEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5FEE
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5FEE#FFFFFF#000000##000000
##CC5FEE1.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3687F2
Deuteranopia (green-blind)
#6392EA
Tritanopia (blue-blind)
#CB779E
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #cc5fee;
/* rgb */ color: rgb(204, 95, 238);
/* oklch */ color: oklch(67.5% 0.222 317.4);
Tailwind
colors: {
  custom: {
    50: '#df92f4',
    500: '#cc5fee',
    950: '#000000',
  },
}
SCSS
$custom: #cc5fee;
$custom-light: #df92f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5fee",
  "rgb": {
    "r": 204,
    "g": 95,
    "b": 238
  },
  "hsl": {
    "h": 285.734,
    "s": 80.791,
    "l": 65.294
  },
  "oklch": {
    "l": 0.67533,
    "c": 0.22168,
    "h": 317.4
  },
  "luminance": 0.27195
}

Semantic roles & 50–950 ramp

primary
#CC5FEE
secondary
#C8ECBC
accent
#DD083B
background
#FEF9FF
surface
#FCF2FE
border
#D5CCD6
text
#160D17
muted
#847E85

Preview Lab

Preview with #CC5FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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