#CD84D1#CD84D1

#CD84D1 is a light, vivid purple. Relative luminance 0.341; OKLCH L 71.5% C 0.135 H 325.1°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#CD84D1
RGBrgb(205, 132, 209)
HSLhsl(297, 46%, 67%)
HSVhsv(297, 37%, 82%)
CMYKcmyk(1.9%, 36.8%, 0%, 18%)
CIE-LABlab(65.03, 40.24, -28.28)
CIE-LCHlch(65.03, 49.18, 324.90°)
OKLaboklab(71.47% 0.1103 -0.0771)
OKLCHoklch(71.47% 0.135 325.1)
XYZxyz(44.9356, 34.0869, 64.5217)
Luminance0.3408 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD84D1 #88D184
analogous
#A784D1 #CD84D1 #D184AF
triadic
#CD84D1 #D1CD84 #84D1CD
tetradic
#CD84D1 #D1A784 #88D184 #84AFD1
square
#CD84D1 #D1A784 #88D184 #84AFD1
split-complementary
#CD84D1 #AFD184 #84D1A7
monochromatic
#9A3C9F #BB57C0 #CD84D1 #DFB1E2 #F1DDF2

Accessibility & contrast

On white

2.69
#CD84D1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#CD84D1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD84D1
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD84D1#FFFFFF#000000##000000
##CD84D11.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D98D4
Deuteranopia (green-blind)
#90A1CE
Tritanopia (blue-blind)
#D18CA1
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cd84d1;
/* rgb */ color: rgb(205, 132, 209);
/* oklch */ color: oklch(71.5% 0.135 325.1);
Tailwind
colors: {
  custom: {
    50: '#dda9df',
    500: '#cd84d1',
    950: '#000000',
  },
}
SCSS
$custom: #cd84d1;
$custom-light: #dda9df;
$custom-dark: #000000;
JSON
{
  "hex": "#cd84d1",
  "rgb": {
    "r": 205,
    "g": 132,
    "b": 209
  },
  "hsl": {
    "h": 296.883,
    "s": 45.562,
    "l": 66.863
  },
  "oklch": {
    "l": 0.71473,
    "c": 0.13461,
    "h": 325.1
  },
  "luminance": 0.34085
}

Semantic roles & 50–950 ramp

primary
#CD84D1
secondary
#CDE5CC
accent
#B92D34
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#151015
muted
#837F83

Preview Lab

Preview with #CD84D1

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

Preview Lab → · Contrast checker → · Palette generator →

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