#CD71C3#CD71C3

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

Color values

HEX#CD71C3
RGBrgb(205, 113, 195)
HSLhsl(307, 48%, 62%)
HSVhsv(307, 45%, 80%)
CMYKcmyk(0%, 44.9%, 4.9%, 19.6%)
CIE-LABlab(60.54, 47.65, -27.32)
CIE-LCHlch(60.54, 54.92, 330.18°)
OKLaboklab(67.93% 0.1352 -0.0742)
OKLCHoklch(67.93% 0.154 331.2)
XYZxyz(40.9319, 28.7318, 55.0090)
Luminance0.2873 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD71C3 #71CD7B
analogous
#A971CD #CD71C3 #CD7195
triadic
#CD71C3 #C3CD71 #71C3CD
tetradic
#CD71C3 #CDA971 #71CD7B #7195CD
square
#CD71C3 #CDA971 #71CD7B #7195CD
split-complementary
#CD71C3 #95CD71 #71CDA9
monochromatic
#913386 #BD44B0 #CD71C3 #DD9ED6 #EDCCE9

Accessibility & contrast

On white

3.11
#CD71C3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#CD71C3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD71C3
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD71C3#FFFFFF#000000##000000
##CD71C31.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E8AC6
Deuteranopia (green-blind)
#8797C0
Tritanopia (blue-blind)
#D47891
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #cd71c3;
/* rgb */ color: rgb(205, 113, 195);
/* oklch */ color: oklch(67.9% 0.154 331.2);
Tailwind
colors: {
  custom: {
    50: '#de9cd5',
    500: '#cd71c3',
    950: '#000000',
  },
}
SCSS
$custom: #cd71c3;
$custom-light: #de9cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd71c3",
  "rgb": {
    "r": 205,
    "g": 113,
    "b": 195
  },
  "hsl": {
    "h": 306.522,
    "s": 47.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.67925,
    "c": 0.15422,
    "h": 331.2
  },
  "luminance": 0.2873
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD71C3

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

Preview Lab → · Contrast checker → · Palette generator →

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