#DD87F5#DD87F5

#DD87F5 is a light, vivid purple. Relative luminance 0.393; OKLCH L 75.3% C 0.175 H 318.6°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#DD87F5
RGBrgb(221, 135, 245)
HSLhsl(287, 85%, 75%)
HSVhsv(287, 45%, 96%)
CMYKcmyk(9.8%, 44.9%, 0%, 3.9%)
CIE-LABlab(68.96, 50.34, -41.94)
CIE-LCHlch(68.96, 65.52, 320.20°)
OKLaboklab(75.31% 0.1315 -0.1159)
OKLCHoklch(75.31% 0.175 318.6)
XYZxyz(54.9620, 39.2945, 91.0579)
Luminance0.3929 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD87F5 #9FF587
analogous
#A687F5 #DD87F5 #F587D6
triadic
#DD87F5 #F5DD87 #87F5DD
tetradic
#DD87F5 #F5A687 #9FF587 #87D6F5
square
#DD87F5 #F5A687 #9FF587 #87D6F5
split-complementary
#DD87F5 #D6F587 #87F5A6
monochromatic
#BD16EC #CD4FF0 #DD87F5 #EDBFFA #F7E3FD

Accessibility & contrast

On white

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

On black

8.86
#DD87F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DD87F5
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD87F5#FFFFFF#000000##000000
##DD87F51.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dd87f5;
/* rgb */ color: rgb(221, 135, 245);
/* oklch */ color: oklch(75.3% 0.175 318.6);
Tailwind
colors: {
  custom: {
    50: '#e9acf9',
    500: '#dd87f5',
    950: '#000000',
  },
}
SCSS
$custom: #dd87f5;
$custom-light: #e9acf9;
$custom-dark: #000000;
JSON
{
  "hex": "#dd87f5",
  "rgb": {
    "r": 221,
    "g": 135,
    "b": 245
  },
  "hsl": {
    "h": 286.909,
    "s": 84.615,
    "l": 74.51
  },
  "oklch": {
    "l": 0.75311,
    "c": 0.17529,
    "h": 318.6
  },
  "luminance": 0.39293
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DD87F5

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

Preview Lab → · Contrast checker → · Palette generator →

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