#CD71D4#CD71D4

#CD71D4 is a light, vivid purple. Relative luminance 0.295; OKLCH L 68.7% C 0.170 H 324.6°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#CD71D4
RGBrgb(205, 113, 212)
HSLhsl(296, 54%, 64%)
HSVhsv(296, 47%, 83%)
CMYKcmyk(3.3%, 46.7%, 0%, 16.9%)
CIE-LABlab(61.26, 50.72, -35.81)
CIE-LCHlch(61.26, 62.08, 324.77°)
OKLaboklab(68.69% 0.1384 -0.0984)
OKLCHoklch(68.69% 0.17 324.6)
XYZxyz(42.9646, 29.5449, 65.7142)
Luminance0.2954 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD71D4 #78D471
analogous
#9B71D4 #CD71D4 #D471A9
triadic
#CD71D4 #D4CD71 #71D4CD
tetradic
#CD71D4 #D49B71 #78D471 #71A9D4
square
#CD71D4 #D49B71 #78D471 #71A9D4
split-complementary
#CD71D4 #A9D471 #71D49B
monochromatic
#942F9C #BC42C6 #CD71D4 #DEA0E2 #EECFF0

Accessibility & contrast

On white

3.04
#CD71D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#CD71D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD71D4
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD71D4#FFFFFF#000000##000000
##CD71D41.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#668DD7
Deuteranopia (green-blind)
#8098D1
Tritanopia (blue-blind)
#D17C99
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #cd71d4;
/* rgb */ color: rgb(205, 113, 212);
/* oklch */ color: oklch(68.7% 0.170 324.6);
Tailwind
colors: {
  custom: {
    50: '#de9de1',
    500: '#cd71d4',
    950: '#000000',
  },
}
SCSS
$custom: #cd71d4;
$custom-light: #de9de1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd71d4",
  "rgb": {
    "r": 205,
    "g": 113,
    "b": 212
  },
  "hsl": {
    "h": 295.758,
    "s": 53.514,
    "l": 63.725
  },
  "oklch": {
    "l": 0.68692,
    "c": 0.16987,
    "h": 324.6
  },
  "luminance": 0.29543
}

Semantic roles & 50–950 ramp

primary
#CD71D4
secondary
#C1E2BF
accent
#C12530
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150E15
muted
#837E83

Preview Lab

Preview with #CD71D4

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

Preview Lab → · Contrast checker → · Palette generator →

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