#CC71E5#CC71E5

#CC71E5 is a light, vivid purple. Relative luminance 0.303; OKLCH L 69.4% C 0.186 H 318.6°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#CC71E5
RGBrgb(204, 113, 229)
HSLhsl(287, 69%, 67%)
HSVhsv(287, 51%, 90%)
CMYKcmyk(10.9%, 50.7%, 0%, 10.2%)
CIE-LABlab(61.92, 53.70, -44.30)
CIE-LCHlch(61.92, 69.61, 320.47°)
OKLaboklab(69.41% 0.1397 -0.1229)
OKLCHoklch(69.41% 0.186 318.6)
XYZxyz(44.9479, 30.3064, 77.5956)
Luminance0.3030 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC71E5 #8AE571
analogous
#9271E5 #CC71E5 #E571C4
triadic
#CC71E5 #E5CC71 #71E5CC
tetradic
#CC71E5 #E59271 #8AE571 #71C4E5
square
#CC71E5 #E59271 #8AE571 #71C4E5
split-complementary
#CC71E5 #C4E571 #71E592
monochromatic
#9922BA #B93DDC #CC71E5 #DFA5EE #F1D8F8

Accessibility & contrast

On white

2.97
#CC71E5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#CC71E5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC71E5
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC71E5#FFFFFF#000000##000000
##CC71E51.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B8FE9
Deuteranopia (green-blind)
#7799E2
Tritanopia (blue-blind)
#CC82A1
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cc71e5;
/* rgb */ color: rgb(204, 113, 229);
/* oklch */ color: oklch(69.4% 0.186 318.6);
Tailwind
colors: {
  custom: {
    50: '#de9ded',
    500: '#cc71e5',
    950: '#000000',
  },
}
SCSS
$custom: #cc71e5;
$custom-light: #de9ded;
$custom-dark: #000000;
JSON
{
  "hex": "#cc71e5",
  "rgb": {
    "r": 204,
    "g": 113,
    "b": 229
  },
  "hsl": {
    "h": 287.069,
    "s": 69.048,
    "l": 67.059
  },
  "oklch": {
    "l": 0.69408,
    "c": 0.18607,
    "h": 318.6
  },
  "luminance": 0.30305
}

Semantic roles & 50–950 ramp

primary
#CC71E5
secondary
#CEEBC6
accent
#D1143D
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CC71E5

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

Preview Lab → · Contrast checker → · Palette generator →

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