#DD87F4#DD87F4

#DD87F4 is a light, vivid purple. Relative luminance 0.392; OKLCH L 75.3% C 0.174 H 318.9°. Best body text is #000000 at 8.85:1 contrast (WCAG AA passes).

Color values

HEX#DD87F4
RGBrgb(221, 135, 244)
HSLhsl(287, 83%, 74%)
HSVhsv(287, 45%, 96%)
CMYKcmyk(9.4%, 44.7%, 0%, 4.3%)
CIE-LABlab(68.92, 50.14, -41.46)
CIE-LCHlch(68.92, 65.06, 320.41°)
OKLaboklab(75.26% 0.1314 -0.1145)
OKLCHoklch(75.26% 0.174 318.9)
XYZxyz(54.8097, 39.2336, 90.2561)
Luminance0.3923 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD87F4 #9EF487
analogous
#A787F4 #DD87F4 #F487D5
triadic
#DD87F4 #F4DD87 #87F4DD
tetradic
#DD87F4 #F4A787 #9EF487 #87D5F4
square
#DD87F4 #F4A787 #9EF487 #87D5F4
split-complementary
#DD87F4 #D5F487 #87F4A7
monochromatic
#BD17EA #CD4FEF #DD87F4 #EDBFF9 #F7E3FC

Accessibility & contrast

On white

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

On black

8.85
#DD87F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DD87F4
8.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD87F4#FFFFFF#000000##000000
##DD87F41.002.378.858.85
#FFFFFF2.371.0021.0021.00
#0000008.8521.001.001.00
##0000008.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A2F8
Deuteranopia (green-blind)
#8DABF1
Tritanopia (blue-blind)
#DE95B2
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #dd87f4;
/* rgb */ color: rgb(221, 135, 244);
/* oklch */ color: oklch(75.3% 0.174 318.9);
Tailwind
colors: {
  custom: {
    50: '#e9acf8',
    500: '#dd87f4',
    950: '#000000',
  },
}
SCSS
$custom: #dd87f4;
$custom-light: #e9acf8;
$custom-dark: #000000;
JSON
{
  "hex": "#dd87f4",
  "rgb": {
    "r": 221,
    "g": 135,
    "b": 244
  },
  "hsl": {
    "h": 287.339,
    "s": 83.206,
    "l": 74.314
  },
  "oklch": {
    "l": 0.75264,
    "c": 0.17427,
    "h": 318.9
  },
  "luminance": 0.39232
}

Semantic roles & 50–950 ramp

primary
#DD87F4
secondary
#DDF4D7
accent
#E00634
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #DD87F4

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

Preview Lab → · Contrast checker → · Palette generator →

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