#CD71CA#CD71CA

#CD71CA is a light, vivid purple. Relative luminance 0.291; OKLCH L 68.2% C 0.161 H 328.3°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#CD71CA
RGBrgb(205, 113, 202)
HSLhsl(302, 48%, 62%)
HSVhsv(302, 45%, 80%)
CMYKcmyk(0%, 44.9%, 1.5%, 19.6%)
CIE-LABlab(60.83, 48.89, -30.84)
CIE-LCHlch(60.83, 57.80, 327.76°)
OKLaboklab(68.23% 0.1366 -0.0842)
OKLCHoklch(68.23% 0.161 328.3)
XYZxyz(41.7420, 29.0558, 59.2753)
Luminance0.2905 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD71CA #71CD74
analogous
#A271CD #CD71CA #CD719C
triadic
#CD71CA #CACD71 #71CACD
tetradic
#CD71CA #CDA271 #71CD74 #719CCD
square
#CD71CA #CDA271 #71CD74 #719CCD
split-complementary
#CD71CA #9CCD71 #71CDA2
monochromatic
#91338E #BD44B9 #CD71CA #DD9EDB #EDCCEC

Accessibility & contrast

On white

3.08
#CD71CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#CD71CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD71CA
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD71CA#FFFFFF#000000##000000
##CD71CA1.003.086.816.81
#FFFFFF3.081.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B8BCD
Deuteranopia (green-blind)
#8497C7
Tritanopia (blue-blind)
#D37A94
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #cd71ca;
/* rgb */ color: rgb(205, 113, 202);
/* oklch */ color: oklch(68.2% 0.161 328.3);
Tailwind
colors: {
  custom: {
    50: '#de9cda',
    500: '#cd71ca',
    950: '#000000',
  },
}
SCSS
$custom: #cd71ca;
$custom-light: #de9cda;
$custom-dark: #000000;
JSON
{
  "hex": "#cd71ca",
  "rgb": {
    "r": 205,
    "g": 113,
    "b": 202
  },
  "hsl": {
    "h": 301.957,
    "s": 47.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.68232,
    "c": 0.16051,
    "h": 328.3
  },
  "luminance": 0.29054
}

Semantic roles & 50–950 ramp

primary
#CD71CA
secondary
#BCDEBD
accent
#BB2F2A
background
#FDF9FD
surface
#FBF2FA
border
#D4CCD3
text
#150E15
muted
#837E83

Preview Lab

Preview with #CD71CA

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

Preview Lab → · Contrast checker → · Palette generator →

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