#CC5FED#CC5FED

#CC5FED is a light, highly saturated purple. Relative luminance 0.271; OKLCH L 67.5% C 0.221 H 317.6°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#CC5FED
RGBrgb(204, 95, 237)
HSLhsl(286, 80%, 65%)
HSVhsv(286, 60%, 93%)
CMYKcmyk(13.9%, 59.9%, 0%, 7.1%)
CIE-LABlab(59.10, 63.89, -53.22)
CIE-LCHlch(59.10, 83.15, 320.20°)
OKLaboklab(67.48% 0.1631 -0.1487)
OKLCHoklch(67.48% 0.221 317.6)
XYZxyz(44.2779, 27.1379, 83.0101)
Luminance0.2714 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5FED #80ED5F
analogous
#855FED #CC5FED #ED5FC7
triadic
#CC5FED #EDCC5F #5FEDCC
tetradic
#CC5FED #ED855F #80ED5F #5FC7ED
square
#CC5FED #ED855F #80ED5F #5FC7ED
split-complementary
#CC5FED #C7ED5F #5FED85
monochromatic
#9615BC #BA28E7 #CC5FED #DE96F3 #EFCDF9

Accessibility & contrast

On white

3.27
#CC5FED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.43
#CC5FED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5FED
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5FED#FFFFFF#000000##000000
##CC5FED1.003.276.436.43
#FFFFFF3.271.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3887F1
Deuteranopia (green-blind)
#6492E9
Tritanopia (blue-blind)
#CB779D
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #cc5fed;
/* rgb */ color: rgb(204, 95, 237);
/* oklch */ color: oklch(67.5% 0.221 317.6);
Tailwind
colors: {
  custom: {
    50: '#df92f3',
    500: '#cc5fed',
    950: '#000000',
  },
}
SCSS
$custom: #cc5fed;
$custom-light: #df92f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5fed",
  "rgb": {
    "r": 204,
    "g": 95,
    "b": 237
  },
  "hsl": {
    "h": 286.056,
    "s": 79.775,
    "l": 65.098
  },
  "oklch": {
    "l": 0.67476,
    "c": 0.22074,
    "h": 317.6
  },
  "luminance": 0.27136
}

Semantic roles & 50–950 ramp

primary
#CC5FED
secondary
#C7ECBC
accent
#DC093A
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CC5FED

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

Preview Lab → · Contrast checker → · Palette generator →

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