#CC71EE#CC71EE

#CC71EE is a light, vivid purple. Relative luminance 0.308; OKLCH L 69.9% C 0.195 H 316.1°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#CC71EE
RGBrgb(204, 113, 238)
HSLhsl(284, 79%, 69%)
HSVhsv(284, 53%, 93%)
CMYKcmyk(14.3%, 52.5%, 0%, 6.7%)
CIE-LABlab(62.36, 55.49, -48.61)
CIE-LCHlch(62.36, 73.77, 318.78°)
OKLaboklab(69.88% 0.1406 -0.1354)
OKLCHoklch(69.88% 0.195 316.1)
XYZxyz(46.2373, 30.8221, 84.3860)
Luminance0.3082 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC71EE #93EE71
analogous
#8E71EE #CC71EE #EE71D2
triadic
#CC71EE #EECC71 #71EECC
tetradic
#CC71EE #EE8E71 #93EE71 #71D2EE
square
#CC71EE #EE8E71 #93EE71 #71D2EE
split-complementary
#CC71EE #D2EE71 #71EE8E
monochromatic
#9B18CC #B83AE7 #CC71EE #E0A8F5 #F3DEFB

Accessibility & contrast

On white

2.93
#CC71EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#CC71EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC71EE
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC71EE#FFFFFF#000000##000000
##CC71EE1.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5591F2
Deuteranopia (green-blind)
#7299EB
Tritanopia (blue-blind)
#CA84A5
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cc71ee;
/* rgb */ color: rgb(204, 113, 238);
/* oklch */ color: oklch(69.9% 0.195 316.1);
Tailwind
colors: {
  custom: {
    50: '#de9df4',
    500: '#cc71ee',
    950: '#000000',
  },
}
SCSS
$custom: #cc71ee;
$custom-light: #de9df4;
$custom-dark: #000000;
JSON
{
  "hex": "#cc71ee",
  "rgb": {
    "r": 204,
    "g": 113,
    "b": 238
  },
  "hsl": {
    "h": 283.68,
    "s": 78.616,
    "l": 68.824
  },
  "oklch": {
    "l": 0.69875,
    "c": 0.1952,
    "h": 316.1
  },
  "luminance": 0.30821
}

Semantic roles & 50–950 ramp

primary
#CC71EE
secondary
#D5F0CB
accent
#DB0B43
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150F17
muted
#837E85

Preview Lab

Preview with #CC71EE

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

Preview Lab → · Contrast checker → · Palette generator →

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