#CC71E4#CC71E4

#CC71E4 is a light, vivid purple. Relative luminance 0.302; OKLCH L 69.4% C 0.185 H 318.9°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#CC71E4
RGBrgb(204, 113, 228)
HSLhsl(287, 68%, 67%)
HSVhsv(287, 50%, 89%)
CMYKcmyk(10.5%, 50.4%, 0%, 10.6%)
CIE-LABlab(61.87, 53.50, -43.82)
CIE-LCHlch(61.87, 69.15, 320.68°)
OKLaboklab(69.36% 0.1396 -0.1215)
OKLCHoklch(69.36% 0.185 318.9)
XYZxyz(44.8087, 30.2507, 76.8624)
Luminance0.3025 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC71E4 #89E471
analogous
#9371E4 #CC71E4 #E471C3
triadic
#CC71E4 #E4CC71 #71E4CC
tetradic
#CC71E4 #E49371 #89E471 #71C3E4
square
#CC71E4 #E49371 #89E471 #71C3E4
split-complementary
#CC71E4 #C3E471 #71E493
monochromatic
#9923B8 #BA3EDA #CC71E4 #DEA4EE #F1D8F8

Accessibility & contrast

On white

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

On black

7.05
#CC71E4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC71E4
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC71E4#FFFFFF#000000##000000
##CC71E41.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C8FE8
Deuteranopia (green-blind)
#7899E1
Tritanopia (blue-blind)
#CC81A0
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cc71e4;
/* rgb */ color: rgb(204, 113, 228);
/* oklch */ color: oklch(69.4% 0.185 318.9);
Tailwind
colors: {
  custom: {
    50: '#de9ded',
    500: '#cc71e4',
    950: '#000000',
  },
}
SCSS
$custom: #cc71e4;
$custom-light: #de9ded;
$custom-dark: #000000;
JSON
{
  "hex": "#cc71e4",
  "rgb": {
    "r": 204,
    "g": 113,
    "b": 228
  },
  "hsl": {
    "h": 287.478,
    "s": 68.047,
    "l": 66.863
  },
  "oklch": {
    "l": 0.69357,
    "c": 0.18506,
    "h": 318.9
  },
  "luminance": 0.30249
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC71E4

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

Preview Lab → · Contrast checker → · Palette generator →

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