#CC71F7#CC71F7

#CC71F7 is a light, highly saturated purple. Relative luminance 0.314; OKLCH L 70.4% C 0.204 H 313.7°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#CC71F7
RGBrgb(204, 113, 247)
HSLhsl(281, 89%, 71%)
HSVhsv(281, 54%, 97%)
CMYKcmyk(17.4%, 54.3%, 0%, 3.1%)
CIE-LABlab(62.81, 57.33, -52.86)
CIE-LCHlch(62.81, 77.98, 317.32°)
OKLaboklab(70.36% 0.1413 -0.1478)
OKLCHoklch(70.36% 0.204 313.7)
XYZxyz(47.5927, 31.3643, 91.5245)
Luminance0.3136 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC71F7 #9CF771
analogous
#8971F7 #CC71F7 #F771DF
triadic
#CC71F7 #F7CC71 #71F7CC
tetradic
#CC71F7 #F78971 #9CF771 #71DFF7
square
#CC71F7 #F78971 #9CF771 #71DFF7
split-complementary
#CC71F7 #DFF771 #71F789
monochromatic
#9D0DE1 #B737F4 #CC71F7 #E1ABFA #F5E2FD

Accessibility & contrast

On white

2.89
#CC71F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#CC71F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC71F7
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC71F7#FFFFFF#000000##000000
##CC71F71.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E93FB
Deuteranopia (green-blind)
#6D9AF4
Tritanopia (blue-blind)
#C887AA
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cc71f7;
/* rgb */ color: rgb(204, 113, 247);
/* oklch */ color: oklch(70.4% 0.204 313.7);
Tailwind
colors: {
  custom: {
    50: '#de9dfa',
    500: '#cc71f7',
    950: '#000000',
  },
}
SCSS
$custom: #cc71f7;
$custom-light: #de9dfa;
$custom-dark: #000000;
JSON
{
  "hex": "#cc71f7",
  "rgb": {
    "r": 204,
    "g": 113,
    "b": 247
  },
  "hsl": {
    "h": 280.746,
    "s": 89.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.7036,
    "c": 0.20446,
    "h": 313.7
  },
  "luminance": 0.31363
}

Semantic roles & 50–950 ramp

primary
#CC71F7
secondary
#DBF4D0
accent
#E6004A
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F17
muted
#837E85

Preview Lab

Preview with #CC71F7

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

Preview Lab → · Contrast checker → · Palette generator →

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