#DC87F6#DC87F6

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

Color values

HEX#DC87F6
RGBrgb(220, 135, 246)
HSLhsl(286, 86%, 75%)
HSVhsv(286, 45%, 96%)
CMYKcmyk(10.6%, 45.1%, 0%, 3.5%)
CIE-LABlab(68.90, 50.25, -42.60)
CIE-LCHlch(68.90, 65.88, 319.71°)
OKLaboklab(75.25% 0.1305 -0.1178)
OKLCHoklch(75.25% 0.176 317.9)
XYZxyz(54.8114, 39.1992, 91.8498)
Luminance0.3920 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC87F6 #A1F687
analogous
#A587F6 #DC87F6 #F687D9
triadic
#DC87F6 #F6DC87 #87F6DC
tetradic
#DC87F6 #F6A587 #A1F687 #87D9F6
square
#DC87F6 #F6A587 #A1F687 #87D9F6
split-complementary
#DC87F6 #D9F687 #87F6A5
monochromatic
#BB15ED #CB4EF2 #DC87F6 #EDC0FA #F7E3FD

Accessibility & contrast

On white

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

On black

8.84
#DC87F6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC87F6
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC87F6#FFFFFF#000000##000000
##DC87F61.002.388.848.84
#FFFFFF2.381.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A3FA
Deuteranopia (green-blind)
#8CABF3
Tritanopia (blue-blind)
#DC96B3
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #dc87f6;
/* rgb */ color: rgb(220, 135, 246);
/* oklch */ color: oklch(75.2% 0.176 317.9);
Tailwind
colors: {
  custom: {
    50: '#e9acf9',
    500: '#dc87f6',
    950: '#000000',
  },
}
SCSS
$custom: #dc87f6;
$custom-light: #e9acf9;
$custom-dark: #000000;
JSON
{
  "hex": "#dc87f6",
  "rgb": {
    "r": 220,
    "g": 135,
    "b": 246
  },
  "hsl": {
    "h": 285.946,
    "s": 86.047,
    "l": 74.706
  },
  "oklch": {
    "l": 0.75249,
    "c": 0.17584,
    "h": 317.9
  },
  "luminance": 0.39197
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DC87F6

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

Preview Lab → · Contrast checker → · Palette generator →

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