#DD87FA#DD87FA

#DD87FA is a light, vivid purple. Relative luminance 0.396; OKLCH L 75.5% C 0.180 H 317.1°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#DD87FA
RGBrgb(221, 135, 250)
HSLhsl(285, 92%, 75%)
HSVhsv(285, 46%, 98%)
CMYKcmyk(11.6%, 46%, 0%, 2%)
CIE-LABlab(69.19, 51.32, -44.33)
CIE-LCHlch(69.19, 67.81, 319.18°)
OKLaboklab(75.55% 0.1323 -0.1228)
OKLCHoklch(75.55% 0.18 317.1)
XYZxyz(55.7356, 39.6039, 95.1323)
Luminance0.3960 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD87FA #A4FA87
analogous
#A487FA #DD87FA #FA87DD
triadic
#DD87FA #FADD87 #87FADD
tetradic
#DD87FA #FAA487 #A4FA87 #87DDFA
square
#DD87FA #FAA487 #A4FA87 #87DDFA
split-complementary
#DD87FA #DDFA87 #87FAA4
monochromatic
#BC11F5 #CC4CF8 #DD87FA #EEC2FC #F7E2FE

Accessibility & contrast

On white

2.35
#DD87FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.92
#DD87FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DD87FA
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD87FA#FFFFFF#000000##000000
##DD87FA1.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A3FE
Deuteranopia (green-blind)
#8BACF7
Tritanopia (blue-blind)
#DC97B5
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #dd87fa;
/* rgb */ color: rgb(221, 135, 250);
/* oklch */ color: oklch(75.5% 0.180 317.1);
Tailwind
colors: {
  custom: {
    50: '#e9acfc',
    500: '#dd87fa',
    950: '#000000',
  },
}
SCSS
$custom: #dd87fa;
$custom-light: #e9acfc;
$custom-dark: #000000;
JSON
{
  "hex": "#dd87fa",
  "rgb": {
    "r": 221,
    "g": 135,
    "b": 250
  },
  "hsl": {
    "h": 284.87,
    "s": 92,
    "l": 75.49
  },
  "oklch": {
    "l": 0.75549,
    "c": 0.18048,
    "h": 317.1
  },
  "luminance": 0.39602
}

Semantic roles & 50–950 ramp

primary
#DD87FA
secondary
#DDF6D5
accent
#E6003A
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #DD87FA

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

Preview Lab → · Contrast checker → · Palette generator →

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