#CC4CF7#CC4CF7

#CC4CF7 is a light, highly saturated purple. Relative luminance 0.247; OKLCH L 66.0% C 0.254 H 316.3°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#CC4CF7
RGBrgb(204, 76, 247)
HSLhsl(285, 91%, 63%)
HSVhsv(285, 69%, 97%)
CMYKcmyk(17.4%, 69.2%, 0%, 3.1%)
CIE-LABlab(56.80, 73.77, -62.46)
CIE-LCHlch(56.80, 96.66, 319.75°)
OKLaboklab(66.01% 0.1835 -0.1757)
OKLCHoklch(66.01% 0.254 316.3)
XYZxyz(44.2722, 24.7234, 90.4177)
Luminance0.2472 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4CF7 #77F74C
analogous
#764CF7 #CC4CF7 #F74CCD
triadic
#CC4CF7 #F7CC4C #4CF7CC
tetradic
#CC4CF7 #F7764C #77F74C #4CCDF7
square
#CC4CF7 #F7764C #77F74C #4CCDF7
split-complementary
#CC4CF7 #CDF74C #4CF776
monochromatic
#9209C0 #BB11F4 #CC4CF7 #DD87FA #EDC1FC

Accessibility & contrast

On white

3.53
#CC4CF7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#CC4CF7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4CF7
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4CF7#FFFFFF#000000##000000
##CC4CF71.003.535.945.94
#FFFFFF3.531.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0081FC
Deuteranopia (green-blind)
#4C8CF3
Tritanopia (blue-blind)
#C96E9D
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #cc4cf7;
/* rgb */ color: rgb(204, 76, 247);
/* oklch */ color: oklch(66.0% 0.254 316.3);
Tailwind
colors: {
  custom: {
    50: '#e088fb',
    500: '#cc4cf7',
    950: '#000000',
  },
}
SCSS
$custom: #cc4cf7;
$custom-light: #e088fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4cf7",
  "rgb": {
    "r": 204,
    "g": 76,
    "b": 247
  },
  "hsl": {
    "h": 284.912,
    "s": 91.444,
    "l": 63.333
  },
  "oklch": {
    "l": 0.66005,
    "c": 0.25403,
    "h": 316.3
  },
  "luminance": 0.24722
}

Semantic roles & 50–950 ramp

primary
#CC4CF7
secondary
#C0EEB1
accent
#E6003A
background
#FEF8FF
surface
#FCF0FF
border
#D5CBD7
text
#160C17
muted
#847D85

Preview Lab

Preview with #CC4CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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