#CD71C7#CD71C7

#CD71C7 is a light, vivid purple. Relative luminance 0.289; OKLCH L 68.1% C 0.158 H 329.6°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#CD71C7
RGBrgb(205, 113, 199)
HSLhsl(304, 48%, 62%)
HSVhsv(304, 45%, 80%)
CMYKcmyk(0%, 44.9%, 2.9%, 19.6%)
CIE-LABlab(60.71, 48.35, -29.33)
CIE-LCHlch(60.71, 56.56, 328.76°)
OKLaboklab(68.1% 0.136 -0.0799)
OKLCHoklch(68.1% 0.158 329.6)
XYZxyz(41.3902, 28.9151, 57.4228)
Luminance0.2891 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD71C7 #71CD77
analogous
#A571CD #CD71C7 #CD7199
triadic
#CD71C7 #C7CD71 #71C7CD
tetradic
#CD71C7 #CDA571 #71CD77 #7199CD
square
#CD71C7 #CDA571 #71CD77 #7199CD
split-complementary
#CD71C7 #99CD71 #71CDA5
monochromatic
#91338B #BD44B5 #CD71C7 #DD9ED9 #EDCCEB

Accessibility & contrast

On white

3.10
#CD71C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#CD71C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD71C7
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD71C7#FFFFFF#000000##000000
##CD71C71.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C8BCA
Deuteranopia (green-blind)
#8597C4
Tritanopia (blue-blind)
#D37993
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #cd71c7;
/* rgb */ color: rgb(205, 113, 199);
/* oklch */ color: oklch(68.1% 0.158 329.6);
Tailwind
colors: {
  custom: {
    50: '#de9cd8',
    500: '#cd71c7',
    950: '#000000',
  },
}
SCSS
$custom: #cd71c7;
$custom-light: #de9cd8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd71c7",
  "rgb": {
    "r": 205,
    "g": 113,
    "b": 199
  },
  "hsl": {
    "h": 303.913,
    "s": 47.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.68099,
    "c": 0.15779,
    "h": 329.6
  },
  "luminance": 0.28913
}

Semantic roles & 50–950 ramp

primary
#CD71C7
secondary
#BCDEBE
accent
#BB342A
background
#FDF9FD
surface
#FBF2FA
border
#D4CCD3
text
#150E14
muted
#837E83

Preview Lab

Preview with #CD71C7

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

Preview Lab → · Contrast checker → · Palette generator →

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