#CC71F5#CC71F5

#CC71F5 is a light, highly saturated purple. Relative luminance 0.312; OKLCH L 70.3% C 0.202 H 314.2°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#CC71F5
RGBrgb(204, 113, 245)
HSLhsl(281, 87%, 70%)
HSVhsv(281, 54%, 96%)
CMYKcmyk(16.7%, 53.9%, 0%, 3.9%)
CIE-LABlab(62.71, 56.92, -51.92)
CIE-LCHlch(62.71, 77.04, 317.63°)
OKLaboklab(70.25% 0.1411 -0.1451)
OKLCHoklch(70.25% 0.202 314.2)
XYZxyz(47.2857, 31.2415, 89.9078)
Luminance0.3124 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC71F5 #9AF571
analogous
#8A71F5 #CC71F5 #F571DC
triadic
#CC71F5 #F5CC71 #71F5CC
tetradic
#CC71F5 #F58A71 #9AF571 #71DCF5
square
#CC71F5 #F58A71 #9AF571 #71DCF5
split-complementary
#CC71F5 #DCF571 #71F58A
monochromatic
#9D10DC #B738F1 #CC71F5 #E1AAF9 #F5E2FD

Accessibility & contrast

On white

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

On black

7.25
#CC71F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC71F5
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC71F5#FFFFFF#000000##000000
##CC71F51.002.907.257.25
#FFFFFF2.901.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F92F9
Deuteranopia (green-blind)
#6E9AF2
Tritanopia (blue-blind)
#C987A9
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cc71f5;
/* rgb */ color: rgb(204, 113, 245);
/* oklch */ color: oklch(70.3% 0.202 314.2);
Tailwind
colors: {
  custom: {
    50: '#de9df9',
    500: '#cc71f5',
    950: '#000000',
  },
}
SCSS
$custom: #cc71f5;
$custom-light: #de9df9;
$custom-dark: #000000;
JSON
{
  "hex": "#cc71f5",
  "rgb": {
    "r": 204,
    "g": 113,
    "b": 245
  },
  "hsl": {
    "h": 281.364,
    "s": 86.842,
    "l": 70.196
  },
  "oklch": {
    "l": 0.70251,
    "c": 0.20239,
    "h": 314.2
  },
  "luminance": 0.3124
}

Semantic roles & 50–950 ramp

primary
#CC71F5
secondary
#DAF3CF
accent
#E30248
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F17
muted
#837E85

Preview Lab

Preview with #CC71F5

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

Preview Lab → · Contrast checker → · Palette generator →

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