#CC71F0#CC71F0

#CC71F0 is a light, vivid purple. Relative luminance 0.309; OKLCH L 70.0% C 0.197 H 315.5°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#CC71F0
RGBrgb(204, 113, 240)
HSLhsl(283, 81%, 69%)
HSVhsv(283, 53%, 94%)
CMYKcmyk(15%, 52.9%, 0%, 5.9%)
CIE-LABlab(62.46, 55.90, -49.56)
CIE-LCHlch(62.46, 74.70, 318.44°)
OKLaboklab(69.98% 0.1407 -0.1382)
OKLCHoklch(69.98% 0.197 315.5)
XYZxyz(46.5327, 30.9403, 85.9421)
Luminance0.3094 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC71F0 #95F071
analogous
#8D71F0 #CC71F0 #F071D5
triadic
#CC71F0 #F0CC71 #71F0CC
tetradic
#CC71F0 #F08D71 #95F071 #71D5F0
square
#CC71F0 #F08D71 #95F071 #71D5F0
split-complementary
#CC71F0 #D5F071 #71F08D
monochromatic
#9C16D1 #B83AEA #CC71F0 #E0A8F6 #F4E0FC

Accessibility & contrast

On white

2.92
#CC71F0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#CC71F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC71F0
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC71F0#FFFFFF#000000##000000
##CC71F01.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5392F4
Deuteranopia (green-blind)
#719AED
Tritanopia (blue-blind)
#CA85A6
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cc71f0;
/* rgb */ color: rgb(204, 113, 240);
/* oklch */ color: oklch(70.0% 0.197 315.5);
Tailwind
colors: {
  custom: {
    50: '#de9df5',
    500: '#cc71f0',
    950: '#000000',
  },
}
SCSS
$custom: #cc71f0;
$custom-light: #de9df5;
$custom-dark: #000000;
JSON
{
  "hex": "#cc71f0",
  "rgb": {
    "r": 204,
    "g": 113,
    "b": 240
  },
  "hsl": {
    "h": 282.992,
    "s": 80.892,
    "l": 69.216
  },
  "oklch": {
    "l": 0.69982,
    "c": 0.19726,
    "h": 315.5
  },
  "luminance": 0.30939
}

Semantic roles & 50–950 ramp

primary
#CC71F0
secondary
#D6F1CC
accent
#DD0845
background
#FDF9FF
surface
#FBF2FE
border
#D4CCD6
text
#150F17
muted
#837E85

Preview Lab

Preview with #CC71F0

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

Preview Lab → · Contrast checker → · Palette generator →

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