#DD87F7#DD87F7

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

Color values

HEX#DD87F7
RGBrgb(221, 135, 247)
HSLhsl(286, 88%, 75%)
HSVhsv(286, 45%, 97%)
CMYKcmyk(10.5%, 45.3%, 0%, 3.1%)
CIE-LABlab(69.05, 50.73, -42.90)
CIE-LCHlch(69.05, 66.43, 319.78°)
OKLaboklab(75.41% 0.1319 -0.1186)
OKLCHoklch(75.41% 0.177 318)
XYZxyz(55.2690, 39.4173, 92.6746)
Luminance0.3942 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD87F7 #A1F787
analogous
#A587F7 #DD87F7 #F787D9
triadic
#DD87F7 #F7DD87 #87F7DD
tetradic
#DD87F7 #F7A587 #A1F787 #87D9F7
square
#DD87F7 #F7A587 #A1F787 #87D9F7
split-complementary
#DD87F7 #D9F787 #87F7A5
monochromatic
#BC14EF #CD4EF3 #DD87F7 #EDC0FB #F7E2FD

Accessibility & contrast

On white

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

On black

8.88
#DD87F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DD87F7
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD87F7#FFFFFF#000000##000000
##DD87F71.002.368.888.88
#FFFFFF2.361.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A3FB
Deuteranopia (green-blind)
#8CABF4
Tritanopia (blue-blind)
#DD96B3
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #dd87f7;
/* rgb */ color: rgb(221, 135, 247);
/* oklch */ color: oklch(75.4% 0.177 318.0);
Tailwind
colors: {
  custom: {
    50: '#e9acfa',
    500: '#dd87f7',
    950: '#000000',
  },
}
SCSS
$custom: #dd87f7;
$custom-light: #e9acfa;
$custom-dark: #000000;
JSON
{
  "hex": "#dd87f7",
  "rgb": {
    "r": 221,
    "g": 135,
    "b": 247
  },
  "hsl": {
    "h": 286.071,
    "s": 87.5,
    "l": 74.902
  },
  "oklch": {
    "l": 0.75406,
    "c": 0.17736,
    "h": 318
  },
  "luminance": 0.39415
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DD87F7

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

Preview Lab → · Contrast checker → · Palette generator →

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