#CD84C2#CD84C2

#CD84C2 is a light, vivid purple. Relative luminance 0.334; OKLCH L 70.9% C 0.120 H 332.3°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#CD84C2
RGBrgb(205, 132, 194)
HSLhsl(309, 42%, 66%)
HSVhsv(309, 36%, 80%)
CMYKcmyk(0%, 35.6%, 5.4%, 19.6%)
CIE-LABlab(64.47, 37.49, -20.74)
CIE-LCHlch(64.47, 42.84, 331.05°)
OKLaboklab(70.86% 0.1065 -0.0559)
OKLCHoklch(70.86% 0.12 332.3)
XYZxyz(43.1652, 33.3787, 55.1975)
Luminance0.3338 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD84C2 #84CD8F
analogous
#B384CD #CD84C2 #CD849D
triadic
#CD84C2 #C2CD84 #84C2CD
tetradic
#CD84C2 #CDB384 #84CD8F #849DCD
square
#CD84C2 #CDB384 #84CD8F #849DCD
split-complementary
#CD84C2 #9DCD84 #84CDB3
monochromatic
#993E8B #BB58AC #CD84C2 #DFB0D8 #F0DBED

Accessibility & contrast

On white

2.74
#CD84C2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#CD84C2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD84C2
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD84C2#FFFFFF#000000##000000
##CD84C21.002.747.687.68
#FFFFFF2.741.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8396C4
Deuteranopia (green-blind)
#95A0C0
Tritanopia (blue-blind)
#D3889B
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cd84c2;
/* rgb */ color: rgb(205, 132, 194);
/* oklch */ color: oklch(70.9% 0.120 332.3);
Tailwind
colors: {
  custom: {
    50: '#dda9d4',
    500: '#cd84c2',
    950: '#000000',
  },
}
SCSS
$custom: #cd84c2;
$custom-light: #dda9d4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd84c2",
  "rgb": {
    "r": 205,
    "g": 132,
    "b": 194
  },
  "hsl": {
    "h": 309.041,
    "s": 42.197,
    "l": 66.078
  },
  "oklch": {
    "l": 0.7086,
    "c": 0.12027,
    "h": 332.3
  },
  "luminance": 0.33377
}

Semantic roles & 50–950 ramp

primary
#CD84C2
secondary
#CAE2CE
accent
#B54430
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#151014
muted
#837F83

Preview Lab

Preview with #CD84C2

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

Preview Lab → · Contrast checker → · Palette generator →

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