#CD71C2#CD71C2

#CD71C2 is a light, vivid purple. Relative luminance 0.287; OKLCH L 67.9% C 0.153 H 331.7°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#CD71C2
RGBrgb(205, 113, 194)
HSLhsl(307, 48%, 62%)
HSVhsv(307, 45%, 80%)
CMYKcmyk(0%, 44.9%, 5.4%, 19.6%)
CIE-LABlab(60.50, 47.48, -26.81)
CIE-LCHlch(60.50, 54.52, 330.55°)
OKLaboklab(67.88% 0.135 -0.0728)
OKLCHoklch(67.88% 0.153 331.7)
XYZxyz(40.8192, 28.6867, 54.4155)
Luminance0.2868 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD71C2 #71CD7C
analogous
#AA71CD #CD71C2 #CD7194
triadic
#CD71C2 #C2CD71 #71C2CD
tetradic
#CD71C2 #CDAA71 #71CD7C #7194CD
square
#CD71C2 #CDAA71 #71CD7C #7194CD
split-complementary
#CD71C2 #94CD71 #71CDAA
monochromatic
#913385 #BD44AF #CD71C2 #DD9ED5 #EDCCE9

Accessibility & contrast

On white

3.12
#CD71C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#CD71C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD71C2
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD71C2#FFFFFF#000000##000000
##CD71C21.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E8AC5
Deuteranopia (green-blind)
#8797BF
Tritanopia (blue-blind)
#D47790
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #cd71c2;
/* rgb */ color: rgb(205, 113, 194);
/* oklch */ color: oklch(67.9% 0.153 331.7);
Tailwind
colors: {
  custom: {
    50: '#de9cd4',
    500: '#cd71c2',
    950: '#000000',
  },
}
SCSS
$custom: #cd71c2;
$custom-light: #de9cd4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd71c2",
  "rgb": {
    "r": 205,
    "g": 113,
    "b": 194
  },
  "hsl": {
    "h": 307.174,
    "s": 47.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.67882,
    "c": 0.15334,
    "h": 331.7
  },
  "luminance": 0.28684
}

Semantic roles & 50–950 ramp

primary
#CD71C2
secondary
#BCDEC0
accent
#BB3C2A
background
#FDF9FD
surface
#FBF2FA
border
#D4CCD3
text
#150E14
muted
#837E83

Preview Lab

Preview with #CD71C2

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

Preview Lab → · Contrast checker → · Palette generator →

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