#CC4ED7#CC4ED7

#CC4ED7 is a light, highly saturated purple. Relative luminance 0.232; OKLCH L 64.3% C 0.224 H 324.4°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#CC4ED7
RGBrgb(204, 78, 215)
HSLhsl(295, 63%, 57%)
HSVhsv(295, 64%, 84%)
CMYKcmyk(5.1%, 63.7%, 0%, 15.7%)
CIE-LABlab(55.27, 67.14, -46.93)
CIE-LCHlch(55.27, 81.92, 325.05°)
OKLaboklab(64.32% 0.1823 -0.1303)
OKLCHoklch(64.32% 0.224 324.4)
XYZxyz(39.8909, 23.1948, 66.6527)
Luminance0.2319 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4ED7 #59D74E
analogous
#874ED7 #CC4ED7 #D74E9E
triadic
#CC4ED7 #D7CC4E #4ED7CC
tetradic
#CC4ED7 #D7874E #59D74E #4E9ED7
square
#CC4ED7 #D7874E #59D74E #4E9ED7
split-complementary
#CC4ED7 #9ED74E #4ED787
monochromatic
#831F8B #B12BBD #CC4ED7 #DA80E2 #E9B2EE

Accessibility & contrast

On white

3.72
#CC4ED7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#CC4ED7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4ED7
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4ED7#FFFFFF#000000##000000
##CC4ED71.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#337BDB
Deuteranopia (green-blind)
#668AD3
Tritanopia (blue-blind)
#D0638C
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cc4ed7;
/* rgb */ color: rgb(204, 78, 215);
/* oklch */ color: oklch(64.3% 0.224 324.4);
Tailwind
colors: {
  custom: {
    50: '#df88e4',
    500: '#cc4ed7',
    950: '#000000',
  },
}
SCSS
$custom: #cc4ed7;
$custom-light: #df88e4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4ed7",
  "rgb": {
    "r": 204,
    "g": 78,
    "b": 215
  },
  "hsl": {
    "h": 295.182,
    "s": 63.134,
    "l": 57.451
  },
  "oklch": {
    "l": 0.64322,
    "c": 0.22409,
    "h": 324.4
  },
  "luminance": 0.23192
}

Semantic roles & 50–950 ramp

primary
#CC4ED7
secondary
#A9DCA5
accent
#E6424F
background
#FEF8FE
surface
#FCF0FC
border
#D5CBD5
text
#160C15
muted
#847D84

Preview Lab

Preview with #CC4ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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