#CC71E6#CC71E6

#CC71E6 is a light, vivid purple. Relative luminance 0.304; OKLCH L 69.5% C 0.187 H 318.3°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#CC71E6
RGBrgb(204, 113, 230)
HSLhsl(287, 70%, 67%)
HSVhsv(287, 51%, 90%)
CMYKcmyk(11.3%, 50.9%, 0%, 9.8%)
CIE-LABlab(61.97, 53.89, -44.78)
CIE-LCHlch(61.97, 70.07, 320.27°)
OKLaboklab(69.46% 0.1398 -0.1243)
OKLCHoklch(69.46% 0.187 318.3)
XYZxyz(45.0880, 30.3624, 78.3330)
Luminance0.3036 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC71E6 #8BE671
analogous
#9271E6 #CC71E6 #E671C5
triadic
#CC71E6 #E6CC71 #71E6CC
tetradic
#CC71E6 #E69271 #8BE671 #71C5E6
square
#CC71E6 #E69271 #8BE671 #71C5E6
split-complementary
#CC71E6 #C5E671 #71E692
monochromatic
#9921BC #B93DDD #CC71E6 #DFA5EF #F1D9F8

Accessibility & contrast

On white

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

On black

7.07
#CC71E6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC71E6
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC71E6#FFFFFF#000000##000000
##CC71E61.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cc71e6;
/* rgb */ color: rgb(204, 113, 230);
/* oklch */ color: oklch(69.5% 0.187 318.3);
Tailwind
colors: {
  custom: {
    50: '#de9dee',
    500: '#cc71e6',
    950: '#000000',
  },
}
SCSS
$custom: #cc71e6;
$custom-light: #de9dee;
$custom-dark: #000000;
JSON
{
  "hex": "#cc71e6",
  "rgb": {
    "r": 204,
    "g": 113,
    "b": 230
  },
  "hsl": {
    "h": 286.667,
    "s": 70.06,
    "l": 67.255
  },
  "oklch": {
    "l": 0.69459,
    "c": 0.18707,
    "h": 318.3
  },
  "luminance": 0.30361
}

Semantic roles & 50–950 ramp

primary
#CC71E6
secondary
#CFECC7
accent
#D2133E
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CC71E6

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

Preview Lab → · Contrast checker → · Palette generator →

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