#CD71C4#CD71C4

#CD71C4 is a light, vivid purple. Relative luminance 0.288; OKLCH L 68.0% C 0.155 H 330.8°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#CD71C4
RGBrgb(205, 113, 196)
HSLhsl(306, 48%, 62%)
HSVhsv(306, 45%, 80%)
CMYKcmyk(0%, 44.9%, 4.4%, 19.6%)
CIE-LABlab(60.58, 47.83, -27.82)
CIE-LCHlch(60.58, 55.33, 329.81°)
OKLaboklab(67.97% 0.1354 -0.0757)
OKLCHoklch(67.97% 0.155 330.8)
XYZxyz(41.0454, 28.7772, 55.6064)
Luminance0.2878 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD71C4 #71CD7A
analogous
#A871CD #CD71C4 #CD7196
triadic
#CD71C4 #C4CD71 #71C4CD
tetradic
#CD71C4 #CDA871 #71CD7A #7196CD
square
#CD71C4 #CDA871 #71CD7A #7196CD
split-complementary
#CD71C4 #96CD71 #71CDA8
monochromatic
#913387 #BD44B1 #CD71C4 #DD9ED7 #EDCCEA

Accessibility & contrast

On white

3.11
#CD71C4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#CD71C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD71C4
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD71C4#FFFFFF#000000##000000
##CD71C41.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D8AC7
Deuteranopia (green-blind)
#8797C1
Tritanopia (blue-blind)
#D47891
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #cd71c4;
/* rgb */ color: rgb(205, 113, 196);
/* oklch */ color: oklch(68.0% 0.155 330.8);
Tailwind
colors: {
  custom: {
    50: '#de9cd6',
    500: '#cd71c4',
    950: '#000000',
  },
}
SCSS
$custom: #cd71c4;
$custom-light: #de9cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd71c4",
  "rgb": {
    "r": 205,
    "g": 113,
    "b": 196
  },
  "hsl": {
    "h": 305.87,
    "s": 47.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.67968,
    "c": 0.15511,
    "h": 330.8
  },
  "luminance": 0.28775
}

Semantic roles & 50–950 ramp

primary
#CD71C4
secondary
#BCDEBF
accent
#BB382A
background
#FDF9FD
surface
#FBF2FA
border
#D4CCD3
text
#150E14
muted
#837E83

Preview Lab

Preview with #CD71C4

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

Preview Lab → · Contrast checker → · Palette generator →

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