#CC71EC#CC71EC

#CC71EC is a light, vivid purple. Relative luminance 0.307; OKLCH L 69.8% C 0.193 H 316.6°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#CC71EC
RGBrgb(204, 113, 236)
HSLhsl(284, 76%, 68%)
HSVhsv(284, 52%, 93%)
CMYKcmyk(13.6%, 52.1%, 0%, 7.5%)
CIE-LABlab(62.26, 55.09, -47.66)
CIE-LCHlch(62.26, 72.84, 319.14°)
OKLaboklab(69.77% 0.1404 -0.1327)
OKLCHoklch(69.77% 0.193 316.6)
XYZxyz(45.9451, 30.7053, 82.8471)
Luminance0.3070 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC71EC #91EC71
analogous
#8E71EC #CC71EC #EC71CF
triadic
#CC71EC #ECCC71 #71ECCC
tetradic
#CC71EC #EC8E71 #91EC71 #71CFEC
square
#CC71EC #EC8E71 #91EC71 #71CFEC
split-complementary
#CC71EC #CFEC71 #71EC8E
monochromatic
#9B1BC8 #B93BE5 #CC71EC #DFA7F3 #F3DDFA

Accessibility & contrast

On white

2.94
#CC71EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#CC71EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC71EC
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC71EC#FFFFFF#000000##000000
##CC71EC1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5691F0
Deuteranopia (green-blind)
#7399E9
Tritanopia (blue-blind)
#CB84A4
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cc71ec;
/* rgb */ color: rgb(204, 113, 236);
/* oklch */ color: oklch(69.8% 0.193 316.6);
Tailwind
colors: {
  custom: {
    50: '#de9df2',
    500: '#cc71ec',
    950: '#000000',
  },
}
SCSS
$custom: #cc71ec;
$custom-light: #de9df2;
$custom-dark: #000000;
JSON
{
  "hex": "#cc71ec",
  "rgb": {
    "r": 204,
    "g": 113,
    "b": 236
  },
  "hsl": {
    "h": 284.39,
    "s": 76.398,
    "l": 68.431
  },
  "oklch": {
    "l": 0.6977,
    "c": 0.19317,
    "h": 316.6
  },
  "luminance": 0.30704
}

Semantic roles & 50–950 ramp

primary
#CC71EC
secondary
#D4EFCA
accent
#D90D42
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #CC71EC

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

Preview Lab → · Contrast checker → · Palette generator →

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