#CC4FFE#CC4FFE

#CC4FFE is a light, highly saturated purple. Relative luminance 0.256; OKLCH L 66.7% C 0.257 H 314.5°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#CC4FFE
RGBrgb(204, 79, 254)
HSLhsl(283, 99%, 65%)
HSVhsv(283, 69%, 100%)
CMYKcmyk(19.7%, 68.9%, 0%, 0.4%)
CIE-LABlab(57.64, 73.95, -65.00)
CIE-LCHlch(57.64, 98.46, 318.69°)
OKLaboklab(66.74% 0.18 -0.1831)
OKLCHoklch(66.74% 0.257 314.5)
XYZxyz(45.5842, 25.5866, 96.2842)
Luminance0.2559 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4FFE #81FE4F
analogous
#744FFE #CC4FFE #FE4FD9
triadic
#CC4FFE #FECC4F #4FFECC
tetradic
#CC4FFE #FE744F #81FE4F #4FD9FE
square
#CC4FFE #FE744F #81FE4F #4FD9FE
split-complementary
#CC4FFE #D9FE4F #4FFE74
monochromatic
#9601D1 #BA12FE #CC4FFE #DE8CFE #EFC9FF

Accessibility & contrast

On white

3.43
#CC4FFE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#CC4FFE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4FFE
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4FFE#FFFFFF#000000##000000
##CC4FFE1.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FF
Deuteranopia (green-blind)
#478EFA
Tritanopia (blue-blind)
#C873A1
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #cc4ffe;
/* rgb */ color: rgb(204, 79, 254);
/* oklch */ color: oklch(66.7% 0.257 314.5);
Tailwind
colors: {
  custom: {
    50: '#e08aff',
    500: '#cc4ffe',
    950: '#000000',
  },
}
SCSS
$custom: #cc4ffe;
$custom-light: #e08aff;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4ffe",
  "rgb": {
    "r": 204,
    "g": 79,
    "b": 254
  },
  "hsl": {
    "h": 282.857,
    "s": 98.87,
    "l": 65.294
  },
  "oklch": {
    "l": 0.6674,
    "c": 0.25675,
    "h": 314.5
  },
  "luminance": 0.25585
}

Semantic roles & 50–950 ramp

primary
#CC4FFE
secondary
#C8F2B7
accent
#E60042
background
#FEF8FF
surface
#FCF0FF
border
#D5CBD7
text
#160D18
muted
#847D86

Preview Lab

Preview with #CC4FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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