#CD71D5#CD71D5

#CD71D5 is a light, vivid purple. Relative luminance 0.296; OKLCH L 68.7% C 0.171 H 324.2°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#CD71D5
RGBrgb(205, 113, 213)
HSLhsl(295, 54%, 64%)
HSVhsv(295, 47%, 84%)
CMYKcmyk(3.8%, 46.9%, 0%, 16.5%)
CIE-LABlab(61.30, 50.90, -36.30)
CIE-LCHlch(61.30, 62.52, 324.50°)
OKLaboklab(68.74% 0.1386 -0.0998)
OKLCHoklch(68.74% 0.171 324.2)
XYZxyz(43.0911, 29.5955, 66.3806)
Luminance0.2959 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD71D5 #79D571
analogous
#9B71D5 #CD71D5 #D571AB
triadic
#CD71D5 #D5CD71 #71D5CD
tetradic
#CD71D5 #D59B71 #79D571 #71ABD5
square
#CD71D5 #D59B71 #79D571 #71ABD5
split-complementary
#CD71D5 #ABD571 #71D59B
monochromatic
#942E9D #BC42C7 #CD71D5 #DEA0E3 #EECFF1

Accessibility & contrast

On white

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

On black

6.92
#CD71D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD71D5
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD71D5#FFFFFF#000000##000000
##CD71D51.003.046.926.92
#FFFFFF3.041.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#658DD8
Deuteranopia (green-blind)
#8098D2
Tritanopia (blue-blind)
#D17D99
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #cd71d5;
/* rgb */ color: rgb(205, 113, 213);
/* oklch */ color: oklch(68.7% 0.171 324.2);
Tailwind
colors: {
  custom: {
    50: '#de9de2',
    500: '#cd71d5',
    950: '#000000',
  },
}
SCSS
$custom: #cd71d5;
$custom-light: #de9de2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd71d5",
  "rgb": {
    "r": 205,
    "g": 113,
    "b": 213
  },
  "hsl": {
    "h": 295.2,
    "s": 54.348,
    "l": 63.922
  },
  "oklch": {
    "l": 0.68739,
    "c": 0.17083,
    "h": 324.2
  },
  "luminance": 0.29593
}

Semantic roles & 50–950 ramp

primary
#CD71D5
secondary
#C2E2BF
accent
#C22430
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150E15
muted
#837E83

Preview Lab

Preview with #CD71D5

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

Preview Lab → · Contrast checker → · Palette generator →

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