#CC71F6#CC71F6

#CC71F6 is a light, highly saturated purple. Relative luminance 0.313; OKLCH L 70.3% C 0.203 H 314.0°. Best body text is #000000 at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#CC71F6
RGBrgb(204, 113, 246)
HSLhsl(281, 88%, 70%)
HSVhsv(281, 54%, 96%)
CMYKcmyk(17.1%, 54.1%, 0%, 3.5%)
CIE-LABlab(62.76, 57.12, -52.39)
CIE-LCHlch(62.76, 77.51, 317.47°)
OKLaboklab(70.3% 0.1412 -0.1464)
OKLCHoklch(70.3% 0.203 314)
XYZxyz(47.4388, 31.3028, 90.7140)
Luminance0.3130 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC71F6 #9BF671
analogous
#8A71F6 #CC71F6 #F671DD
triadic
#CC71F6 #F6CC71 #71F6CC
tetradic
#CC71F6 #F68A71 #9BF671 #71DDF6
square
#CC71F6 #F68A71 #9BF671 #71DDF6
split-complementary
#CC71F6 #DDF671 #71F68A
monochromatic
#9D0EDE #B737F2 #CC71F6 #E1ABFA #F5E2FD

Accessibility & contrast

On white

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

On black

7.26
#CC71F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC71F6
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC71F6#FFFFFF#000000##000000
##CC71F61.002.897.267.26
#FFFFFF2.891.0021.0021.00
#0000007.2621.001.001.00
##0000007.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E93FA
Deuteranopia (green-blind)
#6D9AF3
Tritanopia (blue-blind)
#C887A9
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cc71f6;
/* rgb */ color: rgb(204, 113, 246);
/* oklch */ color: oklch(70.3% 0.203 314.0);
Tailwind
colors: {
  custom: {
    50: '#de9dfa',
    500: '#cc71f6',
    950: '#000000',
  },
}
SCSS
$custom: #cc71f6;
$custom-light: #de9dfa;
$custom-dark: #000000;
JSON
{
  "hex": "#cc71f6",
  "rgb": {
    "r": 204,
    "g": 113,
    "b": 246
  },
  "hsl": {
    "h": 281.053,
    "s": 88.079,
    "l": 70.392
  },
  "oklch": {
    "l": 0.70305,
    "c": 0.20342,
    "h": 314
  },
  "luminance": 0.31301
}

Semantic roles & 50–950 ramp

primary
#CC71F6
secondary
#DBF4CF
accent
#E50149
background
#FDF9FF
surface
#FBF2FF
border
#D4CCD7
text
#150F17
muted
#837E85

Preview Lab

Preview with #CC71F6

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

Preview Lab → · Contrast checker → · Palette generator →

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