#CD71D0#CD71D0

#CD71D0 is a light, vivid purple. Relative luminance 0.293; OKLCH L 68.5% C 0.166 H 326.0°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#CD71D0
RGBrgb(205, 113, 208)
HSLhsl(298, 50%, 63%)
HSVhsv(298, 46%, 82%)
CMYKcmyk(1.4%, 45.7%, 0%, 18.4%)
CIE-LABlab(61.09, 49.98, -33.83)
CIE-LCHlch(61.09, 60.35, 325.91°)
OKLaboklab(68.51% 0.1378 -0.0928)
OKLCHoklch(68.51% 0.166 326)
XYZxyz(42.4662, 29.3455, 63.0897)
Luminance0.2934 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD71D0 #74D071
analogous
#9D71D0 #CD71D0 #D071A4
triadic
#CD71D0 #D0CD71 #71D0CD
tetradic
#CD71D0 #D09D71 #74D071 #71A4D0
square
#CD71D0 #D09D71 #74D071 #71A4D0
split-complementary
#CD71D0 #A4D071 #71D09D
monochromatic
#923195 #BD43C1 #CD71D0 #DD9FDF #EDCDEE

Accessibility & contrast

On white

3.06
#CD71D0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#CD71D0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD71D0
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD71D0#FFFFFF#000000##000000
##CD71D01.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#688CD3
Deuteranopia (green-blind)
#8298CD
Tritanopia (blue-blind)
#D27B97
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #cd71d0;
/* rgb */ color: rgb(205, 113, 208);
/* oklch */ color: oklch(68.5% 0.166 326.0);
Tailwind
colors: {
  custom: {
    50: '#de9dde',
    500: '#cd71d0',
    950: '#000000',
  },
}
SCSS
$custom: #cd71d0;
$custom-light: #de9dde;
$custom-dark: #000000;
JSON
{
  "hex": "#cd71d0",
  "rgb": {
    "r": 205,
    "g": 113,
    "b": 208
  },
  "hsl": {
    "h": 298.105,
    "s": 50.265,
    "l": 62.941
  },
  "oklch": {
    "l": 0.68505,
    "c": 0.16607,
    "h": 326
  },
  "luminance": 0.29343
}

Semantic roles & 50–950 ramp

primary
#CD71D0
secondary
#BEDFBD
accent
#BE282D
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150E15
muted
#837E83

Preview Lab

Preview with #CD71D0

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

Preview Lab → · Contrast checker → · Palette generator →

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