#CD71C9#CD71C9

#CD71C9 is a light, vivid purple. Relative luminance 0.290; OKLCH L 68.2% C 0.160 H 328.7°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#CD71C9
RGBrgb(205, 113, 201)
HSLhsl(303, 48%, 62%)
HSVhsv(303, 45%, 80%)
CMYKcmyk(0%, 44.9%, 2%, 19.6%)
CIE-LABlab(60.79, 48.71, -30.34)
CIE-LCHlch(60.79, 57.39, 328.08°)
OKLaboklab(68.19% 0.1364 -0.0828)
OKLCHoklch(68.19% 0.16 328.7)
XYZxyz(41.6240, 29.0086, 58.6538)
Luminance0.2901 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD71C9 #71CD75
analogous
#A371CD #CD71C9 #CD719B
triadic
#CD71C9 #C9CD71 #71C9CD
tetradic
#CD71C9 #CDA371 #71CD75 #719BCD
square
#CD71C9 #CDA371 #71CD75 #719BCD
split-complementary
#CD71C9 #9BCD71 #71CDA3
monochromatic
#91338D #BD44B8 #CD71C9 #DD9EDA #EDCCEB

Accessibility & contrast

On white

3.09
#CD71C9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#CD71C9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD71C9
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD71C9#FFFFFF#000000##000000
##CD71C91.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B8BCC
Deuteranopia (green-blind)
#8597C6
Tritanopia (blue-blind)
#D37994
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #cd71c9;
/* rgb */ color: rgb(205, 113, 201);
/* oklch */ color: oklch(68.2% 0.160 328.7);
Tailwind
colors: {
  custom: {
    50: '#de9cd9',
    500: '#cd71c9',
    950: '#000000',
  },
}
SCSS
$custom: #cd71c9;
$custom-light: #de9cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd71c9",
  "rgb": {
    "r": 205,
    "g": 113,
    "b": 201
  },
  "hsl": {
    "h": 302.609,
    "s": 47.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.68188,
    "c": 0.15959,
    "h": 328.7
  },
  "luminance": 0.29006
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD71C9

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

Preview Lab → · Contrast checker → · Palette generator →

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