#CC71DA#CC71DA

#CC71DA is a light, vivid purple. Relative luminance 0.297; OKLCH L 68.9% C 0.175 H 322.1°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#CC71DA
RGBrgb(204, 113, 218)
HSLhsl(292, 59%, 65%)
HSVhsv(292, 48%, 85%)
CMYKcmyk(6.4%, 48.2%, 0%, 14.5%)
CIE-LABlab(61.40, 51.56, -38.96)
CIE-LCHlch(61.40, 64.63, 322.92°)
OKLaboklab(68.86% 0.1382 -0.1075)
OKLCHoklch(68.86% 0.175 322.1)
XYZxyz(43.4605, 29.7114, 69.7617)
Luminance0.2971 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CC71DA #7FDA71
analogous
#9871DA #CC71DA #DA71B4
triadic
#CC71DA #DACC71 #71DACC
tetradic
#CC71DA #DA9871 #7FDA71 #71B4DA
square
#CC71DA #DA9871 #7FDA71 #71B4DA
split-complementary
#CC71DA #B4DA71 #71DA98
monochromatic
#952BA5 #BB40CD #CC71DA #DDA2E7 #EFD2F3

Accessibility & contrast

On white

3.03
#CC71DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#CC71DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CC71DA
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CC71DA#FFFFFF#000000##000000
##CC71DA1.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#628EDE
Deuteranopia (green-blind)
#7D98D7
Tritanopia (blue-blind)
#CE7E9B
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #cc71da;
/* rgb */ color: rgb(204, 113, 218);
/* oklch */ color: oklch(68.9% 0.175 322.1);
Tailwind
colors: {
  custom: {
    50: '#dd9de6',
    500: '#cc71da',
    950: '#000000',
  },
}
SCSS
$custom: #cc71da;
$custom-light: #dd9de6;
$custom-dark: #000000;
JSON
{
  "hex": "#cc71da",
  "rgb": {
    "r": 204,
    "g": 113,
    "b": 218
  },
  "hsl": {
    "h": 292,
    "s": 58.659,
    "l": 64.902
  },
  "oklch": {
    "l": 0.68861,
    "c": 0.17512,
    "h": 322.1
  },
  "luminance": 0.2971
}

Semantic roles & 50–950 ramp

primary
#CC71DA
secondary
#C6E5C1
accent
#C61F35
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CC71DA

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

Preview Lab → · Contrast checker → · Palette generator →

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