#CC4ED1#CC4ED1

#CC4ED1 is a light, highly saturated purple. Relative luminance 0.229; OKLCH L 64.0% C 0.219 H 326.2°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#CC4ED1
RGBrgb(204, 78, 209)
HSLhsl(298, 59%, 56%)
HSVhsv(298, 63%, 82%)
CMYKcmyk(2.4%, 62.7%, 0%, 18%)
CIE-LABlab(54.96, 66.10, -44.02)
CIE-LCHlch(54.96, 79.42, 326.34°)
OKLaboklab(64% 0.1821 -0.1219)
OKLCHoklch(64% 0.219 326.2)
XYZxyz(39.1341, 22.8920, 62.6666)
Luminance0.2289 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4ED1 #53D14E
analogous
#8B4ED1 #CC4ED1 #D14E95
triadic
#CC4ED1 #D1CC4E #4ED1CC
tetradic
#CC4ED1 #D18B4E #53D14E #4E95D1
square
#CC4ED1 #D18B4E #53D14E #4E95D1
split-complementary
#CC4ED1 #95D14E #4ED18B
monochromatic
#7F2283 #AE2FB3 #CC4ED1 #DA7FDE #E8AFEA

Accessibility & contrast

On white

3.76
#CC4ED1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#CC4ED1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4ED1
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4ED1#FFFFFF#000000##000000
##CC4ED11.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3979D5
Deuteranopia (green-blind)
#6989CE
Tritanopia (blue-blind)
#D16089
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cc4ed1;
/* rgb */ color: rgb(204, 78, 209);
/* oklch */ color: oklch(64.0% 0.219 326.2);
Tailwind
colors: {
  custom: {
    50: '#df88df',
    500: '#cc4ed1',
    950: '#000000',
  },
}
SCSS
$custom: #cc4ed1;
$custom-light: #df88df;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4ed1",
  "rgb": {
    "r": 204,
    "g": 78,
    "b": 209
  },
  "hsl": {
    "h": 297.71,
    "s": 58.744,
    "l": 56.275
  },
  "oklch": {
    "l": 0.63996,
    "c": 0.21908,
    "h": 326.2
  },
  "luminance": 0.2289
}

Semantic roles & 50–950 ramp

primary
#CC4ED1
secondary
#A4D8A2
accent
#E2464C
background
#FEF8FD
surface
#FCF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #CC4ED1

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

Preview Lab → · Contrast checker → · Palette generator →

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