#CC71CB#CC71CB

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

Color values

HEX#CC71CB
RGBrgb(204, 113, 203)
HSLhsl(301, 47%, 62%)
HSVhsv(301, 45%, 80%)
CMYKcmyk(0%, 44.6%, 0.5%, 20%)
CIE-LABlab(60.75, 48.77, -31.54)
CIE-LCHlch(60.75, 58.08, 327.11°)
OKLaboklab(68.16% 0.1357 -0.0862)
OKLCHoklch(68.16% 0.161 327.6)
XYZxyz(41.5857, 28.9615, 59.8880)
Luminance0.2896 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC71CB #71CC72
analogous
#9F71CC #CC71CB #CC719E
triadic
#CC71CB #CBCC71 #71CBCC
tetradic
#CC71CB #CC9F71 #71CC72 #719ECC
square
#CC71CB #CC9F71 #71CC72 #719ECC
split-complementary
#CC71CB #9ECC71 #71CC9F
monochromatic
#8F338E #BC44BB #CC71CB #DC9EDB #ECCBEC

Accessibility & contrast

On white

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

On black

6.79
#CC71CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC71CB
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC71CB#FFFFFF#000000##000000
##CC71CB1.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A8BCE
Deuteranopia (green-blind)
#8397C8
Tritanopia (blue-blind)
#D17A95
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #cc71cb;
/* rgb */ color: rgb(204, 113, 203);
/* oklch */ color: oklch(68.2% 0.161 327.6);
Tailwind
colors: {
  custom: {
    50: '#dd9cdb',
    500: '#cc71cb',
    950: '#000000',
  },
}
SCSS
$custom: #cc71cb;
$custom-light: #dd9cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc71cb",
  "rgb": {
    "r": 204,
    "g": 113,
    "b": 203
  },
  "hsl": {
    "h": 300.659,
    "s": 47.15,
    "l": 62.157
  },
  "oklch": {
    "l": 0.68158,
    "c": 0.16077,
    "h": 327.6
  },
  "luminance": 0.28959
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC71CB

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

Preview Lab → · Contrast checker → · Palette generator →

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