#CC71E8#CC71E8

#CC71E8 is a light, vivid purple. Relative luminance 0.305; OKLCH L 69.6% C 0.189 H 317.8°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#CC71E8
RGBrgb(204, 113, 232)
HSLhsl(286, 72%, 68%)
HSVhsv(286, 51%, 91%)
CMYKcmyk(12.1%, 51.3%, 0%, 9%)
CIE-LABlab(62.06, 54.29, -45.75)
CIE-LCHlch(62.06, 70.99, 319.88°)
OKLaboklab(69.56% 0.14 -0.1271)
OKLCHoklch(69.56% 0.189 317.8)
XYZxyz(45.3704, 30.4754, 79.8207)
Luminance0.3047 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC71E8 #8DE871
analogous
#9071E8 #CC71E8 #E871C9
triadic
#CC71E8 #E8CC71 #71E8CC
tetradic
#CC71E8 #E89071 #8DE871 #71C9E8
square
#CC71E8 #E89071 #8DE871 #71C9E8
split-complementary
#CC71E8 #C9E871 #71E890
monochromatic
#9A1FC0 #B93CDF #CC71E8 #DFA6F1 #F2DAF9

Accessibility & contrast

On white

2.96
#CC71E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#CC71E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC71E8
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC71E8#FFFFFF#000000##000000
##CC71E81.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5990EC
Deuteranopia (green-blind)
#7699E5
Tritanopia (blue-blind)
#CC83A2
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cc71e8;
/* rgb */ color: rgb(204, 113, 232);
/* oklch */ color: oklch(69.6% 0.189 317.8);
Tailwind
colors: {
  custom: {
    50: '#de9df0',
    500: '#cc71e8',
    950: '#000000',
  },
}
SCSS
$custom: #cc71e8;
$custom-light: #de9df0;
$custom-dark: #000000;
JSON
{
  "hex": "#cc71e8",
  "rgb": {
    "r": 204,
    "g": 113,
    "b": 232
  },
  "hsl": {
    "h": 285.882,
    "s": 72.121,
    "l": 67.647
  },
  "oklch": {
    "l": 0.69562,
    "c": 0.1891,
    "h": 317.8
  },
  "luminance": 0.30474
}

Semantic roles & 50–950 ramp

primary
#CC71E8
secondary
#D1EDC8
accent
#D4113F
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CC71E8

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

Preview Lab → · Contrast checker → · Palette generator →

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