#CC71FB#CC71FB

#CC71FB is a light, highly saturated violet. Relative luminance 0.316; OKLCH L 70.6% C 0.209 H 312.7°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#CC71FB
RGBrgb(204, 113, 251)
HSLhsl(280, 95%, 71%)
HSVhsv(280, 55%, 98%)
CMYKcmyk(18.7%, 55%, 0%, 1.6%)
CIE-LABlab(63.02, 58.16, -54.74)
CIE-LCHlch(63.02, 79.86, 316.73°)
OKLaboklab(70.58% 0.1415 -0.1533)
OKLCHoklch(70.58% 0.209 312.7)
XYZxyz(48.2165, 31.6139, 94.8102)
Luminance0.3161 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC71FB #A0FB71
analogous
#8771FB #CC71FB #FB71E5
triadic
#CC71FB #FBCC71 #71FBCC
tetradic
#CC71FB #FB8771 #A0FB71 #71E5FB
square
#CC71FB #FB8771 #A0FB71 #71E5FB
split-complementary
#CC71FB #E5FB71 #71FB87
monochromatic
#9D07EB #B735F9 #CC71FB #E1ADFD #F4E1FE

Accessibility & contrast

On white

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

On black

7.32
#CC71FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CC71FB
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC71FB#FFFFFF#000000##000000
##CC71FB1.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A94FF
Deuteranopia (green-blind)
#6A9BF8
Tritanopia (blue-blind)
#C789AC
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cc71fb;
/* rgb */ color: rgb(204, 113, 251);
/* oklch */ color: oklch(70.6% 0.209 312.7);
Tailwind
colors: {
  custom: {
    50: '#de9dfd',
    500: '#cc71fb',
    950: '#000000',
  },
}
SCSS
$custom: #cc71fb;
$custom-light: #de9dfd;
$custom-dark: #000000;
JSON
{
  "hex": "#cc71fb",
  "rgb": {
    "r": 204,
    "g": 113,
    "b": 251
  },
  "hsl": {
    "h": 279.565,
    "s": 94.521,
    "l": 71.373
  },
  "oklch": {
    "l": 0.7058,
    "c": 0.20859,
    "h": 312.7
  },
  "luminance": 0.31613
}

Semantic roles & 50–950 ramp

primary
#CC71FB
secondary
#DEF6D2
accent
#E6004E
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#150F18
muted
#847E86

Preview Lab

Preview with #CC71FB

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

Preview Lab → · Contrast checker → · Palette generator →

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