#CC71FC#CC71FC

#CC71FC is a light, highly saturated violet. Relative luminance 0.317; OKLCH L 70.6% C 0.210 H 312.5°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#CC71FC
RGBrgb(204, 113, 252)
HSLhsl(279, 96%, 72%)
HSVhsv(279, 55%, 99%)
CMYKcmyk(19%, 55.2%, 0%, 1.2%)
CIE-LABlab(63.08, 58.36, -55.20)
CIE-LCHlch(63.08, 80.34, 316.59°)
OKLaboklab(70.64% 0.1415 -0.1546)
OKLCHoklch(70.64% 0.21 312.5)
XYZxyz(48.3746, 31.6771, 95.6426)
Luminance0.3168 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC71FC #A1FC71
analogous
#8771FC #CC71FC #FC71E6
triadic
#CC71FC #FCCC71 #71FCCC
tetradic
#CC71FC #FC8771 #A1FC71 #71E6FC
square
#CC71FC #FC8771 #A1FC71 #71E6FC
split-complementary
#CC71FC #E6FC71 #71FC87
monochromatic
#9D05EE #B635FB #CC71FC #E2ADFD #F4E1FE

Accessibility & contrast

On white

2.86
#CC71FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#CC71FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC71FC
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC71FC#FFFFFF#000000##000000
##CC71FC1.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4994FF
Deuteranopia (green-blind)
#699BF9
Tritanopia (blue-blind)
#C789AC
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cc71fc;
/* rgb */ color: rgb(204, 113, 252);
/* oklch */ color: oklch(70.6% 0.210 312.5);
Tailwind
colors: {
  custom: {
    50: '#de9dfe',
    500: '#cc71fc',
    950: '#000000',
  },
}
SCSS
$custom: #cc71fc;
$custom-light: #de9dfe;
$custom-dark: #000000;
JSON
{
  "hex": "#cc71fc",
  "rgb": {
    "r": 204,
    "g": 113,
    "b": 252
  },
  "hsl": {
    "h": 279.281,
    "s": 95.862,
    "l": 71.569
  },
  "oklch": {
    "l": 0.70636,
    "c": 0.20964,
    "h": 312.5
  },
  "luminance": 0.31676
}

Semantic roles & 50–950 ramp

primary
#CC71FC
secondary
#DFF6D3
accent
#E6004F
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#150F18
muted
#847E86

Preview Lab

Preview with #CC71FC

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

Preview Lab → · Contrast checker → · Palette generator →

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