#CC4EB8#CC4EB8

#CC4EB8 is a light, vivid purple. Relative luminance 0.217; OKLCH L 62.7% C 0.199 H 334.4°. Best body text is #000000 at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#CC4EB8
RGBrgb(204, 78, 184)
HSLhsl(310, 55%, 55%)
HSVhsv(310, 62%, 80%)
CMYKcmyk(0%, 61.8%, 9.8%, 20%)
CIE-LABlab(53.76, 62.00, -31.54)
CIE-LCHlch(53.76, 69.56, 333.04°)
OKLaboklab(62.73% 0.1797 -0.0859)
OKLCHoklch(62.73% 0.199 334.4)
XYZxyz(36.2782, 21.7497, 47.6255)
Luminance0.2175 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4EB8 #4ECC62
analogous
#A14ECC #CC4EB8 #CC4E79
triadic
#CC4EB8 #B8CC4E #4EB8CC
tetradic
#CC4EB8 #CCA14E #4ECC62 #4E79CC
square
#CC4EB8 #CCA14E #4ECC62 #4E79CC
split-complementary
#CC4EB8 #79CC4E #4ECCA1
monochromatic
#7C246E #AB3198 #CC4EB8 #DA7ECB #E7ADDE

Accessibility & contrast

On white

3.93
#CC4EB8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.35
#CC4EB8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4EB8
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4EB8#FFFFFF#000000##000000
##CC4EB81.003.935.355.35
#FFFFFF3.931.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D75BB
Deuteranopia (green-blind)
#7587B5
Tritanopia (blue-blind)
#D5577C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cc4eb8;
/* rgb */ color: rgb(204, 78, 184);
/* oklch */ color: oklch(62.7% 0.199 334.4);
Tailwind
colors: {
  custom: {
    50: '#df87cd',
    500: '#cc4eb8',
    950: '#000000',
  },
}
SCSS
$custom: #cc4eb8;
$custom-light: #df87cd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4eb8",
  "rgb": {
    "r": 204,
    "g": 78,
    "b": 184
  },
  "hsl": {
    "h": 309.524,
    "s": 55.263,
    "l": 55.294
  },
  "oklch": {
    "l": 0.62732,
    "c": 0.19922,
    "h": 334.4
  },
  "luminance": 0.21747
}

Semantic roles & 50–950 ramp

primary
#CC4EB8
secondary
#A1D5A9
accent
#DF6149
background
#FEF8FC
surface
#FCF0F9
border
#D5CBD2
text
#160C13
muted
#847D82

Preview Lab

Preview with #CC4EB8

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

Preview Lab → · Contrast checker → · Palette generator →

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