#CC71FF#CC71FF

#CC71FF is a light, highly saturated violet. Relative luminance 0.319; OKLCH L 70.8% C 0.213 H 311.8°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#CC71FF
RGBrgb(204, 113, 255)
HSLhsl(278, 100%, 72%)
HSVhsv(278, 56%, 100%)
CMYKcmyk(20%, 55.7%, 0%, 0%)
CIE-LABlab(63.23, 58.99, -56.60)
CIE-LCHlch(63.23, 81.75, 316.19°)
OKLaboklab(70.8% 0.1417 -0.1587)
OKLCHoklch(70.8% 0.213 311.8)
XYZxyz(48.8537, 31.8687, 98.1661)
Luminance0.3187 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC71FF #A4FF71
analogous
#8571FF #CC71FF #FF71EB
triadic
#CC71FF #FFCC71 #71FFCC
tetradic
#CC71FF #FF8571 #A4FF71 #71EBFF
square
#CC71FF #FF8571 #A4FF71 #71EBFF
split-complementary
#CC71FF #EBFF71 #71FF85
monochromatic
#9D00F6 #B634FF #CC71FF #E2AEFF #F4E0FF

Accessibility & contrast

On white

2.85
#CC71FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#CC71FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC71FF
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC71FF#FFFFFF#000000##000000
##CC71FF1.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4694FF
Deuteranopia (green-blind)
#679BFB
Tritanopia (blue-blind)
#C68AAE
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cc71ff;
/* rgb */ color: rgb(204, 113, 255);
/* oklch */ color: oklch(70.8% 0.213 311.8);
Tailwind
colors: {
  custom: {
    50: '#df9dff',
    500: '#cc71ff',
    950: '#000000',
  },
}
SCSS
$custom: #cc71ff;
$custom-light: #df9dff;
$custom-dark: #000000;
JSON
{
  "hex": "#cc71ff",
  "rgb": {
    "r": 204,
    "g": 113,
    "b": 255
  },
  "hsl": {
    "h": 278.451,
    "s": 100,
    "l": 72.157
  },
  "oklch": {
    "l": 0.70804,
    "c": 0.21274,
    "h": 311.8
  },
  "luminance": 0.31868
}

Semantic roles & 50–950 ramp

primary
#CC71FF
secondary
#E0F7D4
accent
#E60052
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#150F18
muted
#847E86

Preview Lab

Preview with #CC71FF

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

Preview Lab → · Contrast checker → · Palette generator →

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