#CC71DC#CC71DC

#CC71DC is a light, vivid purple. Relative luminance 0.298; OKLCH L 69.0% C 0.177 H 321.5°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#CC71DC
RGBrgb(204, 113, 220)
HSLhsl(291, 60%, 65%)
HSVhsv(291, 49%, 86%)
CMYKcmyk(7.3%, 48.6%, 0%, 13.7%)
CIE-LABlab(61.50, 51.94, -39.94)
CIE-LCHlch(61.50, 65.52, 322.44°)
OKLaboklab(68.96% 0.1385 -0.1103)
OKLCHoklch(68.96% 0.177 321.5)
XYZxyz(43.7238, 29.8168, 71.1483)
Luminance0.2982 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC71DC #81DC71
analogous
#9671DC #CC71DC #DC71B6
triadic
#CC71DC #DCCC71 #71DCCC
tetradic
#CC71DC #DC9671 #81DC71 #71B6DC
square
#CC71DC #DC9671 #81DC71 #71B6DC
split-complementary
#CC71DC #B6DC71 #71DC96
monochromatic
#962AA9 #BA40D0 #CC71DC #DEA2E8 #EFD3F4

Accessibility & contrast

On white

3.02
#CC71DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#CC71DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC71DC
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC71DC#FFFFFF#000000##000000
##CC71DC1.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#618EE0
Deuteranopia (green-blind)
#7C98D9
Tritanopia (blue-blind)
#CE7F9C
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #cc71dc;
/* rgb */ color: rgb(204, 113, 220);
/* oklch */ color: oklch(69.0% 0.177 321.5);
Tailwind
colors: {
  custom: {
    50: '#de9de7',
    500: '#cc71dc',
    950: '#000000',
  },
}
SCSS
$custom: #cc71dc;
$custom-light: #de9de7;
$custom-dark: #000000;
JSON
{
  "hex": "#cc71dc",
  "rgb": {
    "r": 204,
    "g": 113,
    "b": 220
  },
  "hsl": {
    "h": 291.028,
    "s": 60.452,
    "l": 65.294
  },
  "oklch": {
    "l": 0.68958,
    "c": 0.17709,
    "h": 321.5
  },
  "luminance": 0.29815
}

Semantic roles & 50–950 ramp

primary
#CC71DC
secondary
#C8E6C2
accent
#C81D37
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CC71DC

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

Preview Lab → · Contrast checker → · Palette generator →

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