#CD71DC#CD71DC

#CD71DC is a light, vivid purple. Relative luminance 0.300; OKLCH L 69.1% C 0.178 H 321.8°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#CD71DC
RGBrgb(205, 113, 220)
HSLhsl(292, 60%, 65%)
HSVhsv(292, 49%, 86%)
CMYKcmyk(6.8%, 48.6%, 0%, 13.7%)
CIE-LABlab(61.62, 52.22, -39.74)
CIE-LCHlch(61.62, 65.62, 322.73°)
OKLaboklab(69.08% 0.1397 -0.1097)
OKLCHoklch(69.08% 0.178 321.8)
XYZxyz(43.9988, 29.9586, 71.1612)
Luminance0.2996 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD71DC #80DC71
analogous
#9871DC #CD71DC #DC71B5
triadic
#CD71DC #DCCD71 #71DCCD
tetradic
#CD71DC #DC9871 #80DC71 #71B5DC
square
#CD71DC #DC9871 #80DC71 #71B5DC
split-complementary
#CD71DC #B5DC71 #71DC98
monochromatic
#972AA9 #BC40D0 #CD71DC #DEA2E8 #F0D3F4

Accessibility & contrast

On white

3.00
#CD71DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#CD71DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD71DC
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD71DC#FFFFFF#000000##000000
##CD71DC1.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#618EE0
Deuteranopia (green-blind)
#7C98D9
Tritanopia (blue-blind)
#CF7F9C
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cd71dc;
/* rgb */ color: rgb(205, 113, 220);
/* oklch */ color: oklch(69.1% 0.178 321.8);
Tailwind
colors: {
  custom: {
    50: '#de9de7',
    500: '#cd71dc',
    950: '#000000',
  },
}
SCSS
$custom: #cd71dc;
$custom-light: #de9de7;
$custom-dark: #000000;
JSON
{
  "hex": "#cd71dc",
  "rgb": {
    "r": 205,
    "g": 113,
    "b": 220
  },
  "hsl": {
    "h": 291.589,
    "s": 60.452,
    "l": 65.294
  },
  "oklch": {
    "l": 0.69075,
    "c": 0.17763,
    "h": 321.8
  },
  "luminance": 0.29957
}

Semantic roles & 50–950 ramp

primary
#CD71DC
secondary
#C7E6C2
accent
#C81D35
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150E16
muted
#837E84

Preview Lab

Preview with #CD71DC

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

Preview Lab → · Contrast checker → · Palette generator →

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