#CD84CB#CD84CB

#CD84CB is a light, vivid purple. Relative luminance 0.338; OKLCH L 71.2% C 0.129 H 327.8°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#CD84CB
RGBrgb(205, 132, 203)
HSLhsl(302, 42%, 66%)
HSVhsv(302, 36%, 80%)
CMYKcmyk(0%, 35.6%, 1%, 19.6%)
CIE-LABlab(64.80, 39.12, -25.28)
CIE-LCHlch(64.80, 46.58, 327.13°)
OKLaboklab(71.22% 0.1089 -0.0686)
OKLCHoklch(71.22% 0.129 327.8)
XYZxyz(44.2068, 33.7953, 60.6829)
Luminance0.3379 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD84CB #84CD86
analogous
#AA84CD #CD84CB #CD84A6
triadic
#CD84CB #CBCD84 #84CBCD
tetradic
#CD84CB #CDAA84 #84CD86 #84A6CD
square
#CD84CB #CDAA84 #84CD86 #84A6CD
split-complementary
#CD84CB #A6CD84 #84CDAA
monochromatic
#993E96 #BB58B9 #CD84CB #DFB0DD #F0DBF0

Accessibility & contrast

On white

2.71
#CD84CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#CD84CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD84CB
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD84CB#FFFFFF#000000##000000
##CD84CB1.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7F97CE
Deuteranopia (green-blind)
#92A1C9
Tritanopia (blue-blind)
#D28A9E
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cd84cb;
/* rgb */ color: rgb(205, 132, 203);
/* oklch */ color: oklch(71.2% 0.129 327.8);
Tailwind
colors: {
  custom: {
    50: '#dda9db',
    500: '#cd84cb',
    950: '#000000',
  },
}
SCSS
$custom: #cd84cb;
$custom-light: #dda9db;
$custom-dark: #000000;
JSON
{
  "hex": "#cd84cb",
  "rgb": {
    "r": 205,
    "g": 132,
    "b": 203
  },
  "hsl": {
    "h": 301.644,
    "s": 42.197,
    "l": 66.078
  },
  "oklch": {
    "l": 0.71222,
    "c": 0.12869,
    "h": 327.8
  },
  "luminance": 0.33793
}

Semantic roles & 50–950 ramp

primary
#CD84CB
secondary
#CAE2CB
accent
#B53430
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #CD84CB

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

Preview Lab → · Contrast checker → · Palette generator →

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