#CD84EB#CD84EB

#CD84EB is a light, vivid purple. Relative luminance 0.355; OKLCH L 72.6% C 0.162 H 315.5°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#CD84EB
RGBrgb(205, 132, 235)
HSLhsl(283, 72%, 72%)
HSVhsv(283, 44%, 92%)
CMYKcmyk(12.8%, 43.8%, 0%, 7.8%)
CIE-LABlab(66.12, 45.36, -41.02)
CIE-LCHlch(66.12, 61.16, 317.88°)
OKLaboklab(72.65% 0.1156 -0.1135)
OKLCHoklch(72.65% 0.162 315.5)
XYZxyz(48.4212, 35.4811, 82.8790)
Luminance0.3548 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD84EB #A2EB84
analogous
#9A84EB #CD84EB #EB84D6
triadic
#CD84EB #EBCD84 #84EBCD
tetradic
#CD84EB #EB9A84 #A2EB84 #84D6EB
square
#CD84EB #EB9A84 #A2EB84 #84D6EB
split-complementary
#CD84EB #D6EB84 #84EB9A
monochromatic
#9F22D2 #B84FE2 #CD84EB #E2B9F4 #F4E5FB

Accessibility & contrast

On white

2.59
#CD84EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#CD84EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD84EB
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD84EB#FFFFFF#000000##000000
##CD84EB1.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#719CEF
Deuteranopia (green-blind)
#85A3E8
Tritanopia (blue-blind)
#CB92AC
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #cd84eb;
/* rgb */ color: rgb(205, 132, 235);
/* oklch */ color: oklch(72.6% 0.162 315.5);
Tailwind
colors: {
  custom: {
    50: '#dea9f2',
    500: '#cd84eb',
    950: '#000000',
  },
}
SCSS
$custom: #cd84eb;
$custom-light: #dea9f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cd84eb",
  "rgb": {
    "r": 205,
    "g": 132,
    "b": 235
  },
  "hsl": {
    "h": 282.524,
    "s": 72.028,
    "l": 71.961
  },
  "oklch": {
    "l": 0.72649,
    "c": 0.16201,
    "h": 315.5
  },
  "luminance": 0.3548
}

Semantic roles & 50–950 ramp

primary
#CD84EB
secondary
#E0F2D8
accent
#D4114A
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CD84EB

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

Preview Lab → · Contrast checker → · Palette generator →

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