#CC4EFC#CC4EFC

#CC4EFC is a light, highly saturated purple. Relative luminance 0.253; OKLCH L 66.5% C 0.256 H 315.0°. Best body text is #000000 at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#CC4EFC
RGBrgb(204, 78, 252)
HSLhsl(283, 97%, 65%)
HSVhsv(283, 69%, 99%)
CMYKcmyk(19%, 69%, 0%, 1.2%)
CIE-LABlab(57.38, 73.96, -64.31)
CIE-LCHlch(57.38, 98.01, 318.99°)
OKLaboklab(66.52% 0.1811 -0.1811)
OKLCHoklch(66.52% 0.256 315)
XYZxyz(45.1941, 25.3160, 94.5824)
Luminance0.2531 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4EFC #7EFC4E
analogous
#754EFC #CC4EFC #FC4ED5
triadic
#CC4EFC #FCCC4E #4EFCCC
tetradic
#CC4EFC #FC754E #7EFC4E #4ED5FC
square
#CC4EFC #FC754E #7EFC4E #4ED5FC
split-complementary
#CC4EFC #D5FC4E #4EFC75
monochromatic
#9503CC #BB12FB #CC4EFC #DD8AFD #EFC6FE

Accessibility & contrast

On white

3.46
#CC4EFC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.06
#CC4EFC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4EFC
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4EFC#FFFFFF#000000##000000
##CC4EFC1.003.466.066.06
#FFFFFF3.461.0021.0021.00
#0000006.0621.001.001.00
##0000006.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0083FF
Deuteranopia (green-blind)
#488DF8
Tritanopia (blue-blind)
#C872A0
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cc4efc;
/* rgb */ color: rgb(204, 78, 252);
/* oklch */ color: oklch(66.5% 0.256 315.0);
Tailwind
colors: {
  custom: {
    50: '#e089fe',
    500: '#cc4efc',
    950: '#000000',
  },
}
SCSS
$custom: #cc4efc;
$custom-light: #e089fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4efc",
  "rgb": {
    "r": 204,
    "g": 78,
    "b": 252
  },
  "hsl": {
    "h": 283.448,
    "s": 96.667,
    "l": 64.706
  },
  "oklch": {
    "l": 0.66515,
    "c": 0.25612,
    "h": 315
  },
  "luminance": 0.25314
}

Semantic roles & 50–950 ramp

primary
#CC4EFC
secondary
#C6F1B5
accent
#E6003F
background
#FEF8FF
surface
#FCF0FF
border
#D5CBD7
text
#160C18
muted
#847D86

Preview Lab

Preview with #CC4EFC

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

Preview Lab → · Contrast checker → · Palette generator →

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