#CC4CEE#CC4CEE

#CC4CEE is a light, highly saturated purple. Relative luminance 0.242; OKLCH L 65.5% C 0.246 H 318.4°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#CC4CEE
RGBrgb(204, 76, 238)
HSLhsl(287, 83%, 62%)
HSVhsv(287, 68%, 93%)
CMYKcmyk(14.3%, 68.1%, 0%, 6.7%)
CIE-LABlab(56.27, 72.09, -58.30)
CIE-LCHlch(56.27, 92.71, 321.03°)
OKLaboklab(65.45% 0.1841 -0.1635)
OKLCHoklch(65.45% 0.246 318.4)
XYZxyz(42.9168, 24.1812, 83.2792)
Luminance0.2418 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4CEE #6EEE4C
analogous
#7B4CEE #CC4CEE #EE4CBF
triadic
#CC4CEE #EECC4C #4CEECC
tetradic
#CC4CEE #EE7B4C #6EEE4C #4CBFEE
square
#CC4CEE #EE7B4C #6EEE4C #4CBFEE
split-complementary
#CC4CEE #BFEE4C #4CEE7B
monochromatic
#8E11AF #BB16E7 #CC4CEE #DC84F3 #ECBCF9

Accessibility & contrast

On white

3.60
#CC4CEE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#CC4CEE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4CEE
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4CEE#FFFFFF#000000##000000
##CC4CEE1.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF3
Deuteranopia (green-blind)
#548BEA
Tritanopia (blue-blind)
#CB6B98
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cc4cee;
/* rgb */ color: rgb(204, 76, 238);
/* oklch */ color: oklch(65.5% 0.246 318.4);
Tailwind
colors: {
  custom: {
    50: '#e088f4',
    500: '#cc4cee',
    950: '#000000',
  },
}
SCSS
$custom: #cc4cee;
$custom-light: #e088f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4cee",
  "rgb": {
    "r": 204,
    "g": 76,
    "b": 238
  },
  "hsl": {
    "h": 287.407,
    "s": 82.653,
    "l": 61.569
  },
  "oklch": {
    "l": 0.65451,
    "c": 0.24622,
    "h": 318.4
  },
  "luminance": 0.24179
}

Semantic roles & 50–950 ramp

primary
#CC4CEE
secondary
#B9E9AD
accent
#DF0634
background
#FEF8FF
surface
#FCF0FE
border
#D5CBD6
text
#160C17
muted
#847D85

Preview Lab

Preview with #CC4CEE

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

Preview Lab → · Contrast checker → · Palette generator →

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