#CD71D7#CD71D7

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

Color values

HEX#CD71D7
RGBrgb(205, 113, 215)
HSLhsl(294, 56%, 64%)
HSVhsv(294, 47%, 84%)
CMYKcmyk(4.7%, 47.4%, 0%, 15.7%)
CIE-LABlab(61.39, 51.28, -37.29)
CIE-LCHlch(61.39, 63.40, 323.98°)
OKLaboklab(68.83% 0.1389 -0.1027)
OKLCHoklch(68.83% 0.173 323.5)
XYZxyz(43.3465, 29.6976, 67.7258)
Luminance0.2970 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD71D7 #7BD771
analogous
#9A71D7 #CD71D7 #D771AE
triadic
#CD71D7 #D7CD71 #71D7CD
tetradic
#CD71D7 #D79A71 #7BD771 #71AED7
square
#CD71D7 #D79A71 #7BD771 #71AED7
split-complementary
#CD71D7 #AED771 #71D79A
monochromatic
#952DA0 #BC41CA #CD71D7 #DEA1E4 #EFD0F2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD71D7#FFFFFF#000000##000000
##CD71D71.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)
#648DDA
Deuteranopia (green-blind)
#7F98D4
Tritanopia (blue-blind)
#D07D9A
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #cd71d7;
/* rgb */ color: rgb(205, 113, 215);
/* oklch */ color: oklch(68.8% 0.173 323.5);
Tailwind
colors: {
  custom: {
    50: '#de9de3',
    500: '#cd71d7',
    950: '#000000',
  },
}
SCSS
$custom: #cd71d7;
$custom-light: #de9de3;
$custom-dark: #000000;
JSON
{
  "hex": "#cd71d7",
  "rgb": {
    "r": 205,
    "g": 113,
    "b": 215
  },
  "hsl": {
    "h": 294.118,
    "s": 56.044,
    "l": 64.314
  },
  "oklch": {
    "l": 0.68834,
    "c": 0.17276,
    "h": 323.5
  },
  "luminance": 0.29696
}

Semantic roles & 50–950 ramp

primary
#CD71D7
secondary
#C4E4C0
accent
#C42232
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150E15
muted
#837E83

Preview Lab

Preview with #CD71D7

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

Preview Lab → · Contrast checker → · Palette generator →

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