#DD87F3#DD87F3

#DD87F3 is a light, vivid purple. Relative luminance 0.392; OKLCH L 75.2% C 0.173 H 319.2°. Best body text is #000000 at 8.83:1 contrast (WCAG AA passes).

Color values

HEX#DD87F3
RGBrgb(221, 135, 243)
HSLhsl(288, 82%, 74%)
HSVhsv(288, 44%, 95%)
CMYKcmyk(9.1%, 44.4%, 0%, 4.7%)
CIE-LABlab(68.88, 49.95, -40.98)
CIE-LCHlch(68.88, 64.61, 320.63°)
OKLaboklab(75.22% 0.1312 -0.1131)
OKLCHoklch(75.22% 0.173 319.2)
XYZxyz(54.6583, 39.1730, 89.4586)
Luminance0.3917 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DD87F3 #9DF387
analogous
#A787F3 #DD87F3 #F387D3
triadic
#DD87F3 #F3DD87 #87F3DD
tetradic
#DD87F3 #F3A787 #9DF387 #87D3F3
square
#DD87F3 #F3A787 #9DF387 #87D3F3
split-complementary
#DD87F3 #D3F387 #87F3A7
monochromatic
#BD18E8 #CD4FED #DD87F3 #EDBFF9 #F7E3FC

Accessibility & contrast

On white

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

On black

8.83
#DD87F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DD87F3
8.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DD87F3#FFFFFF#000000##000000
##DD87F31.002.388.838.83
#FFFFFF2.381.0021.0021.00
#0000008.8321.001.001.00
##0000008.8321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #dd87f3;
/* rgb */ color: rgb(221, 135, 243);
/* oklch */ color: oklch(75.2% 0.173 319.2);
Tailwind
colors: {
  custom: {
    50: '#e9acf7',
    500: '#dd87f3',
    950: '#000000',
  },
}
SCSS
$custom: #dd87f3;
$custom-light: #e9acf7;
$custom-dark: #000000;
JSON
{
  "hex": "#dd87f3",
  "rgb": {
    "r": 221,
    "g": 135,
    "b": 243
  },
  "hsl": {
    "h": 287.778,
    "s": 81.818,
    "l": 74.118
  },
  "oklch": {
    "l": 0.75217,
    "c": 0.17324,
    "h": 319.2
  },
  "luminance": 0.39171
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DD87F3

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

Preview Lab → · Contrast checker → · Palette generator →

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