#CC71F8#CC71F8

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

Color values

HEX#CC71F8
RGBrgb(204, 113, 248)
HSLhsl(280, 91%, 71%)
HSVhsv(280, 54%, 97%)
CMYKcmyk(17.7%, 54.4%, 0%, 2.7%)
CIE-LABlab(62.87, 57.53, -53.33)
CIE-LCHlch(62.87, 78.45, 317.17°)
OKLaboklab(70.42% 0.1413 -0.1492)
OKLCHoklch(70.42% 0.205 313.5)
XYZxyz(47.7474, 31.4262, 92.3394)
Luminance0.3142 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC71F8 #9DF871
analogous
#8871F8 #CC71F8 #F871E1
triadic
#CC71F8 #F8CC71 #71F8CC
tetradic
#CC71F8 #F88871 #9DF871 #71E1F8
square
#CC71F8 #F88871 #9DF871 #71E1F8
split-complementary
#CC71F8 #E1F871 #71F888
monochromatic
#9D0BE3 #B737F5 #CC71F8 #E1ABFB #F5E2FE

Accessibility & contrast

On white

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

On black

7.28
#CC71F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC71F8
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC71F8#FFFFFF#000000##000000
##CC71F81.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D93FC
Deuteranopia (green-blind)
#6C9AF5
Tritanopia (blue-blind)
#C888AA
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cc71f8;
/* rgb */ color: rgb(204, 113, 248);
/* oklch */ color: oklch(70.4% 0.205 313.5);
Tailwind
colors: {
  custom: {
    50: '#de9dfb',
    500: '#cc71f8',
    950: '#000000',
  },
}
SCSS
$custom: #cc71f8;
$custom-light: #de9dfb;
$custom-dark: #000000;
JSON
{
  "hex": "#cc71f8",
  "rgb": {
    "r": 204,
    "g": 113,
    "b": 248
  },
  "hsl": {
    "h": 280.444,
    "s": 90.604,
    "l": 70.784
  },
  "oklch": {
    "l": 0.70415,
    "c": 0.20549,
    "h": 313.5
  },
  "luminance": 0.31425
}

Semantic roles & 50–950 ramp

primary
#CC71F8
secondary
#DCF5D0
accent
#E6004B
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F17
muted
#837E85

Preview Lab

Preview with #CC71F8

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

Preview Lab → · Contrast checker → · Palette generator →

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