#CC4FE9#CC4FE9

#CC4FE9 is a light, highly saturated purple. Relative luminance 0.243; OKLCH L 65.5% C 0.238 H 319.5°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#CC4FE9
RGBrgb(204, 79, 233)
HSLhsl(289, 78%, 61%)
HSVhsv(289, 66%, 91%)
CMYKcmyk(12.4%, 66.1%, 0%, 8.6%)
CIE-LABlab(56.40, 69.98, -55.29)
CIE-LCHlch(56.40, 89.19, 321.69°)
OKLaboklab(65.45% 0.1812 -0.1547)
OKLCHoklch(65.45% 0.238 319.5)
XYZxyz(42.4039, 24.3145, 79.5346)
Luminance0.2431 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4FE9 #6CE94F
analogous
#7F4FE9 #CC4FE9 #E94FB9
triadic
#CC4FE9 #E9CC4F #4FE9CC
tetradic
#CC4FE9 #E97F4F #6CE94F #4FB9E9
square
#CC4FE9 #E97F4F #6CE94F #4FB9E9
split-complementary
#CC4FE9 #B9E94F #4FE97F
monochromatic
#8D15A9 #BA1CDF #CC4FE9 #DC85F0 #ECBCF7

Accessibility & contrast

On white

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

On black

5.86
#CC4FE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4FE9
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4FE9#FFFFFF#000000##000000
##CC4FE91.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#157FEE
Deuteranopia (green-blind)
#5A8CE5
Tritanopia (blue-blind)
#CC6B96
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #cc4fe9;
/* rgb */ color: rgb(204, 79, 233);
/* oklch */ color: oklch(65.5% 0.238 319.5);
Tailwind
colors: {
  custom: {
    50: '#df89f1',
    500: '#cc4fe9',
    950: '#000000',
  },
}
SCSS
$custom: #cc4fe9;
$custom-light: #df89f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4fe9",
  "rgb": {
    "r": 204,
    "g": 79,
    "b": 233
  },
  "hsl": {
    "h": 288.701,
    "s": 77.778,
    "l": 61.176
  },
  "oklch": {
    "l": 0.65453,
    "c": 0.23825,
    "h": 319.5
  },
  "luminance": 0.24313
}

Semantic roles & 50–950 ramp

primary
#CC4FE9
secondary
#B8E7AD
accent
#DA0B32
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C17
muted
#847D85

Preview Lab

Preview with #CC4FE9

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

Preview Lab → · Contrast checker → · Palette generator →

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