#DC87F5#DC87F5

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

Color values

HEX#DC87F5
RGBrgb(220, 135, 245)
HSLhsl(286, 85%, 75%)
HSVhsv(286, 45%, 96%)
CMYKcmyk(10.2%, 44.9%, 0%, 3.9%)
CIE-LABlab(68.85, 50.05, -42.12)
CIE-LCHlch(68.85, 65.42, 319.92°)
OKLaboklab(75.2% 0.1304 -0.1164)
OKLCHoklch(75.2% 0.175 318.2)
XYZxyz(54.6584, 39.1379, 91.0437)
Luminance0.3914 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC87F5 #A0F587
analogous
#A587F5 #DC87F5 #F587D7
triadic
#DC87F5 #F5DC87 #87F5DC
tetradic
#DC87F5 #F5A587 #A0F587 #87D7F5
square
#DC87F5 #F5A587 #A0F587 #87D7F5
split-complementary
#DC87F5 #D7F587 #87F5A5
monochromatic
#BB16EC #CC4FF0 #DC87F5 #ECBFFA #F7E3FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DC87F5#FFFFFF#000000##000000
##DC87F51.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)
#75A2F9
Deuteranopia (green-blind)
#8CABF2
Tritanopia (blue-blind)
#DC96B3
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #dc87f5;
/* rgb */ color: rgb(220, 135, 245);
/* oklch */ color: oklch(75.2% 0.175 318.2);
Tailwind
colors: {
  custom: {
    50: '#e9acf9',
    500: '#dc87f5',
    950: '#000000',
  },
}
SCSS
$custom: #dc87f5;
$custom-light: #e9acf9;
$custom-dark: #000000;
JSON
{
  "hex": "#dc87f5",
  "rgb": {
    "r": 220,
    "g": 135,
    "b": 245
  },
  "hsl": {
    "h": 286.364,
    "s": 84.615,
    "l": 74.51
  },
  "oklch": {
    "l": 0.75202,
    "c": 0.1748,
    "h": 318.2
  },
  "luminance": 0.39136
}

Semantic roles & 50–950 ramp

primary
#DC87F5
secondary
#DDF5D6
accent
#E10437
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #DC87F5

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

Preview Lab → · Contrast checker → · Palette generator →

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