#CD71CE#CD71CE

#CD71CE is a light, vivid purple. Relative luminance 0.292; OKLCH L 68.4% C 0.164 H 326.8°. Best body text is #000000 at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#CD71CE
RGBrgb(205, 113, 206)
HSLhsl(299, 49%, 63%)
HSVhsv(299, 45%, 81%)
CMYKcmyk(0.5%, 45.1%, 0%, 19.2%)
CIE-LABlab(61.00, 49.61, -32.84)
CIE-LCHlch(61.00, 59.49, 326.50°)
OKLaboklab(68.41% 0.1374 -0.0899)
OKLCHoklch(68.41% 0.164 326.8)
XYZxyz(42.2217, 29.2477, 61.8020)
Luminance0.2925 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD71CE #72CE71
analogous
#9F71CE #CD71CE #CE71A0
triadic
#CD71CE #CECD71 #71CECD
tetradic
#CD71CE #CE9F71 #72CE71 #71A0CE
square
#CD71CE #CE9F71 #72CE71 #71A0CE
split-complementary
#CD71CE #A0CE71 #71CE9F
monochromatic
#913292 #BD44BE #CD71CE #DD9EDE #EDCCED

Accessibility & contrast

On white

3.07
#CD71CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.85
#CD71CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD71CE
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD71CE#FFFFFF#000000##000000
##CD71CE1.003.076.856.85
#FFFFFF3.071.0021.0021.00
#0000006.8521.001.001.00
##0000006.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#698CD1
Deuteranopia (green-blind)
#8397CB
Tritanopia (blue-blind)
#D27B96
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #cd71ce;
/* rgb */ color: rgb(205, 113, 206);
/* oklch */ color: oklch(68.4% 0.164 326.8);
Tailwind
colors: {
  custom: {
    50: '#de9ddd',
    500: '#cd71ce',
    950: '#000000',
  },
}
SCSS
$custom: #cd71ce;
$custom-light: #de9ddd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd71ce",
  "rgb": {
    "r": 205,
    "g": 113,
    "b": 206
  },
  "hsl": {
    "h": 299.355,
    "s": 48.691,
    "l": 62.549
  },
  "oklch": {
    "l": 0.68413,
    "c": 0.1642,
    "h": 326.8
  },
  "luminance": 0.29246
}

Semantic roles & 50–950 ramp

primary
#CD71CE
secondary
#BDDEBC
accent
#BC2A2B
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150E15
muted
#837E83

Preview Lab

Preview with #CD71CE

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

Preview Lab → · Contrast checker → · Palette generator →

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