#CC71CA#CC71CA

#CC71CA is a light, vivid purple. Relative luminance 0.289; OKLCH L 68.1% C 0.160 H 327.9°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#CC71CA
RGBrgb(204, 113, 202)
HSLhsl(301, 47%, 62%)
HSVhsv(301, 45%, 80%)
CMYKcmyk(0%, 44.6%, 1%, 20%)
CIE-LABlab(60.71, 48.59, -31.04)
CIE-LCHlch(60.71, 57.66, 327.43°)
OKLaboklab(68.11% 0.1355 -0.0848)
OKLCHoklch(68.11% 0.16 327.9)
XYZxyz(41.4670, 28.9140, 59.2624)
Luminance0.2891 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC71CA #71CC73
analogous
#A171CC #CC71CA #CC719C
triadic
#CC71CA #CACC71 #71CACC
tetradic
#CC71CA #CCA171 #71CC73 #719CCC
square
#CC71CA #CCA171 #71CC73 #719CCC
split-complementary
#CC71CA #9CCC71 #71CCA1
monochromatic
#8F338D #BC44B9 #CC71CA #DC9EDB #ECCBEC

Accessibility & contrast

On white

3.10
#CC71CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#CC71CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC71CA
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC71CA#FFFFFF#000000##000000
##CC71CA1.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A8BCD
Deuteranopia (green-blind)
#8497C7
Tritanopia (blue-blind)
#D17A94
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #cc71ca;
/* rgb */ color: rgb(204, 113, 202);
/* oklch */ color: oklch(68.1% 0.160 327.9);
Tailwind
colors: {
  custom: {
    50: '#dd9cda',
    500: '#cc71ca',
    950: '#000000',
  },
}
SCSS
$custom: #cc71ca;
$custom-light: #dd9cda;
$custom-dark: #000000;
JSON
{
  "hex": "#cc71ca",
  "rgb": {
    "r": 204,
    "g": 113,
    "b": 202
  },
  "hsl": {
    "h": 301.319,
    "s": 47.15,
    "l": 62.157
  },
  "oklch": {
    "l": 0.68113,
    "c": 0.15986,
    "h": 327.9
  },
  "luminance": 0.28912
}

Semantic roles & 50–950 ramp

primary
#CC71CA
secondary
#BCDDBC
accent
#BA2E2B
background
#FDF9FD
surface
#FBF2FA
border
#D4CCD3
text
#150E15
muted
#837E83

Preview Lab

Preview with #CC71CA

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

Preview Lab → · Contrast checker → · Palette generator →

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