#CD71C6#CD71C6

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

Color values

HEX#CD71C6
RGBrgb(205, 113, 198)
HSLhsl(305, 48%, 62%)
HSVhsv(305, 45%, 80%)
CMYKcmyk(0%, 44.9%, 3.4%, 19.6%)
CIE-LABlab(60.67, 48.18, -28.83)
CIE-LCHlch(60.67, 56.14, 329.10°)
OKLaboklab(68.05% 0.1358 -0.0785)
OKLCHoklch(68.05% 0.157 330)
XYZxyz(41.2745, 28.8689, 56.8133)
Luminance0.2887 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD71C6 #71CD78
analogous
#A671CD #CD71C6 #CD7198
triadic
#CD71C6 #C6CD71 #71C6CD
tetradic
#CD71C6 #CDA671 #71CD78 #7198CD
square
#CD71C6 #CDA671 #71CD78 #7198CD
split-complementary
#CD71C6 #98CD71 #71CDA6
monochromatic
#91338A #BD44B4 #CD71C6 #DD9ED8 #EDCCEA

Accessibility & contrast

On white

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

On black

6.77
#CD71C6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD71C6
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD71C6#FFFFFF#000000##000000
##CD71C61.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cd71c6;
/* rgb */ color: rgb(205, 113, 198);
/* oklch */ color: oklch(68.1% 0.157 330.0);
Tailwind
colors: {
  custom: {
    50: '#de9cd7',
    500: '#cd71c6',
    950: '#000000',
  },
}
SCSS
$custom: #cd71c6;
$custom-light: #de9cd7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd71c6",
  "rgb": {
    "r": 205,
    "g": 113,
    "b": 198
  },
  "hsl": {
    "h": 304.565,
    "s": 47.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.68055,
    "c": 0.15688,
    "h": 330
  },
  "luminance": 0.28867
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD71C6

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

Preview Lab → · Contrast checker → · Palette generator →

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