#CC4FE1#CC4FE1

#CC4FE1 is a light, highly saturated purple. Relative luminance 0.239; OKLCH L 65.0% C 0.231 H 321.6°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#CC4FE1
RGBrgb(204, 79, 225)
HSLhsl(291, 71%, 60%)
HSVhsv(291, 65%, 88%)
CMYKcmyk(9.3%, 64.9%, 0%, 11.8%)
CIE-LABlab(55.96, 68.52, -51.50)
CIE-LCHlch(55.96, 85.72, 323.07°)
OKLaboklab(64.99% 0.1813 -0.1436)
OKLCHoklch(64.99% 0.231 321.6)
XYZxyz(41.2869, 23.8677, 73.6518)
Luminance0.2387 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4FE1 #64E14F
analogous
#834FE1 #CC4FE1 #E14FAD
triadic
#CC4FE1 #E1CC4F #4FE1CC
tetradic
#CC4FE1 #E1834F #64E14F #4FADE1
square
#CC4FE1 #E1834F #64E14F #4FADE1
split-complementary
#CC4FE1 #ADE14F #4FE183
monochromatic
#891A9B #B723CF #CC4FE1 #DB83EA #EAB8F3

Accessibility & contrast

On white

3.64
#CC4FE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#CC4FE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4FE1
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4FE1#FFFFFF#000000##000000
##CC4FE11.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#277DE5
Deuteranopia (green-blind)
#608BDD
Tritanopia (blue-blind)
#CE6792
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #cc4fe1;
/* rgb */ color: rgb(204, 79, 225);
/* oklch */ color: oklch(65.0% 0.231 321.6);
Tailwind
colors: {
  custom: {
    50: '#df89eb',
    500: '#cc4fe1',
    950: '#000000',
  },
}
SCSS
$custom: #cc4fe1;
$custom-light: #df89eb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4fe1",
  "rgb": {
    "r": 204,
    "g": 79,
    "b": 225
  },
  "hsl": {
    "h": 291.37,
    "s": 70.874,
    "l": 59.608
  },
  "oklch": {
    "l": 0.64988,
    "c": 0.23132,
    "h": 321.6
  },
  "luminance": 0.23866
}

Semantic roles & 50–950 ramp

primary
#CC4FE1
secondary
#B2E2AA
accent
#EE3A54
background
#FEF8FE
surface
#FCF0FD
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #CC4FE1

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

Preview Lab → · Contrast checker → · Palette generator →

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