#DC87F0#DC87F0

#DC87F0 is a light, vivid purple. Relative luminance 0.388; OKLCH L 75.0% C 0.170 H 319.8°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#DC87F0
RGBrgb(220, 135, 240)
HSLhsl(289, 78%, 74%)
HSVhsv(289, 44%, 94%)
CMYKcmyk(8.3%, 43.8%, 0%, 5.9%)
CIE-LABlab(68.63, 49.08, -39.72)
CIE-LCHlch(68.63, 63.14, 321.01°)
OKLaboklab(74.97% 0.1296 -0.1095)
OKLCHoklch(74.97% 0.17 319.8)
XYZxyz(53.9054, 38.8367, 87.0779)
Luminance0.3883 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC87F0 #9BF087
analogous
#A787F0 #DC87F0 #F087D0
triadic
#DC87F0 #F0DC87 #87F0DC
tetradic
#DC87F0 #F0A787 #9BF087 #87D0F0
square
#DC87F0 #F0A787 #9BF087 #87D0F0
split-complementary
#DC87F0 #D0F087 #87F0A7
monochromatic
#BB1CE1 #CC51E9 #DC87F0 #ECBDF7 #F7E4FC

Accessibility & contrast

On white

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

On black

8.77
#DC87F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC87F0
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC87F0#FFFFFF#000000##000000
##DC87F01.002.408.778.77
#FFFFFF2.401.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A2F4
Deuteranopia (green-blind)
#8FABED
Tritanopia (blue-blind)
#DD94B0
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #dc87f0;
/* rgb */ color: rgb(220, 135, 240);
/* oklch */ color: oklch(75.0% 0.170 319.8);
Tailwind
colors: {
  custom: {
    50: '#e8acf5',
    500: '#dc87f0',
    950: '#000000',
  },
}
SCSS
$custom: #dc87f0;
$custom-light: #e8acf5;
$custom-dark: #000000;
JSON
{
  "hex": "#dc87f0",
  "rgb": {
    "r": 220,
    "g": 135,
    "b": 240
  },
  "hsl": {
    "h": 288.571,
    "s": 77.778,
    "l": 73.529
  },
  "oklch": {
    "l": 0.74967,
    "c": 0.16965,
    "h": 319.8
  },
  "luminance": 0.38835
}

Semantic roles & 50–950 ramp

primary
#DC87F0
secondary
#DDF3D8
accent
#DA0B33
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#161017
muted
#847F85

Preview Lab

Preview with #DC87F0

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

Preview Lab → · Contrast checker → · Palette generator →

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