#CC71FA#CC71FA

#CC71FA is a light, highly saturated violet. Relative luminance 0.316; OKLCH L 70.5% C 0.208 H 313.0°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#CC71FA
RGBrgb(204, 113, 250)
HSLhsl(280, 93%, 71%)
HSVhsv(280, 55%, 98%)
CMYKcmyk(18.4%, 54.8%, 0%, 2%)
CIE-LABlab(62.97, 57.95, -54.27)
CIE-LCHlch(62.97, 79.39, 316.88°)
OKLaboklab(70.53% 0.1414 -0.1519)
OKLCHoklch(70.53% 0.208 313)
XYZxyz(48.0593, 31.5510, 93.9822)
Luminance0.3155 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC71FA #9FFA71
analogous
#8771FA #CC71FA #FA71E3
triadic
#CC71FA #FACC71 #71FACC
tetradic
#CC71FA #FA8771 #9FFA71 #71E3FA
square
#CC71FA #FA8771 #9FFA71 #71E3FA
split-complementary
#CC71FA #E3FA71 #71FA87
monochromatic
#9D08E8 #B736F8 #CC71FA #E1ACFC #F4E1FE

Accessibility & contrast

On white

2.87
#CC71FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#CC71FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC71FA
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC71FA#FFFFFF#000000##000000
##CC71FA1.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B93FE
Deuteranopia (green-blind)
#6B9BF7
Tritanopia (blue-blind)
#C888AB
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cc71fa;
/* rgb */ color: rgb(204, 113, 250);
/* oklch */ color: oklch(70.5% 0.208 313.0);
Tailwind
colors: {
  custom: {
    50: '#de9dfc',
    500: '#cc71fa',
    950: '#000000',
  },
}
SCSS
$custom: #cc71fa;
$custom-light: #de9dfc;
$custom-dark: #000000;
JSON
{
  "hex": "#cc71fa",
  "rgb": {
    "r": 204,
    "g": 113,
    "b": 250
  },
  "hsl": {
    "h": 279.854,
    "s": 93.197,
    "l": 71.176
  },
  "oklch": {
    "l": 0.70525,
    "c": 0.20756,
    "h": 313
  },
  "luminance": 0.3155
}

Semantic roles & 50–950 ramp

primary
#CC71FA
secondary
#DDF5D1
accent
#E6004D
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#150F18
muted
#847E86

Preview Lab

Preview with #CC71FA

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

Preview Lab → · Contrast checker → · Palette generator →

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