#CD71C8#CD71C8

#CD71C8 is a light, vivid purple. Relative luminance 0.290; OKLCH L 68.1% C 0.159 H 329.1°. Best body text is #000000 at 6.79:1 contrast (WCAG AA passes).

Color values

HEX#CD71C8
RGBrgb(205, 113, 200)
HSLhsl(303, 48%, 62%)
HSVhsv(303, 45%, 80%)
CMYKcmyk(0%, 44.9%, 2.4%, 19.6%)
CIE-LABlab(60.75, 48.53, -29.84)
CIE-LCHlch(60.75, 56.97, 328.42°)
OKLaboklab(68.14% 0.1362 -0.0814)
OKLCHoklch(68.14% 0.159 329.1)
XYZxyz(41.5067, 28.9617, 58.0363)
Luminance0.2896 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD71C8 #71CD76
analogous
#A471CD #CD71C8 #CD719A
triadic
#CD71C8 #C8CD71 #71C8CD
tetradic
#CD71C8 #CDA471 #71CD76 #719ACD
square
#CD71C8 #CDA471 #71CD76 #719ACD
split-complementary
#CD71C8 #9ACD71 #71CDA4
monochromatic
#91338C #BD44B6 #CD71C8 #DD9EDA #EDCCEB

Accessibility & contrast

On white

3.09
#CD71C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.79
#CD71C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD71C8
6.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD71C8#FFFFFF#000000##000000
##CD71C81.003.096.796.79
#FFFFFF3.091.0021.0021.00
#0000006.7921.001.001.00
##0000006.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B8BCB
Deuteranopia (green-blind)
#8597C5
Tritanopia (blue-blind)
#D37993
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #cd71c8;
/* rgb */ color: rgb(205, 113, 200);
/* oklch */ color: oklch(68.1% 0.159 329.1);
Tailwind
colors: {
  custom: {
    50: '#de9cd9',
    500: '#cd71c8',
    950: '#000000',
  },
}
SCSS
$custom: #cd71c8;
$custom-light: #de9cd9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd71c8",
  "rgb": {
    "r": 205,
    "g": 113,
    "b": 200
  },
  "hsl": {
    "h": 303.261,
    "s": 47.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.68143,
    "c": 0.15869,
    "h": 329.1
  },
  "luminance": 0.2896
}

Semantic roles & 50–950 ramp

primary
#CD71C8
secondary
#BCDEBE
accent
#BB322A
background
#FDF9FD
surface
#FBF2FA
border
#D4CCD3
text
#150E14
muted
#837E83

Preview Lab

Preview with #CD71C8

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

Preview Lab → · Contrast checker → · Palette generator →

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