#CC71E3#CC71E3

#CC71E3 is a light, vivid purple. Relative luminance 0.302; OKLCH L 69.3% C 0.184 H 319.3°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#CC71E3
RGBrgb(204, 113, 227)
HSLhsl(288, 67%, 67%)
HSVhsv(288, 50%, 89%)
CMYKcmyk(10.1%, 50.2%, 0%, 11%)
CIE-LABlab(61.82, 53.30, -43.34)
CIE-LCHlch(61.82, 68.70, 320.89°)
OKLaboklab(69.31% 0.1394 -0.1201)
OKLCHoklch(69.31% 0.184 319.3)
XYZxyz(44.6703, 30.1954, 76.1334)
Luminance0.3019 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC71E3 #88E371
analogous
#9371E3 #CC71E3 #E371C1
triadic
#CC71E3 #E3CC71 #71E3CC
tetradic
#CC71E3 #E39371 #88E371 #71C1E3
square
#CC71E3 #E39371 #88E371 #71C1E3
split-complementary
#CC71E3 #C1E371 #71E393
monochromatic
#9824B6 #BA3ED9 #CC71E3 #DEA4ED #F1D7F7

Accessibility & contrast

On white

2.98
#CC71E3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#CC71E3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC71E3
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC71E3#FFFFFF#000000##000000
##CC71E31.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D8FE7
Deuteranopia (green-blind)
#7899E0
Tritanopia (blue-blind)
#CD81A0
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cc71e3;
/* rgb */ color: rgb(204, 113, 227);
/* oklch */ color: oklch(69.3% 0.184 319.3);
Tailwind
colors: {
  custom: {
    50: '#de9dec',
    500: '#cc71e3',
    950: '#000000',
  },
}
SCSS
$custom: #cc71e3;
$custom-light: #de9dec;
$custom-dark: #000000;
JSON
{
  "hex": "#cc71e3",
  "rgb": {
    "r": 204,
    "g": 113,
    "b": 227
  },
  "hsl": {
    "h": 287.895,
    "s": 67.059,
    "l": 66.667
  },
  "oklch": {
    "l": 0.69307,
    "c": 0.18405,
    "h": 319.3
  },
  "luminance": 0.30194
}

Semantic roles & 50–950 ramp

primary
#CC71E3
secondary
#CDEAC6
accent
#CF173C
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CC71E3

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

Preview Lab → · Contrast checker → · Palette generator →

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