#CC71E2#CC71E2

#CC71E2 is a light, vivid purple. Relative luminance 0.301; OKLCH L 69.3% C 0.183 H 319.6°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#CC71E2
RGBrgb(204, 113, 226)
HSLhsl(288, 66%, 66%)
HSVhsv(288, 50%, 89%)
CMYKcmyk(9.7%, 50%, 0%, 11.4%)
CIE-LABlab(61.78, 53.11, -42.85)
CIE-LCHlch(61.78, 68.24, 321.10°)
OKLaboklab(69.26% 0.1393 -0.1187)
OKLCHoklch(69.26% 0.183 319.6)
XYZxyz(44.5327, 30.1403, 75.4086)
Luminance0.3014 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC71E2 #87E271
analogous
#9471E2 #CC71E2 #E271C0
triadic
#CC71E2 #E2CC71 #71E2CC
tetradic
#CC71E2 #E29471 #87E271 #71C0E2
square
#CC71E2 #E29471 #87E271 #71C0E2
split-complementary
#CC71E2 #C0E271 #71E294
monochromatic
#9825B4 #BA3ED8 #CC71E2 #DEA4EC #F1D7F7

Accessibility & contrast

On white

2.99
#CC71E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#CC71E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC71E2
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC71E2#FFFFFF#000000##000000
##CC71E21.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D8FE6
Deuteranopia (green-blind)
#7998DF
Tritanopia (blue-blind)
#CD819F
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cc71e2;
/* rgb */ color: rgb(204, 113, 226);
/* oklch */ color: oklch(69.3% 0.183 319.6);
Tailwind
colors: {
  custom: {
    50: '#de9deb',
    500: '#cc71e2',
    950: '#000000',
  },
}
SCSS
$custom: #cc71e2;
$custom-light: #de9deb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc71e2",
  "rgb": {
    "r": 204,
    "g": 113,
    "b": 226
  },
  "hsl": {
    "h": 288.319,
    "s": 66.082,
    "l": 66.471
  },
  "oklch": {
    "l": 0.69256,
    "c": 0.18305,
    "h": 319.6
  },
  "luminance": 0.30139
}

Semantic roles & 50–950 ramp

primary
#CC71E2
secondary
#CCEAC5
accent
#CE183B
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CC71E2

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

Preview Lab → · Contrast checker → · Palette generator →

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