#CC4EF7#CC4EF7

#CC4EF7 is a light, highly saturated purple. Relative luminance 0.250; OKLCH L 66.2% C 0.252 H 316.2°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#CC4EF7
RGBrgb(204, 78, 247)
HSLhsl(285, 91%, 64%)
HSVhsv(285, 68%, 97%)
CMYKcmyk(17.4%, 68.4%, 0%, 3.1%)
CIE-LABlab(57.08, 73.00, -62.02)
CIE-LCHlch(57.08, 95.79, 319.65°)
OKLaboklab(66.2% 0.1815 -0.1744)
OKLCHoklch(66.2% 0.252 316.2)
XYZxyz(44.4121, 25.0033, 90.4643)
Luminance0.2500 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4EF7 #79F74E
analogous
#774EF7 #CC4EF7 #F74ECD
triadic
#CC4EF7 #F7CC4E #4EF7CC
tetradic
#CC4EF7 #F7774E #79F74E #4ECDF7
square
#CC4EF7 #F7774E #79F74E #4ECDF7
split-complementary
#CC4EF7 #CDF74E #4EF777
monochromatic
#9309C2 #BB13F4 #CC4EF7 #DD89FA #EEC3FC

Accessibility & contrast

On white

3.50
#CC4EF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#CC4EF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4EF7
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4EF7#FFFFFF#000000##000000
##CC4EF71.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FC
Deuteranopia (green-blind)
#4E8DF3
Tritanopia (blue-blind)
#C9709D
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cc4ef7;
/* rgb */ color: rgb(204, 78, 247);
/* oklch */ color: oklch(66.2% 0.252 316.2);
Tailwind
colors: {
  custom: {
    50: '#e089fb',
    500: '#cc4ef7',
    950: '#000000',
  },
}
SCSS
$custom: #cc4ef7;
$custom-light: #e089fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4ef7",
  "rgb": {
    "r": 204,
    "g": 78,
    "b": 247
  },
  "hsl": {
    "h": 284.734,
    "s": 91.351,
    "l": 63.725
  },
  "oklch": {
    "l": 0.66201,
    "c": 0.25172,
    "h": 316.2
  },
  "luminance": 0.25002
}

Semantic roles & 50–950 ramp

primary
#CC4EF7
secondary
#C2EEB3
accent
#E6003A
background
#FEF8FF
surface
#FCF0FF
border
#D5CBD7
text
#160C17
muted
#847D85

Preview Lab

Preview with #CC4EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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