#DD87F6#DD87F6

#DD87F6 is a light, vivid purple. Relative luminance 0.394; OKLCH L 75.4% C 0.176 H 318.3°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#DD87F6
RGBrgb(221, 135, 246)
HSLhsl(286, 86%, 75%)
HSVhsv(286, 45%, 96%)
CMYKcmyk(10.2%, 45.1%, 0%, 3.5%)
CIE-LABlab(69.01, 50.53, -42.42)
CIE-LCHlch(69.01, 65.98, 319.99°)
OKLaboklab(75.36% 0.1317 -0.1173)
OKLCHoklch(75.36% 0.176 318.3)
XYZxyz(55.1151, 39.3557, 91.8640)
Luminance0.3935 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD87F6 #A0F687
analogous
#A587F6 #DD87F6 #F687D8
triadic
#DD87F6 #F6DD87 #87F6DD
tetradic
#DD87F6 #F6A587 #A0F687 #87D8F6
square
#DD87F6 #F6A587 #A0F687 #87D8F6
split-complementary
#DD87F6 #D8F687 #87F6A5
monochromatic
#BD15ED #CD4EF2 #DD87F6 #EDC0FA #F7E3FD

Accessibility & contrast

On white

2.37
#DD87F6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#DD87F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DD87F6
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD87F6#FFFFFF#000000##000000
##DD87F61.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A3FA
Deuteranopia (green-blind)
#8CABF3
Tritanopia (blue-blind)
#DD96B3
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #dd87f6;
/* rgb */ color: rgb(221, 135, 246);
/* oklch */ color: oklch(75.4% 0.176 318.3);
Tailwind
colors: {
  custom: {
    50: '#e9acf9',
    500: '#dd87f6',
    950: '#000000',
  },
}
SCSS
$custom: #dd87f6;
$custom-light: #e9acf9;
$custom-dark: #000000;
JSON
{
  "hex": "#dd87f6",
  "rgb": {
    "r": 221,
    "g": 135,
    "b": 246
  },
  "hsl": {
    "h": 286.486,
    "s": 86.047,
    "l": 74.706
  },
  "oklch": {
    "l": 0.75358,
    "c": 0.17633,
    "h": 318.3
  },
  "luminance": 0.39354
}

Semantic roles & 50–950 ramp

primary
#DD87F6
secondary
#DDF5D6
accent
#E30335
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #DD87F6

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

Preview Lab → · Contrast checker → · Palette generator →

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