#CC4FD7#CC4FD7

#CC4FD7 is a light, highly saturated purple. Relative luminance 0.233; OKLCH L 64.4% C 0.223 H 324.4°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#CC4FD7
RGBrgb(204, 79, 215)
HSLhsl(295, 63%, 58%)
HSVhsv(295, 63%, 84%)
CMYKcmyk(5.1%, 63.3%, 0%, 15.7%)
CIE-LABlab(55.42, 66.74, -46.70)
CIE-LCHlch(55.42, 81.46, 325.02°)
OKLaboklab(64.43% 0.1812 -0.1297)
OKLCHoklch(64.43% 0.223 324.4)
XYZxyz(39.9625, 23.3380, 66.6766)
Luminance0.2334 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC4FD7 #5AD74F
analogous
#884FD7 #CC4FD7 #D74F9E
triadic
#CC4FD7 #D7CC4F #4FD7CC
tetradic
#CC4FD7 #D7884F #5AD74F #4F9ED7
square
#CC4FD7 #D7884F #5AD74F #4F9ED7
split-complementary
#CC4FD7 #9ED74F #4FD788
monochromatic
#83208C #B22BBE #CC4FD7 #DA81E2 #E9B3EE

Accessibility & contrast

On white

3.71
#CC4FD7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#CC4FD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC4FD7
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC4FD7#FFFFFF#000000##000000
##CC4FD71.003.715.675.67
#FFFFFF3.711.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#357BDB
Deuteranopia (green-blind)
#668AD3
Tritanopia (blue-blind)
#D0638C
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #cc4fd7;
/* rgb */ color: rgb(204, 79, 215);
/* oklch */ color: oklch(64.4% 0.223 324.4);
Tailwind
colors: {
  custom: {
    50: '#df89e4',
    500: '#cc4fd7',
    950: '#000000',
  },
}
SCSS
$custom: #cc4fd7;
$custom-light: #df89e4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc4fd7",
  "rgb": {
    "r": 204,
    "g": 79,
    "b": 215
  },
  "hsl": {
    "h": 295.147,
    "s": 62.963,
    "l": 57.647
  },
  "oklch": {
    "l": 0.64428,
    "c": 0.22279,
    "h": 324.4
  },
  "luminance": 0.23336
}

Semantic roles & 50–950 ramp

primary
#CC4FD7
secondary
#AADCA6
accent
#E6424F
background
#FEF8FE
surface
#FCF0FC
border
#D5CBD5
text
#160C15
muted
#847D84

Preview Lab

Preview with #CC4FD7

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

Preview Lab → · Contrast checker → · Palette generator →

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