#CC4CE2#CC4CE2

#CC4CE2 is a light, highly saturated purple. Relative luminance 0.235; OKLCH L 64.7% C 0.236 H 321.5°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#CC4CE2
RGBrgb(204, 76, 226)
HSLhsl(291, 72%, 59%)
HSVhsv(291, 66%, 89%)
CMYKcmyk(9.7%, 66.4%, 0%, 11.4%)
CIE-LABlab(55.58, 69.89, -52.66)
CIE-LCHlch(55.58, 87.51, 323.00°)
OKLaboklab(64.74% 0.1845 -0.147)
OKLCHoklch(64.74% 0.236 321.5)
XYZxyz(41.2122, 23.4994, 74.3018)
Luminance0.2350 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4CE2 #62E24C
analogous
#814CE2 #CC4CE2 #E24CAD
triadic
#CC4CE2 #E2CC4C #4CE2CC
tetradic
#CC4CE2 #E2814C #62E24C #4CADE2
square
#CC4CE2 #E2814C #62E24C #4CADE2
split-complementary
#CC4CE2 #ADE24C #4CE281
monochromatic
#88199B #B622CF #CC4CE2 #DB81EB #EAB5F3

Accessibility & contrast

On white

3.68
#CC4CE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#CC4CE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4CE2
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4CE2#FFFFFF#000000##000000
##CC4CE21.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D7CE6
Deuteranopia (green-blind)
#5D8ADE
Tritanopia (blue-blind)
#CE6691
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cc4ce2;
/* rgb */ color: rgb(204, 76, 226);
/* oklch */ color: oklch(64.7% 0.236 321.5);
Tailwind
colors: {
  custom: {
    50: '#df87ec',
    500: '#cc4ce2',
    950: '#000000',
  },
}
SCSS
$custom: #cc4ce2;
$custom-light: #df87ec;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4ce2",
  "rgb": {
    "r": 204,
    "g": 76,
    "b": 226
  },
  "hsl": {
    "h": 291.2,
    "s": 72.115,
    "l": 59.216
  },
  "oklch": {
    "l": 0.64738,
    "c": 0.23593,
    "h": 321.5
  },
  "luminance": 0.23497
}

Semantic roles & 50–950 ramp

primary
#CC4CE2
secondary
#B0E2A8
accent
#EF3954
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CC4CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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