#CC71F4#CC71F4

#CC71F4 is a light, highly saturated purple. Relative luminance 0.312; OKLCH L 70.2% C 0.201 H 314.5°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#CC71F4
RGBrgb(204, 113, 244)
HSLhsl(282, 86%, 70%)
HSVhsv(282, 54%, 96%)
CMYKcmyk(16.4%, 53.7%, 0%, 4.3%)
CIE-LABlab(62.66, 56.71, -51.45)
CIE-LCHlch(62.66, 76.57, 317.78°)
OKLaboklab(70.2% 0.1411 -0.1437)
OKLCHoklch(70.2% 0.201 314.5)
XYZxyz(47.1335, 31.1806, 89.1060)
Luminance0.3118 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC71F4 #99F471
analogous
#8A71F4 #CC71F4 #F471DB
triadic
#CC71F4 #F4CC71 #71F4CC
tetradic
#CC71F4 #F48A71 #99F471 #71DBF4
square
#CC71F4 #F48A71 #99F471 #71DBF4
split-complementary
#CC71F4 #DBF471 #71F48A
monochromatic
#9C11DA #B838F0 #CC71F4 #E0AAF8 #F5E3FD

Accessibility & contrast

On white

2.90
#CC71F4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#CC71F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC71F4
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC71F4#FFFFFF#000000##000000
##CC71F41.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5092F8
Deuteranopia (green-blind)
#6F9AF1
Tritanopia (blue-blind)
#C986A8
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cc71f4;
/* rgb */ color: rgb(204, 113, 244);
/* oklch */ color: oklch(70.2% 0.201 314.5);
Tailwind
colors: {
  custom: {
    50: '#de9df8',
    500: '#cc71f4',
    950: '#000000',
  },
}
SCSS
$custom: #cc71f4;
$custom-light: #de9df8;
$custom-dark: #000000;
JSON
{
  "hex": "#cc71f4",
  "rgb": {
    "r": 204,
    "g": 113,
    "b": 244
  },
  "hsl": {
    "h": 281.679,
    "s": 85.621,
    "l": 70
  },
  "oklch": {
    "l": 0.70196,
    "c": 0.20136,
    "h": 314.5
  },
  "luminance": 0.31179
}

Semantic roles & 50–950 ramp

primary
#CC71F4
secondary
#D9F3CE
accent
#E20347
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F17
muted
#837E85

Preview Lab

Preview with #CC71F4

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

Preview Lab → · Contrast checker → · Palette generator →

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