#CC71C8#CC71C8

#CC71C8 is a light, vivid purple. Relative luminance 0.288; OKLCH L 68.0% C 0.158 H 328.8°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#CC71C8
RGBrgb(204, 113, 200)
HSLhsl(303, 47%, 62%)
HSVhsv(303, 45%, 80%)
CMYKcmyk(0%, 44.6%, 2%, 20%)
CIE-LABlab(60.62, 48.23, -30.04)
CIE-LCHlch(60.62, 56.82, 328.08°)
OKLaboklab(68.02% 0.1351 -0.082)
OKLCHoklch(68.02% 0.158 328.8)
XYZxyz(41.2317, 28.8199, 58.0234)
Luminance0.2882 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC71C8 #71CC75
analogous
#A271CC #CC71C8 #CC719B
triadic
#CC71C8 #C8CC71 #71C8CC
tetradic
#CC71C8 #CCA271 #71CC75 #719BCC
square
#CC71C8 #CCA271 #71CC75 #719BCC
split-complementary
#CC71C8 #9BCC71 #71CCA2
monochromatic
#8F338B #BC44B7 #CC71C8 #DC9ED9 #ECCBEB

Accessibility & contrast

On white

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

On black

6.76
#CC71C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC71C8
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC71C8#FFFFFF#000000##000000
##CC71C81.003.106.766.76
#FFFFFF3.101.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B8BCB
Deuteranopia (green-blind)
#8497C5
Tritanopia (blue-blind)
#D27993
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #cc71c8;
/* rgb */ color: rgb(204, 113, 200);
/* oklch */ color: oklch(68.0% 0.158 328.8);
Tailwind
colors: {
  custom: {
    50: '#dd9cd9',
    500: '#cc71c8',
    950: '#000000',
  },
}
SCSS
$custom: #cc71c8;
$custom-light: #dd9cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc71c8",
  "rgb": {
    "r": 204,
    "g": 113,
    "b": 200
  },
  "hsl": {
    "h": 302.637,
    "s": 47.15,
    "l": 62.157
  },
  "oklch": {
    "l": 0.68023,
    "c": 0.15801,
    "h": 328.8
  },
  "luminance": 0.28818
}

Semantic roles & 50–950 ramp

primary
#CC71C8
secondary
#BCDDBD
accent
#BA312B
background
#FDF9FD
surface
#FBF2FA
border
#D4CCD3
text
#150E14
muted
#837E83

Preview Lab

Preview with #CC71C8

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

Preview Lab → · Contrast checker → · Palette generator →

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