#CD71D2#CD71D2

#CD71D2 is a light, vivid purple. Relative luminance 0.294; OKLCH L 68.6% C 0.168 H 325.3°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#CD71D2
RGBrgb(205, 113, 210)
HSLhsl(297, 52%, 63%)
HSVhsv(297, 46%, 82%)
CMYKcmyk(2.4%, 46.2%, 0%, 17.6%)
CIE-LABlab(61.17, 50.35, -34.82)
CIE-LCHlch(61.17, 61.21, 325.33°)
OKLaboklab(68.6% 0.1381 -0.0956)
OKLCHoklch(68.6% 0.168 325.3)
XYZxyz(42.7138, 29.4446, 64.3937)
Luminance0.2944 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD71D2 #76D271
analogous
#9C71D2 #CD71D2 #D271A6
triadic
#CD71D2 #D2CD71 #71D2CD
tetradic
#CD71D2 #D29C71 #76D271 #71A6D2
square
#CD71D2 #D29C71 #76D271 #71A6D2
split-complementary
#CD71D2 #A6D271 #71D29C
monochromatic
#933098 #BD43C3 #CD71D2 #DD9FE1 #EECEEF

Accessibility & contrast

On white

3.05
#CD71D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#CD71D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD71D2
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD71D2#FFFFFF#000000##000000
##CD71D21.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#678CD5
Deuteranopia (green-blind)
#8198CF
Tritanopia (blue-blind)
#D17C98
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #cd71d2;
/* rgb */ color: rgb(205, 113, 210);
/* oklch */ color: oklch(68.6% 0.168 325.3);
Tailwind
colors: {
  custom: {
    50: '#de9de0',
    500: '#cd71d2',
    950: '#000000',
  },
}
SCSS
$custom: #cd71d2;
$custom-light: #de9de0;
$custom-dark: #000000;
JSON
{
  "hex": "#cd71d2",
  "rgb": {
    "r": 205,
    "g": 113,
    "b": 210
  },
  "hsl": {
    "h": 296.907,
    "s": 51.872,
    "l": 63.333
  },
  "oklch": {
    "l": 0.68598,
    "c": 0.16796,
    "h": 325.3
  },
  "luminance": 0.29443
}

Semantic roles & 50–950 ramp

primary
#CD71D2
secondary
#C0E1BE
accent
#BF262E
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150E15
muted
#837E83

Preview Lab

Preview with #CD71D2

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

Preview Lab → · Contrast checker → · Palette generator →

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