#CC71DF#CC71DF

#CC71DF is a light, vivid purple. Relative luminance 0.300; OKLCH L 69.1% C 0.180 H 320.5°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#CC71DF
RGBrgb(204, 113, 223)
HSLhsl(290, 63%, 66%)
HSVhsv(290, 49%, 87%)
CMYKcmyk(8.5%, 49.3%, 0%, 12.5%)
CIE-LABlab(61.63, 52.52, -41.40)
CIE-LCHlch(61.63, 66.88, 321.75°)
OKLaboklab(69.11% 0.1389 -0.1145)
OKLCHoklch(69.11% 0.18 320.5)
XYZxyz(44.1246, 29.9771, 73.2596)
Luminance0.2998 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC71DF #84DF71
analogous
#9571DF #CC71DF #DF71BB
triadic
#CC71DF #DFCC71 #71DFCC
tetradic
#CC71DF #DF9571 #84DF71 #71BBDF
square
#CC71DF #DF9571 #84DF71 #71BBDF
split-complementary
#CC71DF #BBDF71 #71DF95
monochromatic
#9727AE #BA3FD4 #CC71DF #DEA3EA #F0D5F6

Accessibility & contrast

On white

3.00
#CC71DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#CC71DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC71DF
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC71DF#FFFFFF#000000##000000
##CC71DF1.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F8EE3
Deuteranopia (green-blind)
#7A98DC
Tritanopia (blue-blind)
#CD809E
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cc71df;
/* rgb */ color: rgb(204, 113, 223);
/* oklch */ color: oklch(69.1% 0.180 320.5);
Tailwind
colors: {
  custom: {
    50: '#de9de9',
    500: '#cc71df',
    950: '#000000',
  },
}
SCSS
$custom: #cc71df;
$custom-light: #de9de9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc71df",
  "rgb": {
    "r": 204,
    "g": 113,
    "b": 223
  },
  "hsl": {
    "h": 289.636,
    "s": 63.218,
    "l": 65.882
  },
  "oklch": {
    "l": 0.69106,
    "c": 0.18006,
    "h": 320.5
  },
  "luminance": 0.29975
}

Semantic roles & 50–950 ramp

primary
#CC71DF
secondary
#CAE8C4
accent
#CB1B39
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CC71DF

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

Preview Lab → · Contrast checker → · Palette generator →

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