#CC71CC#CC71CC

#CC71CC is a light, vivid purple. Relative luminance 0.290; OKLCH L 68.2% C 0.162 H 327.2°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#CC71CC
RGBrgb(204, 113, 204)
HSLhsl(300, 47%, 62%)
HSVhsv(300, 45%, 80%)
CMYKcmyk(0%, 44.6%, 0%, 20%)
CIE-LABlab(60.79, 48.95, -32.04)
CIE-LCHlch(60.79, 58.51, 326.79°)
OKLaboklab(68.2% 0.1359 -0.0877)
OKLCHoklch(68.2% 0.162 327.2)
XYZxyz(41.7053, 29.0094, 60.5176)
Luminance0.2901 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC71CC #71CC71
analogous
#9F71CC #CC71CC #CC719F
triadic
#CC71CC #CCCC71 #71CCCC
tetradic
#CC71CC #CC9F71 #71CC71 #719FCC
square
#CC71CC #CC9F71 #71CC71 #719FCC
split-complementary
#CC71CC #9FCC71 #71CC9F
monochromatic
#8F338F #BC44BC #CC71CC #DC9EDC #ECCBEC

Accessibility & contrast

On white

3.09
#CC71CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#CC71CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC71CC
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC71CC#FFFFFF#000000##000000
##CC71CC1.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#698BCF
Deuteranopia (green-blind)
#8397C9
Tritanopia (blue-blind)
#D17A95
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #cc71cc;
/* rgb */ color: rgb(204, 113, 204);
/* oklch */ color: oklch(68.2% 0.162 327.2);
Tailwind
colors: {
  custom: {
    50: '#dd9cdc',
    500: '#cc71cc',
    950: '#000000',
  },
}
SCSS
$custom: #cc71cc;
$custom-light: #dd9cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc71cc",
  "rgb": {
    "r": 204,
    "g": 113,
    "b": 204
  },
  "hsl": {
    "h": 300,
    "s": 47.15,
    "l": 62.157
  },
  "oklch": {
    "l": 0.68203,
    "c": 0.16171,
    "h": 327.2
  },
  "luminance": 0.29007
}

Semantic roles & 50–950 ramp

primary
#CC71CC
secondary
#BCDDBC
accent
#BA2B2B
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150E15
muted
#837E83

Preview Lab

Preview with #CC71CC

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

Preview Lab → · Contrast checker → · Palette generator →

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