#CC5FEB#CC5FEB

#CC5FEB is a light, highly saturated purple. Relative luminance 0.270; OKLCH L 67.4% C 0.219 H 318.2°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#CC5FEB
RGBrgb(204, 95, 235)
HSLhsl(287, 78%, 65%)
HSVhsv(287, 60%, 92%)
CMYKcmyk(13.2%, 59.6%, 0%, 7.8%)
CIE-LABlab(58.99, 63.50, -52.28)
CIE-LCHlch(58.99, 82.25, 320.54°)
OKLaboklab(67.36% 0.1631 -0.146)
OKLCHoklch(67.36% 0.219 318.2)
XYZxyz(43.9874, 27.0217, 81.4798)
Luminance0.2702 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC5FEB #7EEB5F
analogous
#865FEB #CC5FEB #EB5FC4
triadic
#CC5FEB #EBCC5F #5FEBCC
tetradic
#CC5FEB #EB865F #7EEB5F #5FC4EB
square
#CC5FEB #EB865F #7EEB5F #5FC4EB
split-complementary
#CC5FEB #C4EB5F #5FEB86
monochromatic
#9517B9 #BB29E4 #CC5FEB #DD95F2 #EFCCF9

Accessibility & contrast

On white

3.28
#CC5FEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#CC5FEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC5FEB
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC5FEB#FFFFFF#000000##000000
##CC5FEB1.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A87EF
Deuteranopia (green-blind)
#6592E7
Tritanopia (blue-blind)
#CC769C
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #cc5feb;
/* rgb */ color: rgb(204, 95, 235);
/* oklch */ color: oklch(67.4% 0.219 318.2);
Tailwind
colors: {
  custom: {
    50: '#df92f2',
    500: '#cc5feb',
    950: '#000000',
  },
}
SCSS
$custom: #cc5feb;
$custom-light: #df92f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cc5feb",
  "rgb": {
    "r": 204,
    "g": 95,
    "b": 235
  },
  "hsl": {
    "h": 286.714,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.67364,
    "c": 0.21886,
    "h": 318.2
  },
  "luminance": 0.2702
}

Semantic roles & 50–950 ramp

primary
#CC5FEB
secondary
#C6EBBB
accent
#DA0B39
background
#FEF9FE
surface
#FCF2FD
border
#D5CCD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #CC5FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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