#CC71DB#CC71DB

#CC71DB is a light, vivid purple. Relative luminance 0.298; OKLCH L 68.9% C 0.176 H 321.8°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#CC71DB
RGBrgb(204, 113, 219)
HSLhsl(292, 60%, 65%)
HSVhsv(292, 48%, 86%)
CMYKcmyk(6.8%, 48.4%, 0%, 14.1%)
CIE-LABlab(61.45, 51.75, -39.45)
CIE-LCHlch(61.45, 65.08, 322.68°)
OKLaboklab(68.91% 0.1384 -0.1089)
OKLCHoklch(68.91% 0.176 321.8)
XYZxyz(43.5917, 29.7639, 70.4529)
Luminance0.2976 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC71DB #80DB71
analogous
#9771DB #CC71DB #DB71B5
triadic
#CC71DB #DBCC71 #71DBCC
tetradic
#CC71DB #DB9771 #80DB71 #71B5DB
square
#CC71DB #DB9771 #80DB71 #71B5DB
split-complementary
#CC71DB #B5DB71 #71DB97
monochromatic
#962AA7 #BA40CF #CC71DB #DEA2E7 #EFD3F4

Accessibility & contrast

On white

3.02
#CC71DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#CC71DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC71DB
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC71DB#FFFFFF#000000##000000
##CC71DB1.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#618EDF
Deuteranopia (green-blind)
#7C98D8
Tritanopia (blue-blind)
#CE7F9C
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #cc71db;
/* rgb */ color: rgb(204, 113, 219);
/* oklch */ color: oklch(68.9% 0.176 321.8);
Tailwind
colors: {
  custom: {
    50: '#de9de6',
    500: '#cc71db',
    950: '#000000',
  },
}
SCSS
$custom: #cc71db;
$custom-light: #de9de6;
$custom-dark: #000000;
JSON
{
  "hex": "#cc71db",
  "rgb": {
    "r": 204,
    "g": 113,
    "b": 219
  },
  "hsl": {
    "h": 291.509,
    "s": 59.551,
    "l": 65.098
  },
  "oklch": {
    "l": 0.68909,
    "c": 0.1761,
    "h": 321.8
  },
  "luminance": 0.29762
}

Semantic roles & 50–950 ramp

primary
#CC71DB
secondary
#C7E6C2
accent
#C71E36
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CC71DB

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

Preview Lab → · Contrast checker → · Palette generator →

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