#CC71CE#CC71CE

#CC71CE is a light, vivid purple. Relative luminance 0.291; OKLCH L 68.3% C 0.164 H 326.4°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#CC71CE
RGBrgb(204, 113, 206)
HSLhsl(299, 49%, 63%)
HSVhsv(299, 45%, 81%)
CMYKcmyk(1%, 45.1%, 0%, 19.2%)
CIE-LABlab(60.88, 49.32, -33.04)
CIE-LCHlch(60.88, 59.36, 326.18°)
OKLaboklab(68.29% 0.1363 -0.0905)
OKLCHoklch(68.29% 0.164 326.4)
XYZxyz(41.9467, 29.1059, 61.7891)
Luminance0.2910 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC71CE #73CE71
analogous
#9E71CE #CC71CE #CE71A1
triadic
#CC71CE #CECC71 #71CECC
tetradic
#CC71CE #CE9E71 #73CE71 #71A1CE
square
#CC71CE #CE9E71 #73CE71 #71A1CE
split-complementary
#CC71CE #A1CE71 #71CE9E
monochromatic
#903292 #BC44BE #CC71CE #DC9EDE #EDCCED

Accessibility & contrast

On white

3.08
#CC71CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#CC71CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC71CE
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC71CE#FFFFFF#000000##000000
##CC71CE1.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#688CD1
Deuteranopia (green-blind)
#8297CB
Tritanopia (blue-blind)
#D17B96
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #cc71ce;
/* rgb */ color: rgb(204, 113, 206);
/* oklch */ color: oklch(68.3% 0.164 326.4);
Tailwind
colors: {
  custom: {
    50: '#dd9cdd',
    500: '#cc71ce',
    950: '#000000',
  },
}
SCSS
$custom: #cc71ce;
$custom-light: #dd9cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc71ce",
  "rgb": {
    "r": 204,
    "g": 113,
    "b": 206
  },
  "hsl": {
    "h": 298.71,
    "s": 48.691,
    "l": 62.549
  },
  "oklch": {
    "l": 0.68294,
    "c": 0.16358,
    "h": 326.4
  },
  "luminance": 0.29104
}

Semantic roles & 50–950 ramp

primary
#CC71CE
secondary
#BDDEBC
accent
#BC2A2D
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150E15
muted
#837E83

Preview Lab

Preview with #CC71CE

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

Preview Lab → · Contrast checker → · Palette generator →

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