#CC4EF5#CC4EF5

#CC4EF5 is a light, highly saturated purple. Relative luminance 0.249; OKLCH L 66.1% C 0.250 H 316.6°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#CC4EF5
RGBrgb(204, 78, 245)
HSLhsl(285, 89%, 63%)
HSVhsv(285, 68%, 96%)
CMYKcmyk(16.7%, 68.2%, 0%, 3.9%)
CIE-LABlab(56.96, 72.62, -61.10)
CIE-LCHlch(56.96, 94.91, 319.92°)
OKLaboklab(66.08% 0.1817 -0.1717)
OKLCHoklch(66.08% 0.25 316.6)
XYZxyz(44.1052, 24.8805, 88.8476)
Luminance0.2488 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4EF5 #77F54E
analogous
#784EF5 #CC4EF5 #F54ECB
triadic
#CC4EF5 #F5CC4E #4EF5CC
tetradic
#CC4EF5 #F5784E #77F54E #4ECBF5
square
#CC4EF5 #F5784E #77F54E #4ECBF5
split-complementary
#CC4EF5 #CBF54E #4EF578
monochromatic
#920BBE #BB14F2 #CC4EF5 #DD88F8 #EDC2FC

Accessibility & contrast

On white

3.51
#CC4EF5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#CC4EF5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4EF5
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4EF5#FFFFFF#000000##000000
##CC4EF51.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FA
Deuteranopia (green-blind)
#508CF1
Tritanopia (blue-blind)
#CA6F9C
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cc4ef5;
/* rgb */ color: rgb(204, 78, 245);
/* oklch */ color: oklch(66.1% 0.250 316.6);
Tailwind
colors: {
  custom: {
    50: '#e089f9',
    500: '#cc4ef5',
    950: '#000000',
  },
}
SCSS
$custom: #cc4ef5;
$custom-light: #e089f9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4ef5",
  "rgb": {
    "r": 204,
    "g": 78,
    "b": 245
  },
  "hsl": {
    "h": 285.269,
    "s": 89.305,
    "l": 63.333
  },
  "oklch": {
    "l": 0.66077,
    "c": 0.24996,
    "h": 316.6
  },
  "luminance": 0.24879
}

Semantic roles & 50–950 ramp

primary
#CC4EF5
secondary
#C0EDB2
accent
#E60038
background
#FEF8FF
surface
#FCF0FF
border
#D5CBD7
text
#160C17
muted
#847D85

Preview Lab

Preview with #CC4EF5

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

Preview Lab → · Contrast checker → · Palette generator →

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