#CD71D9#CD71D9

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

Color values

HEX#CD71D9
RGBrgb(205, 113, 217)
HSLhsl(293, 58%, 65%)
HSVhsv(293, 48%, 85%)
CMYKcmyk(5.5%, 47.9%, 0%, 14.9%)
CIE-LABlab(61.48, 51.65, -38.27)
CIE-LCHlch(61.48, 64.29, 323.46°)
OKLaboklab(68.93% 0.1392 -0.1055)
OKLCHoklch(68.93% 0.175 322.8)
XYZxyz(43.6051, 29.8011, 69.0875)
Luminance0.2980 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD71D9 #7DD971
analogous
#9971D9 #CD71D9 #D971B1
triadic
#CD71D9 #D9CD71 #71D9CD
tetradic
#CD71D9 #D99971 #7DD971 #71B1D9
square
#CD71D9 #D99971 #7DD971 #71B1D9
split-complementary
#CD71D9 #B1D971 #71D999
monochromatic
#962CA4 #BC41CC #CD71D9 #DEA1E6 #EFD2F3

Accessibility & contrast

On white

3.02
#CD71D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#CD71D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD71D9
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD71D9#FFFFFF#000000##000000
##CD71D91.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#638EDD
Deuteranopia (green-blind)
#7E98D6
Tritanopia (blue-blind)
#D07E9B
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #cd71d9;
/* rgb */ color: rgb(205, 113, 217);
/* oklch */ color: oklch(68.9% 0.175 322.8);
Tailwind
colors: {
  custom: {
    50: '#de9de5',
    500: '#cd71d9',
    950: '#000000',
  },
}
SCSS
$custom: #cd71d9;
$custom-light: #de9de5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd71d9",
  "rgb": {
    "r": 205,
    "g": 113,
    "b": 217
  },
  "hsl": {
    "h": 293.077,
    "s": 57.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.6893,
    "c": 0.17469,
    "h": 322.8
  },
  "luminance": 0.29799
}

Semantic roles & 50–950 ramp

primary
#CD71D9
secondary
#C5E5C1
accent
#C52033
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CD71D9

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

Preview Lab → · Contrast checker → · Palette generator →

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