#CC4DE8#CC4DE8

#CC4DE8 is a light, highly saturated purple. Relative luminance 0.240; OKLCH L 65.2% C 0.240 H 319.9°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#CC4DE8
RGBrgb(204, 77, 232)
HSLhsl(289, 77%, 61%)
HSVhsv(289, 67%, 91%)
CMYKcmyk(12.1%, 66.8%, 0%, 9%)
CIE-LABlab(56.06, 70.59, -55.27)
CIE-LCHlch(56.06, 89.66, 321.94°)
OKLaboklab(65.19% 0.1833 -0.1546)
OKLCHoklch(65.19% 0.24 319.9)
XYZxyz(42.1194, 23.9733, 78.7370)
Luminance0.2397 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4DE8 #69E84D
analogous
#7E4DE8 #CC4DE8 #E84DB7
triadic
#CC4DE8 #E8CC4D #4DE8CC
tetradic
#CC4DE8 #E87E4D #69E84D #4DB7E8
square
#CC4DE8 #E87E4D #69E84D #4DB7E8
split-complementary
#CC4DE8 #B7E84D #4DE87E
monochromatic
#8B15A5 #B91CDB #CC4DE8 #DC83EF #EBB9F6

Accessibility & contrast

On white

3.62
#CC4DE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#CC4DE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4DE8
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4DE8#FFFFFF#000000##000000
##CC4DE81.003.625.795.79
#FFFFFF3.621.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F7EED
Deuteranopia (green-blind)
#5A8BE4
Tritanopia (blue-blind)
#CD6995
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cc4de8;
/* rgb */ color: rgb(204, 77, 232);
/* oklch */ color: oklch(65.2% 0.240 319.9);
Tailwind
colors: {
  custom: {
    50: '#df88f0',
    500: '#cc4de8',
    950: '#000000',
  },
}
SCSS
$custom: #cc4de8;
$custom-light: #df88f0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4de8",
  "rgb": {
    "r": 204,
    "g": 77,
    "b": 232
  },
  "hsl": {
    "h": 289.161,
    "s": 77.114,
    "l": 60.588
  },
  "oklch": {
    "l": 0.6519,
    "c": 0.23984,
    "h": 319.9
  },
  "luminance": 0.23971
}

Semantic roles & 50–950 ramp

primary
#CC4DE8
secondary
#B6E6AB
accent
#D90C31
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C17
muted
#847D85

Preview Lab

Preview with #CC4DE8

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

Preview Lab → · Contrast checker → · Palette generator →

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