#DD87F1#DD87F1

#DD87F1 is a light, vivid purple. Relative luminance 0.391; OKLCH L 75.1% C 0.171 H 319.9°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#DD87F1
RGBrgb(221, 135, 241)
HSLhsl(289, 79%, 74%)
HSVhsv(289, 44%, 95%)
CMYKcmyk(8.3%, 44%, 0%, 5.5%)
CIE-LABlab(68.79, 49.56, -40.02)
CIE-LCHlch(68.79, 63.70, 321.08°)
OKLaboklab(75.12% 0.1309 -0.1104)
OKLCHoklch(75.12% 0.171 319.9)
XYZxyz(54.3580, 39.0529, 87.8766)
Luminance0.3905 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD87F1 #9BF187
analogous
#A887F1 #DD87F1 #F187D0
triadic
#DD87F1 #F1DD87 #87F1DD
tetradic
#DD87F1 #F1A887 #9BF187 #87D0F1
square
#DD87F1 #F1A887 #9BF187 #87D0F1
split-complementary
#DD87F1 #D0F187 #87F1A8
monochromatic
#BD1AE3 #CD50EB #DD87F1 #EDBEF7 #F7E4FC

Accessibility & contrast

On white

2.38
#DD87F1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#DD87F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DD87F1
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD87F1#FFFFFF#000000##000000
##DD87F11.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A2F5
Deuteranopia (green-blind)
#8FABEE
Tritanopia (blue-blind)
#DE95B1
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #dd87f1;
/* rgb */ color: rgb(221, 135, 241);
/* oklch */ color: oklch(75.1% 0.171 319.9);
Tailwind
colors: {
  custom: {
    50: '#e9acf6',
    500: '#dd87f1',
    950: '#000000',
  },
}
SCSS
$custom: #dd87f1;
$custom-light: #e9acf6;
$custom-dark: #000000;
JSON
{
  "hex": "#dd87f1",
  "rgb": {
    "r": 221,
    "g": 135,
    "b": 241
  },
  "hsl": {
    "h": 288.679,
    "s": 79.104,
    "l": 73.725
  },
  "oklch": {
    "l": 0.75124,
    "c": 0.17119,
    "h": 319.9
  },
  "luminance": 0.39051
}

Semantic roles & 50–950 ramp

primary
#DD87F1
secondary
#DDF4D7
accent
#DB0A32
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#161017
muted
#847F85

Preview Lab

Preview with #DD87F1

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

Preview Lab → · Contrast checker → · Palette generator →

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