#CD71D3#CD71D3

#CD71D3 is a light, vivid purple. Relative luminance 0.295; OKLCH L 68.6% C 0.169 H 324.9°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#CD71D3
RGBrgb(205, 113, 211)
HSLhsl(296, 53%, 64%)
HSVhsv(296, 46%, 83%)
CMYKcmyk(2.8%, 46.4%, 0%, 17.3%)
CIE-LABlab(61.22, 50.53, -35.32)
CIE-LCHlch(61.22, 61.65, 325.05°)
OKLaboklab(68.65% 0.1383 -0.097)
OKLCHoklch(68.65% 0.169 324.9)
XYZxyz(42.8388, 29.4946, 65.0519)
Luminance0.2949 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD71D3 #77D371
analogous
#9C71D3 #CD71D3 #D371A8
triadic
#CD71D3 #D3CD71 #71D3CD
tetradic
#CD71D3 #D39C71 #77D371 #71A8D3
square
#CD71D3 #D39C71 #77D371 #71A8D3
split-complementary
#CD71D3 #A8D371 #71D39C
monochromatic
#93309A #BD42C5 #CD71D3 #DDA0E1 #EECEF0

Accessibility & contrast

On white

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

On black

6.90
#CD71D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD71D3
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD71D3#FFFFFF#000000##000000
##CD71D31.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#668DD6
Deuteranopia (green-blind)
#8198D0
Tritanopia (blue-blind)
#D17C98
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #cd71d3;
/* rgb */ color: rgb(205, 113, 211);
/* oklch */ color: oklch(68.6% 0.169 324.9);
Tailwind
colors: {
  custom: {
    50: '#de9de1',
    500: '#cd71d3',
    950: '#000000',
  },
}
SCSS
$custom: #cd71d3;
$custom-light: #de9de1;
$custom-dark: #000000;
JSON
{
  "hex": "#cd71d3",
  "rgb": {
    "r": 205,
    "g": 113,
    "b": 211
  },
  "hsl": {
    "h": 296.327,
    "s": 52.688,
    "l": 63.529
  },
  "oklch": {
    "l": 0.68645,
    "c": 0.16891,
    "h": 324.9
  },
  "luminance": 0.29493
}

Semantic roles & 50–950 ramp

primary
#CD71D3
secondary
#C1E1BF
accent
#C0252F
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150E15
muted
#837E83

Preview Lab

Preview with #CD71D3

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

Preview Lab → · Contrast checker → · Palette generator →

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