#DD87F8#DD87F8

#DD87F8 is a light, vivid purple. Relative luminance 0.395; OKLCH L 75.5% C 0.178 H 317.7°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#DD87F8
RGBrgb(221, 135, 248)
HSLhsl(286, 89%, 75%)
HSVhsv(286, 46%, 97%)
CMYKcmyk(10.9%, 45.6%, 0%, 2.7%)
CIE-LABlab(69.10, 50.93, -43.37)
CIE-LCHlch(69.10, 66.89, 319.58°)
OKLaboklab(75.45% 0.132 -0.12)
OKLCHoklch(75.45% 0.178 317.7)
XYZxyz(55.4237, 39.4792, 93.4894)
Luminance0.3948 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD87F8 #A2F887
analogous
#A587F8 #DD87F8 #F887DA
triadic
#DD87F8 #F8DD87 #87F8DD
tetradic
#DD87F8 #F8A587 #A2F887 #87DAF8
square
#DD87F8 #F8A587 #A2F887 #87DAF8
split-complementary
#DD87F8 #DAF887 #87F8A5
monochromatic
#BC13F1 #CD4DF5 #DD87F8 #EDC1FB #F7E2FD

Accessibility & contrast

On white

2.36
#DD87F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.90
#DD87F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DD87F8
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD87F8#FFFFFF#000000##000000
##DD87F81.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A3FC
Deuteranopia (green-blind)
#8BACF5
Tritanopia (blue-blind)
#DD97B4
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #dd87f8;
/* rgb */ color: rgb(221, 135, 248);
/* oklch */ color: oklch(75.5% 0.178 317.7);
Tailwind
colors: {
  custom: {
    50: '#e9acfb',
    500: '#dd87f8',
    950: '#000000',
  },
}
SCSS
$custom: #dd87f8;
$custom-light: #e9acfb;
$custom-dark: #000000;
JSON
{
  "hex": "#dd87f8",
  "rgb": {
    "r": 221,
    "g": 135,
    "b": 248
  },
  "hsl": {
    "h": 285.664,
    "s": 88.976,
    "l": 75.098
  },
  "oklch": {
    "l": 0.75453,
    "c": 0.1784,
    "h": 317.7
  },
  "luminance": 0.39477
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DD87F8

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

Preview Lab → · Contrast checker → · Palette generator →

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