#CC71F9#CC71F9

#CC71F9 is a light, highly saturated purple. Relative luminance 0.315; OKLCH L 70.5% C 0.207 H 313.2°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#CC71F9
RGBrgb(204, 113, 249)
HSLhsl(280, 92%, 71%)
HSVhsv(280, 55%, 98%)
CMYKcmyk(18.1%, 54.6%, 0%, 2.4%)
CIE-LABlab(62.92, 57.74, -53.80)
CIE-LCHlch(62.92, 78.92, 317.02°)
OKLaboklab(70.47% 0.1414 -0.1505)
OKLCHoklch(70.47% 0.207 313.2)
XYZxyz(47.9029, 31.4884, 93.1586)
Luminance0.3149 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC71F9 #9EF971
analogous
#8871F9 #CC71F9 #F971E2
triadic
#CC71F9 #F9CC71 #71F9CC
tetradic
#CC71F9 #F98871 #9EF971 #71E2F9
square
#CC71F9 #F98871 #9EF971 #71E2F9
split-complementary
#CC71F9 #E2F971 #71F988
monochromatic
#9D0AE6 #B736F7 #CC71F9 #E1ACFB #F4E2FE

Accessibility & contrast

On white

2.88
#CC71F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#CC71F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC71F9
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC71F9#FFFFFF#000000##000000
##CC71F91.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C93FD
Deuteranopia (green-blind)
#6B9AF6
Tritanopia (blue-blind)
#C888AB
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cc71f9;
/* rgb */ color: rgb(204, 113, 249);
/* oklch */ color: oklch(70.5% 0.207 313.2);
Tailwind
colors: {
  custom: {
    50: '#de9dfc',
    500: '#cc71f9',
    950: '#000000',
  },
}
SCSS
$custom: #cc71f9;
$custom-light: #de9dfc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc71f9",
  "rgb": {
    "r": 204,
    "g": 113,
    "b": 249
  },
  "hsl": {
    "h": 280.147,
    "s": 91.892,
    "l": 70.98
  },
  "oklch": {
    "l": 0.7047,
    "c": 0.20653,
    "h": 313.2
  },
  "luminance": 0.31487
}

Semantic roles & 50–950 ramp

primary
#CC71F9
secondary
#DDF5D1
accent
#E6004C
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F17
muted
#837E85

Preview Lab

Preview with #CC71F9

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

Preview Lab → · Contrast checker → · Palette generator →

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