#CC71C0#CC71C0

#CC71C0 is a light, vivid purple. Relative luminance 0.285; OKLCH L 67.7% C 0.151 H 332.1°. Best body text is #000000 at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#CC71C0
RGBrgb(204, 113, 192)
HSLhsl(308, 47%, 62%)
HSVhsv(308, 45%, 80%)
CMYKcmyk(0%, 44.6%, 5.9%, 20%)
CIE-LABlab(60.30, 46.82, -26.00)
CIE-LCHlch(60.30, 53.56, 330.95°)
OKLaboklab(67.68% 0.1334 -0.0705)
OKLCHoklch(67.68% 0.151 332.1)
XYZxyz(40.3211, 28.4557, 53.2276)
Luminance0.2845 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC71C0 #71CC7D
analogous
#AB71CC #CC71C0 #CC7193
triadic
#CC71C0 #C0CC71 #71C0CC
tetradic
#CC71C0 #CCAB71 #71CC7D #7193CC
square
#CC71C0 #CCAB71 #71CC7D #7193CC
split-complementary
#CC71C0 #93CC71 #71CCAB
monochromatic
#8F3383 #BC44AC #CC71C0 #DC9ED4 #ECCBE8

Accessibility & contrast

On white

3.14
#CC71C0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.69
#CC71C0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC71C0
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC71C0#FFFFFF#000000##000000
##CC71C01.003.146.696.69
#FFFFFF3.141.0021.0021.00
#0000006.6921.001.001.00
##0000006.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F89C3
Deuteranopia (green-blind)
#8796BD
Tritanopia (blue-blind)
#D37790
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #cc71c0;
/* rgb */ color: rgb(204, 113, 192);
/* oklch */ color: oklch(67.7% 0.151 332.1);
Tailwind
colors: {
  custom: {
    50: '#dd9cd3',
    500: '#cc71c0',
    950: '#000000',
  },
}
SCSS
$custom: #cc71c0;
$custom-light: #dd9cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#cc71c0",
  "rgb": {
    "r": 204,
    "g": 113,
    "b": 192
  },
  "hsl": {
    "h": 307.912,
    "s": 47.15,
    "l": 62.157
  },
  "oklch": {
    "l": 0.67675,
    "c": 0.15088,
    "h": 332.1
  },
  "luminance": 0.28453
}

Semantic roles & 50–950 ramp

primary
#CC71C0
secondary
#BCDDC0
accent
#BA3E2B
background
#FDF9FC
surface
#FBF2F9
border
#D4CCD2
text
#150E14
muted
#837E82

Preview Lab

Preview with #CC71C0

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

Preview Lab → · Contrast checker → · Palette generator →

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