#CC71CD#CC71CD

#CC71CD is a light, vivid purple. Relative luminance 0.291; OKLCH L 68.2% C 0.163 H 326.8°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#CC71CD
RGBrgb(204, 113, 205)
HSLhsl(299, 48%, 62%)
HSVhsv(299, 45%, 80%)
CMYKcmyk(0.5%, 44.9%, 0%, 19.6%)
CIE-LABlab(60.83, 49.14, -32.54)
CIE-LCHlch(60.83, 58.93, 326.49°)
OKLaboklab(68.25% 0.1361 -0.0891)
OKLCHoklch(68.25% 0.163 326.8)
XYZxyz(41.8256, 29.0575, 61.1513)
Luminance0.2905 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC71CD #72CD71
analogous
#9E71CD #CC71CD #CD71A0
triadic
#CC71CD #CDCC71 #71CDCC
tetradic
#CC71CD #CD9E71 #72CD71 #71A0CD
square
#CC71CD #CD9E71 #72CD71 #71A0CD
split-complementary
#CC71CD #A0CD71 #71CD9E
monochromatic
#903391 #BC44BD #CC71CD #DC9EDD #EDCCED

Accessibility & contrast

On white

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

On black

6.81
#CC71CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC71CD
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC71CD#FFFFFF#000000##000000
##CC71CD1.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#698BD0
Deuteranopia (green-blind)
#8297CA
Tritanopia (blue-blind)
#D17B95
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #cc71cd;
/* rgb */ color: rgb(204, 113, 205);
/* oklch */ color: oklch(68.2% 0.163 326.8);
Tailwind
colors: {
  custom: {
    50: '#dd9cdc',
    500: '#cc71cd',
    950: '#000000',
  },
}
SCSS
$custom: #cc71cd;
$custom-light: #dd9cdc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc71cd",
  "rgb": {
    "r": 204,
    "g": 113,
    "b": 205
  },
  "hsl": {
    "h": 299.348,
    "s": 47.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.68248,
    "c": 0.16264,
    "h": 326.8
  },
  "luminance": 0.29055
}

Semantic roles & 50–950 ramp

primary
#CC71CD
secondary
#BCDEBC
accent
#BB2A2C
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150E15
muted
#837E83

Preview Lab

Preview with #CC71CD

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

Preview Lab → · Contrast checker → · Palette generator →

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