#DD87FE#DD87FE

#DD87FE is a light, vivid purple. Relative luminance 0.399; OKLCH L 75.7% C 0.185 H 316.0°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).

Color values

HEX#DD87FE
RGBrgb(221, 135, 254)
HSLhsl(283, 98%, 76%)
HSVhsv(283, 47%, 100%)
CMYKcmyk(13%, 46.9%, 0%, 0.4%)
CIE-LABlab(69.37, 52.12, -46.22)
CIE-LCHlch(69.37, 69.67, 318.43°)
OKLaboklab(75.74% 0.1329 -0.1282)
OKLCHoklch(75.74% 0.185 316)
XYZxyz(56.3695, 39.8575, 98.4706)
Luminance0.3986 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD87FE #A8FE87
analogous
#A287FE #DD87FE #FE87E4
triadic
#DD87FE #FEDD87 #87FEDD
tetradic
#DD87FE #FEA287 #A8FE87 #87E4FE
square
#DD87FE #FEA287 #A8FE87 #87E4FE
split-complementary
#DD87FE #E4FE87 #87FEA2
monochromatic
#BB0EFD #CC4AFD #DD87FE #EEC4FF #F6E1FF

Accessibility & contrast

On white

2.34
#DD87FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.97
#DD87FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DD87FE
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD87FE#FFFFFF#000000##000000
##DD87FE1.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A4FF
Deuteranopia (green-blind)
#88ACFB
Tritanopia (blue-blind)
#DC98B7
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #dd87fe;
/* rgb */ color: rgb(221, 135, 254);
/* oklch */ color: oklch(75.7% 0.185 316.0);
Tailwind
colors: {
  custom: {
    50: '#eaacff',
    500: '#dd87fe',
    950: '#000000',
  },
}
SCSS
$custom: #dd87fe;
$custom-light: #eaacff;
$custom-dark: #000000;
JSON
{
  "hex": "#dd87fe",
  "rgb": {
    "r": 221,
    "g": 135,
    "b": 254
  },
  "hsl": {
    "h": 283.361,
    "s": 98.347,
    "l": 76.275
  },
  "oklch": {
    "l": 0.75744,
    "c": 0.18466,
    "h": 316
  },
  "luminance": 0.39856
}

Semantic roles & 50–950 ramp

primary
#DD87FE
secondary
#DEF7D4
accent
#E60040
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #DD87FE

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

Preview Lab → · Contrast checker → · Palette generator →

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