#CC71FE#CC71FE

#CC71FE is a light, highly saturated violet. Relative luminance 0.318; OKLCH L 70.7% C 0.212 H 312.0°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#CC71FE
RGBrgb(204, 113, 254)
HSLhsl(279, 99%, 72%)
HSVhsv(279, 56%, 100%)
CMYKcmyk(19.7%, 55.5%, 0%, 0.4%)
CIE-LABlab(63.18, 58.78, -56.14)
CIE-LCHlch(63.18, 81.28, 316.32°)
OKLaboklab(70.75% 0.1416 -0.1573)
OKLCHoklch(70.75% 0.212 312)
XYZxyz(48.6932, 31.8045, 97.3205)
Luminance0.3180 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC71FE #A3FE71
analogous
#8671FE #CC71FE #FE71EA
triadic
#CC71FE #FECC71 #71FECC
tetradic
#CC71FE #FE8671 #A3FE71 #71EAFE
square
#CC71FE #FE8671 #A3FE71 #71EAFE
split-complementary
#CC71FE #EAFE71 #71FE86
monochromatic
#9D02F3 #B634FE #CC71FE #E2AEFE #F4E1FF

Accessibility & contrast

On white

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

On black

7.36
#CC71FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC71FE
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC71FE#FFFFFF#000000##000000
##CC71FE1.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4794FF
Deuteranopia (green-blind)
#689BFA
Tritanopia (blue-blind)
#C78AAD
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cc71fe;
/* rgb */ color: rgb(204, 113, 254);
/* oklch */ color: oklch(70.7% 0.212 312.0);
Tailwind
colors: {
  custom: {
    50: '#df9dff',
    500: '#cc71fe',
    950: '#000000',
  },
}
SCSS
$custom: #cc71fe;
$custom-light: #df9dff;
$custom-dark: #000000;
JSON
{
  "hex": "#cc71fe",
  "rgb": {
    "r": 204,
    "g": 113,
    "b": 254
  },
  "hsl": {
    "h": 278.723,
    "s": 98.601,
    "l": 71.961
  },
  "oklch": {
    "l": 0.70748,
    "c": 0.2117,
    "h": 312
  },
  "luminance": 0.31803
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CC71FE

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

Preview Lab → · Contrast checker → · Palette generator →

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