#CC71EB#CC71EB

#CC71EB is a light, vivid purple. Relative luminance 0.306; OKLCH L 69.7% C 0.192 H 316.9°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#CC71EB
RGBrgb(204, 113, 235)
HSLhsl(285, 75%, 68%)
HSVhsv(285, 52%, 92%)
CMYKcmyk(13.2%, 51.9%, 0%, 7.8%)
CIE-LABlab(62.21, 54.89, -47.18)
CIE-LCHlch(62.21, 72.38, 319.32°)
OKLaboklab(69.72% 0.1403 -0.1313)
OKLCHoklch(69.72% 0.192 316.9)
XYZxyz(45.8002, 30.6473, 82.0841)
Luminance0.3065 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC71EB #90EB71
analogous
#8F71EB #CC71EB #EB71CD
triadic
#CC71EB #EBCC71 #71EBCC
tetradic
#CC71EB #EB8F71 #90EB71 #71CDEB
square
#CC71EB #EB8F71 #90EB71 #71CDEB
split-complementary
#CC71EB #CDEB71 #71EB8F
monochromatic
#9B1CC6 #B93BE3 #CC71EB #DFA7F3 #F3DCFA

Accessibility & contrast

On white

2.95
#CC71EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#CC71EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC71EB
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC71EB#FFFFFF#000000##000000
##CC71EB1.002.957.137.13
#FFFFFF2.951.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5791EF
Deuteranopia (green-blind)
#7499E8
Tritanopia (blue-blind)
#CB84A4
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cc71eb;
/* rgb */ color: rgb(204, 113, 235);
/* oklch */ color: oklch(69.7% 0.192 316.9);
Tailwind
colors: {
  custom: {
    50: '#de9df2',
    500: '#cc71eb',
    950: '#000000',
  },
}
SCSS
$custom: #cc71eb;
$custom-light: #de9df2;
$custom-dark: #000000;
JSON
{
  "hex": "#cc71eb",
  "rgb": {
    "r": 204,
    "g": 113,
    "b": 235
  },
  "hsl": {
    "h": 284.754,
    "s": 75.309,
    "l": 68.235
  },
  "oklch": {
    "l": 0.69718,
    "c": 0.19214,
    "h": 316.9
  },
  "luminance": 0.30646
}

Semantic roles & 50–950 ramp

primary
#CC71EB
secondary
#D3EEC9
accent
#D70E41
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E17
muted
#837E85

Preview Lab

Preview with #CC71EB

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

Preview Lab → · Contrast checker → · Palette generator →

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