#CD71C5#CD71C5

#CD71C5 is a light, vivid purple. Relative luminance 0.288; OKLCH L 68.0% C 0.156 H 330.4°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#CD71C5
RGBrgb(205, 113, 197)
HSLhsl(305, 48%, 62%)
HSVhsv(305, 45%, 80%)
CMYKcmyk(0%, 44.9%, 3.9%, 19.6%)
CIE-LABlab(60.63, 48.00, -28.33)
CIE-LCHlch(60.63, 55.74, 329.45°)
OKLaboklab(68.01% 0.1356 -0.0771)
OKLCHoklch(68.01% 0.156 330.4)
XYZxyz(41.1596, 28.8229, 56.2079)
Luminance0.2882 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD71C5 #71CD79
analogous
#A771CD #CD71C5 #CD7197
triadic
#CD71C5 #C5CD71 #71C5CD
tetradic
#CD71C5 #CDA771 #71CD79 #7197CD
square
#CD71C5 #CDA771 #71CD79 #7197CD
split-complementary
#CD71C5 #97CD71 #71CDA7
monochromatic
#913389 #BD44B3 #CD71C5 #DD9ED7 #EDCCEA

Accessibility & contrast

On white

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

On black

6.76
#CD71C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD71C5
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD71C5#FFFFFF#000000##000000
##CD71C51.003.106.766.76
#FFFFFF3.101.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D8AC8
Deuteranopia (green-blind)
#8697C2
Tritanopia (blue-blind)
#D37892
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #cd71c5;
/* rgb */ color: rgb(205, 113, 197);
/* oklch */ color: oklch(68.0% 0.156 330.4);
Tailwind
colors: {
  custom: {
    50: '#de9cd6',
    500: '#cd71c5',
    950: '#000000',
  },
}
SCSS
$custom: #cd71c5;
$custom-light: #de9cd6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd71c5",
  "rgb": {
    "r": 205,
    "g": 113,
    "b": 197
  },
  "hsl": {
    "h": 305.217,
    "s": 47.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.68011,
    "c": 0.15599,
    "h": 330.4
  },
  "luminance": 0.28821
}

Semantic roles & 50–950 ramp

primary
#CD71C5
secondary
#BCDEBF
accent
#BB372A
background
#FDF9FD
surface
#FBF2FA
border
#D4CCD3
text
#150E14
muted
#837E83

Preview Lab

Preview with #CD71C5

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

Preview Lab → · Contrast checker → · Palette generator →

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