#CD71D8#CD71D8

#CD71D8 is a light, vivid purple. Relative luminance 0.297; OKLCH L 68.9% C 0.174 H 323.2°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#CD71D8
RGBrgb(205, 113, 216)
HSLhsl(294, 57%, 65%)
HSVhsv(294, 48%, 85%)
CMYKcmyk(5.1%, 47.7%, 0%, 15.3%)
CIE-LABlab(61.44, 51.47, -37.78)
CIE-LCHlch(61.44, 63.84, 323.72°)
OKLaboklab(68.88% 0.1391 -0.1041)
OKLCHoklch(68.88% 0.174 323.2)
XYZxyz(43.4754, 29.7492, 68.4046)
Luminance0.2975 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD71D8 #7CD871
analogous
#9A71D8 #CD71D8 #D871B0
triadic
#CD71D8 #D8CD71 #71D8CD
tetradic
#CD71D8 #D89A71 #7CD871 #71B0D8
square
#CD71D8 #D89A71 #7CD871 #71B0D8
split-complementary
#CD71D8 #B0D871 #71D89A
monochromatic
#962DA2 #BC41CB #CD71D8 #DEA1E5 #EFD1F2

Accessibility & contrast

On white

3.02
#CD71D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#CD71D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD71D8
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD71D8#FFFFFF#000000##000000
##CD71D81.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#648DDC
Deuteranopia (green-blind)
#7E98D5
Tritanopia (blue-blind)
#D07E9B
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #cd71d8;
/* rgb */ color: rgb(205, 113, 216);
/* oklch */ color: oklch(68.9% 0.174 323.2);
Tailwind
colors: {
  custom: {
    50: '#de9de4',
    500: '#cd71d8',
    950: '#000000',
  },
}
SCSS
$custom: #cd71d8;
$custom-light: #de9de4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd71d8",
  "rgb": {
    "r": 205,
    "g": 113,
    "b": 216
  },
  "hsl": {
    "h": 293.592,
    "s": 56.906,
    "l": 64.51
  },
  "oklch": {
    "l": 0.68882,
    "c": 0.17372,
    "h": 323.2
  },
  "luminance": 0.29747
}

Semantic roles & 50–950 ramp

primary
#CD71D8
secondary
#C4E4C1
accent
#C42132
background
#FDF9FE
surface
#FBF2FC
border
#D4CCD5
text
#150E15
muted
#837E84

Preview Lab

Preview with #CD71D8

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

Preview Lab → · Contrast checker → · Palette generator →

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