#DC87EF#DC87EF

#DC87EF is a light, vivid purple. Relative luminance 0.388; OKLCH L 74.9% C 0.169 H 320.1°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#DC87EF
RGBrgb(220, 135, 239)
HSLhsl(289, 76%, 73%)
HSVhsv(289, 44%, 94%)
CMYKcmyk(7.9%, 43.5%, 0%, 6.3%)
CIE-LABlab(68.59, 48.88, -39.24)
CIE-LCHlch(68.59, 62.69, 321.24°)
OKLaboklab(74.92% 0.1294 -0.1081)
OKLCHoklch(74.92% 0.169 320.1)
XYZxyz(53.7572, 38.7775, 86.2977)
Luminance0.3878 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC87EF #9AEF87
analogous
#A887EF #DC87EF #EF87CE
triadic
#DC87EF #EFDC87 #87EFDC
tetradic
#DC87EF #EFA887 #9AEF87 #87CEEF
square
#DC87EF #EFA887 #9AEF87 #87CEEF
split-complementary
#DC87EF #CEEF87 #87EFA8
monochromatic
#BB1EDE #CC51E8 #DC87EF #ECBDF6 #F7E4FB

Accessibility & contrast

On white

2.40
#DC87EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.76
#DC87EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC87EF
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC87EF#FFFFFF#000000##000000
##DC87EF1.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A1F3
Deuteranopia (green-blind)
#8FAAEC
Tritanopia (blue-blind)
#DD94B0
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #dc87ef;
/* rgb */ color: rgb(220, 135, 239);
/* oklch */ color: oklch(74.9% 0.169 320.1);
Tailwind
colors: {
  custom: {
    50: '#e8acf4',
    500: '#dc87ef',
    950: '#000000',
  },
}
SCSS
$custom: #dc87ef;
$custom-light: #e8acf4;
$custom-dark: #000000;
JSON
{
  "hex": "#dc87ef",
  "rgb": {
    "r": 220,
    "g": 135,
    "b": 239
  },
  "hsl": {
    "h": 289.038,
    "s": 76.471,
    "l": 73.333
  },
  "oklch": {
    "l": 0.74921,
    "c": 0.16862,
    "h": 320.1
  },
  "luminance": 0.38776
}

Semantic roles & 50–950 ramp

primary
#DC87EF
secondary
#DDF3D8
accent
#D90D32
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #DC87EF

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

Preview Lab → · Contrast checker → · Palette generator →

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