#CC4FEC#CC4FEC

#CC4FEC is a light, highly saturated purple. Relative luminance 0.245; OKLCH L 65.6% C 0.241 H 318.8°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#CC4FEC
RGBrgb(204, 79, 236)
HSLhsl(288, 81%, 62%)
HSVhsv(288, 67%, 93%)
CMYKcmyk(13.6%, 66.5%, 0%, 7.5%)
CIE-LABlab(56.57, 70.54, -56.70)
CIE-LCHlch(56.57, 90.50, 321.21°)
OKLaboklab(65.63% 0.1811 -0.1588)
OKLCHoklch(65.63% 0.241 318.8)
XYZxyz(42.8361, 24.4874, 81.8108)
Luminance0.2449 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4FEC #6FEC4F
analogous
#7E4FEC #CC4FEC #EC4FBD
triadic
#CC4FEC #ECCC4F #4FECCC
tetradic
#CC4FEC #EC7E4F #6FEC4F #4FBDEC
square
#CC4FEC #EC7E4F #6FEC4F #4FBDEC
split-complementary
#CC4FEC #BDEC4F #4FEC7E
monochromatic
#8E13AE #BB19E5 #CC4FEC #DC86F2 #ECBDF8

Accessibility & contrast

On white

3.56
#CC4FEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#CC4FEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4FEC
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4FEC#FFFFFF#000000##000000
##CC4FEC1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#087FF1
Deuteranopia (green-blind)
#588CE8
Tritanopia (blue-blind)
#CC6C98
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cc4fec;
/* rgb */ color: rgb(204, 79, 236);
/* oklch */ color: oklch(65.6% 0.241 318.8);
Tailwind
colors: {
  custom: {
    50: '#df89f3',
    500: '#cc4fec',
    950: '#000000',
  },
}
SCSS
$custom: #cc4fec;
$custom-light: #df89f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4fec",
  "rgb": {
    "r": 204,
    "g": 79,
    "b": 236
  },
  "hsl": {
    "h": 287.771,
    "s": 80.513,
    "l": 61.765
  },
  "oklch": {
    "l": 0.65631,
    "c": 0.24087,
    "h": 318.8
  },
  "luminance": 0.24485
}

Semantic roles & 50–950 ramp

primary
#CC4FEC
secondary
#BAE8AE
accent
#DD0934
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C17
muted
#847D85

Preview Lab

Preview with #CC4FEC

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

Preview Lab → · Contrast checker → · Palette generator →

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