#CC71D7#CC71D7

#CC71D7 is a light, vivid purple. Relative luminance 0.296; OKLCH L 68.7% C 0.172 H 323.1°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#CC71D7
RGBrgb(204, 113, 215)
HSLhsl(294, 56%, 64%)
HSVhsv(294, 47%, 84%)
CMYKcmyk(5.1%, 47.4%, 0%, 15.7%)
CIE-LABlab(61.27, 50.99, -37.49)
CIE-LCHlch(61.27, 63.29, 323.68°)
OKLaboklab(68.72% 0.1378 -0.1033)
OKLCHoklch(68.72% 0.172 323.1)
XYZxyz(43.0715, 29.5558, 67.7129)
Luminance0.2955 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC71D7 #7CD771
analogous
#9971D7 #CC71D7 #D771AF
triadic
#CC71D7 #D7CC71 #71D7CC
tetradic
#CC71D7 #D79971 #7CD771 #71AFD7
square
#CC71D7 #D79971 #7CD771 #71AFD7
split-complementary
#CC71D7 #AFD771 #71D799
monochromatic
#942DA0 #BB41CA #CC71D7 #DDA1E4 #EED0F2

Accessibility & contrast

On white

3.04
#CC71D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#CC71D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC71D7
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC71D7#FFFFFF#000000##000000
##CC71D71.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#648DDA
Deuteranopia (green-blind)
#7E98D4
Tritanopia (blue-blind)
#CF7D9A
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #cc71d7;
/* rgb */ color: rgb(204, 113, 215);
/* oklch */ color: oklch(68.7% 0.172 323.1);
Tailwind
colors: {
  custom: {
    50: '#dd9de3',
    500: '#cc71d7',
    950: '#000000',
  },
}
SCSS
$custom: #cc71d7;
$custom-light: #dd9de3;
$custom-dark: #000000;
JSON
{
  "hex": "#cc71d7",
  "rgb": {
    "r": 204,
    "g": 113,
    "b": 215
  },
  "hsl": {
    "h": 293.529,
    "s": 56.044,
    "l": 64.314
  },
  "oklch": {
    "l": 0.68716,
    "c": 0.17219,
    "h": 323.1
  },
  "luminance": 0.29554
}

Semantic roles & 50–950 ramp

primary
#CC71D7
secondary
#C4E4C0
accent
#C42233
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150E15
muted
#837E83

Preview Lab

Preview with #CC71D7

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

Preview Lab → · Contrast checker → · Palette generator →

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