#CC71EF#CC71EF

#CC71EF is a light, vivid purple. Relative luminance 0.309; OKLCH L 69.9% C 0.196 H 315.8°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#CC71EF
RGBrgb(204, 113, 239)
HSLhsl(283, 80%, 69%)
HSVhsv(283, 53%, 94%)
CMYKcmyk(14.6%, 52.7%, 0%, 6.3%)
CIE-LABlab(62.41, 55.69, -49.09)
CIE-LCHlch(62.41, 74.24, 318.61°)
OKLaboklab(69.93% 0.1407 -0.1368)
OKLCHoklch(69.93% 0.196 315.8)
XYZxyz(46.3846, 30.8811, 85.1619)
Luminance0.3088 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC71EF #94EF71
analogous
#8D71EF #CC71EF #EF71D3
triadic
#CC71EF #EFCC71 #71EFCC
tetradic
#CC71EF #EF8D71 #94EF71 #71D3EF
square
#CC71EF #EF8D71 #94EF71 #71D3EF
split-complementary
#CC71EF #D3EF71 #71EF8D
monochromatic
#9B17CE #B83AE9 #CC71EF #E0A8F5 #F4DFFB

Accessibility & contrast

On white

2.93
#CC71EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#CC71EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC71EF
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC71EF#FFFFFF#000000##000000
##CC71EF1.002.937.187.18
#FFFFFF2.931.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5491F3
Deuteranopia (green-blind)
#729AEC
Tritanopia (blue-blind)
#CA85A6
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cc71ef;
/* rgb */ color: rgb(204, 113, 239);
/* oklch */ color: oklch(69.9% 0.196 315.8);
Tailwind
colors: {
  custom: {
    50: '#de9df5',
    500: '#cc71ef',
    950: '#000000',
  },
}
SCSS
$custom: #cc71ef;
$custom-light: #de9df5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc71ef",
  "rgb": {
    "r": 204,
    "g": 113,
    "b": 239
  },
  "hsl": {
    "h": 283.333,
    "s": 79.747,
    "l": 69.02
  },
  "oklch": {
    "l": 0.69928,
    "c": 0.19623,
    "h": 315.8
  },
  "luminance": 0.3088
}

Semantic roles & 50–950 ramp

primary
#CC71EF
secondary
#D6F0CB
accent
#DC0944
background
#FDF9FF
surface
#FBF2FE
border
#D4CCD6
text
#150F17
muted
#837E85

Preview Lab

Preview with #CC71EF

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

Preview Lab → · Contrast checker → · Palette generator →

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