#CC4FEA#CC4FEA

#CC4FEA is a light, highly saturated purple. Relative luminance 0.244; OKLCH L 65.5% C 0.239 H 319.3°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#CC4FEA
RGBrgb(204, 79, 234)
HSLhsl(288, 79%, 61%)
HSVhsv(288, 66%, 92%)
CMYKcmyk(12.8%, 66.2%, 0%, 8.2%)
CIE-LABlab(56.46, 70.17, -55.76)
CIE-LCHlch(56.46, 89.62, 321.53°)
OKLaboklab(65.51% 0.1812 -0.1561)
OKLCHoklch(65.51% 0.239 319.3)
XYZxyz(42.5472, 24.3718, 80.2890)
Luminance0.2437 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4FEA #6DEA4F
analogous
#7F4FEA #CC4FEA #EA4FBB
triadic
#CC4FEA #EACC4F #4FEACC
tetradic
#CC4FEA #EA7F4F #6DEA4F #4FBBEA
square
#CC4FEA #EA7F4F #6DEA4F #4FBBEA
split-complementary
#CC4FEA #BBEA4F #4FEA7F
monochromatic
#8D14AA #BB1BE1 #CC4FEA #DC86F1 #ECBCF7

Accessibility & contrast

On white

3.58
#CC4FEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#CC4FEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4FEA
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4FEA#FFFFFF#000000##000000
##CC4FEA1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#117FEF
Deuteranopia (green-blind)
#5A8CE6
Tritanopia (blue-blind)
#CC6B96
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cc4fea;
/* rgb */ color: rgb(204, 79, 234);
/* oklch */ color: oklch(65.5% 0.239 319.3);
Tailwind
colors: {
  custom: {
    50: '#df89f1',
    500: '#cc4fea',
    950: '#000000',
  },
}
SCSS
$custom: #cc4fea;
$custom-light: #df89f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4fea",
  "rgb": {
    "r": 204,
    "g": 79,
    "b": 234
  },
  "hsl": {
    "h": 288.387,
    "s": 78.68,
    "l": 61.373
  },
  "oklch": {
    "l": 0.65512,
    "c": 0.23913,
    "h": 319.3
  },
  "luminance": 0.2437
}

Semantic roles & 50–950 ramp

primary
#CC4FEA
secondary
#B9E7AD
accent
#DB0B33
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C17
muted
#847D85

Preview Lab

Preview with #CC4FEA

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

Preview Lab → · Contrast checker → · Palette generator →

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