#DD87F2#DD87F2

#DD87F2 is a light, vivid purple. Relative luminance 0.391; OKLCH L 75.2% C 0.172 H 319.5°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#DD87F2
RGBrgb(221, 135, 242)
HSLhsl(288, 80%, 74%)
HSVhsv(288, 44%, 95%)
CMYKcmyk(8.7%, 44.2%, 0%, 5.1%)
CIE-LABlab(68.83, 49.75, -40.50)
CIE-LCHlch(68.83, 64.15, 320.85°)
OKLaboklab(75.17% 0.131 -0.1117)
OKLCHoklch(75.17% 0.172 319.5)
XYZxyz(54.5077, 39.1128, 88.6654)
Luminance0.3911 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD87F2 #9CF287
analogous
#A887F2 #DD87F2 #F287D2
triadic
#DD87F2 #F2DD87 #87F2DD
tetradic
#DD87F2 #F2A887 #9CF287 #87D2F2
square
#DD87F2 #F2A887 #9CF287 #87D2F2
split-complementary
#DD87F2 #D2F287 #87F2A8
monochromatic
#BE19E6 #CD50EC #DD87F2 #EDBEF8 #F7E3FC

Accessibility & contrast

On white

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

On black

8.82
#DD87F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DD87F2
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD87F2#FFFFFF#000000##000000
##DD87F21.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dd87f2;
/* rgb */ color: rgb(221, 135, 242);
/* oklch */ color: oklch(75.2% 0.172 319.5);
Tailwind
colors: {
  custom: {
    50: '#e9acf6',
    500: '#dd87f2',
    950: '#000000',
  },
}
SCSS
$custom: #dd87f2;
$custom-light: #e9acf6;
$custom-dark: #000000;
JSON
{
  "hex": "#dd87f2",
  "rgb": {
    "r": 221,
    "g": 135,
    "b": 242
  },
  "hsl": {
    "h": 288.224,
    "s": 80.451,
    "l": 73.922
  },
  "oklch": {
    "l": 0.7517,
    "c": 0.17221,
    "h": 319.5
  },
  "luminance": 0.39111
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DD87F2

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

Preview Lab → · Contrast checker → · Palette generator →

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