#CD71DB#CD71DB

#CD71DB is a light, vivid purple. Relative luminance 0.299; OKLCH L 69.0% C 0.177 H 322.2°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#CD71DB
RGBrgb(205, 113, 219)
HSLhsl(292, 60%, 65%)
HSVhsv(292, 48%, 86%)
CMYKcmyk(6.4%, 48.4%, 0%, 14.1%)
CIE-LABlab(61.57, 52.03, -39.25)
CIE-LCHlch(61.57, 65.18, 322.97°)
OKLaboklab(69.03% 0.1395 -0.1083)
OKLCHoklch(69.03% 0.177 322.2)
XYZxyz(43.8668, 29.9058, 70.4658)
Luminance0.2990 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD71DB #7FDB71
analogous
#9871DB #CD71DB #DB71B4
triadic
#CD71DB #DBCD71 #71DBCD
tetradic
#CD71DB #DB9871 #7FDB71 #71B4DB
square
#CD71DB #DB9871 #7FDB71 #71B4DB
split-complementary
#CD71DB #B4DB71 #71DB98
monochromatic
#972AA7 #BC40CF #CD71DB #DEA2E7 #EFD3F4

Accessibility & contrast

On white

3.01
#CD71DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#CD71DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD71DB
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD71DB#FFFFFF#000000##000000
##CD71DB1.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#628EDF
Deuteranopia (green-blind)
#7D98D8
Tritanopia (blue-blind)
#CF7E9C
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cd71db;
/* rgb */ color: rgb(205, 113, 219);
/* oklch */ color: oklch(69.0% 0.177 322.2);
Tailwind
colors: {
  custom: {
    50: '#de9de6',
    500: '#cd71db',
    950: '#000000',
  },
}
SCSS
$custom: #cd71db;
$custom-light: #de9de6;
$custom-dark: #000000;
JSON
{
  "hex": "#cd71db",
  "rgb": {
    "r": 205,
    "g": 113,
    "b": 219
  },
  "hsl": {
    "h": 292.075,
    "s": 59.551,
    "l": 65.098
  },
  "oklch": {
    "l": 0.69027,
    "c": 0.17664,
    "h": 322.2
  },
  "luminance": 0.29904
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD71DB

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

Preview Lab → · Contrast checker → · Palette generator →

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