#CC4FED#CC4FED

#CC4FED is a light, highly saturated purple. Relative luminance 0.245; OKLCH L 65.7% C 0.242 H 318.5°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#CC4FED
RGBrgb(204, 79, 237)
HSLhsl(287, 81%, 62%)
HSVhsv(287, 67%, 93%)
CMYKcmyk(13.9%, 66.7%, 0%, 7.1%)
CIE-LABlab(56.63, 70.72, -57.16)
CIE-LCHlch(56.63, 90.94, 321.05°)
OKLaboklab(65.69% 0.1811 -0.1602)
OKLCHoklch(65.69% 0.242 318.5)
XYZxyz(42.9818, 24.5457, 82.5781)
Luminance0.2454 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4FED #70ED4F
analogous
#7D4FED #CC4FED #ED4FBF
triadic
#CC4FED #EDCC4F #4FEDCC
tetradic
#CC4FED #ED7D4F #70ED4F #4FBFED
square
#CC4FED #ED7D4F #70ED4F #4FBFED
split-complementary
#CC4FED #BFED4F #4FED7D
monochromatic
#8F12B0 #BC18E7 #CC4FED #DC87F3 #ECBEF8

Accessibility & contrast

On white

3.55
#CC4FED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#CC4FED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4FED
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4FED#FFFFFF#000000##000000
##CC4FED1.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0280F2
Deuteranopia (green-blind)
#578CE9
Tritanopia (blue-blind)
#CC6C98
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cc4fed;
/* rgb */ color: rgb(204, 79, 237);
/* oklch */ color: oklch(65.7% 0.242 318.5);
Tailwind
colors: {
  custom: {
    50: '#df89f3',
    500: '#cc4fed',
    950: '#000000',
  },
}
SCSS
$custom: #cc4fed;
$custom-light: #df89f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4fed",
  "rgb": {
    "r": 204,
    "g": 79,
    "b": 237
  },
  "hsl": {
    "h": 287.468,
    "s": 81.443,
    "l": 61.961
  },
  "oklch": {
    "l": 0.65691,
    "c": 0.24175,
    "h": 318.5
  },
  "luminance": 0.24544
}

Semantic roles & 50–950 ramp

primary
#CC4FED
secondary
#BBE9AF
accent
#DE0834
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C17
muted
#847D85

Preview Lab

Preview with #CC4FED

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

Preview Lab → · Contrast checker → · Palette generator →

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