#CD71CB#CD71CB

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

Color values

HEX#CD71CB
RGBrgb(205, 113, 203)
HSLhsl(301, 48%, 62%)
HSVhsv(301, 45%, 80%)
CMYKcmyk(0%, 44.9%, 1%, 19.6%)
CIE-LABlab(60.87, 49.07, -31.34)
CIE-LCHlch(60.87, 58.22, 327.43°)
OKLaboklab(68.28% 0.1368 -0.0856)
OKLCHoklch(68.28% 0.161 328)
XYZxyz(41.8608, 29.1034, 59.9009)
Luminance0.2910 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD71CB #71CD73
analogous
#A171CD #CD71CB #CD719D
triadic
#CD71CB #CBCD71 #71CBCD
tetradic
#CD71CB #CDA171 #71CD73 #719DCD
square
#CD71CB #CDA171 #71CD73 #719DCD
split-complementary
#CD71CB #9DCD71 #71CDA1
monochromatic
#91338F #BD44BA #CD71CB #DD9EDC #EDCCEC

Accessibility & contrast

On white

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

On black

6.82
#CD71CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CD71CB
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD71CB#FFFFFF#000000##000000
##CD71CB1.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A8BCE
Deuteranopia (green-blind)
#8497C8
Tritanopia (blue-blind)
#D27A95
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #cd71cb;
/* rgb */ color: rgb(205, 113, 203);
/* oklch */ color: oklch(68.3% 0.161 328.0);
Tailwind
colors: {
  custom: {
    50: '#de9cdb',
    500: '#cd71cb',
    950: '#000000',
  },
}
SCSS
$custom: #cd71cb;
$custom-light: #de9cdb;
$custom-dark: #000000;
JSON
{
  "hex": "#cd71cb",
  "rgb": {
    "r": 205,
    "g": 113,
    "b": 203
  },
  "hsl": {
    "h": 301.304,
    "s": 47.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.68277,
    "c": 0.16142,
    "h": 328
  },
  "luminance": 0.29101
}

Semantic roles & 50–950 ramp

primary
#CD71CB
secondary
#BCDEBD
accent
#BB2D2A
background
#FDF9FD
surface
#FBF2FB
border
#D4CCD4
text
#150E15
muted
#837E83

Preview Lab

Preview with #CD71CB

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

Preview Lab → · Contrast checker → · Palette generator →

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