#DC87F4#DC87F4

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

Color values

HEX#DC87F4
RGBrgb(220, 135, 244)
HSLhsl(287, 83%, 74%)
HSVhsv(287, 45%, 96%)
CMYKcmyk(9.8%, 44.7%, 0%, 4.3%)
CIE-LABlab(68.81, 49.86, -41.65)
CIE-LCHlch(68.81, 64.96, 320.13°)
OKLaboklab(75.16% 0.1302 -0.115)
OKLCHoklch(75.16% 0.174 318.5)
XYZxyz(54.5061, 39.0770, 90.2418)
Luminance0.3907 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC87F4 #9FF487
analogous
#A687F4 #DC87F4 #F487D6
triadic
#DC87F4 #F4DC87 #87F4DC
tetradic
#DC87F4 #F4A687 #9FF487 #87D6F4
square
#DC87F4 #F4A687 #9FF487 #87D6F4
split-complementary
#DC87F4 #D6F487 #87F4A6
monochromatic
#BB17EA #CC4FEF #DC87F4 #ECBFF9 #F7E3FC

Accessibility & contrast

On white

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

On black

8.82
#DC87F4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC87F4
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC87F4#FFFFFF#000000##000000
##DC87F41.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A2F8
Deuteranopia (green-blind)
#8DABF1
Tritanopia (blue-blind)
#DC96B2
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #dc87f4;
/* rgb */ color: rgb(220, 135, 244);
/* oklch */ color: oklch(75.2% 0.174 318.5);
Tailwind
colors: {
  custom: {
    50: '#e9acf8',
    500: '#dc87f4',
    950: '#000000',
  },
}
SCSS
$custom: #dc87f4;
$custom-light: #e9acf8;
$custom-dark: #000000;
JSON
{
  "hex": "#dc87f4",
  "rgb": {
    "r": 220,
    "g": 135,
    "b": 244
  },
  "hsl": {
    "h": 286.789,
    "s": 83.206,
    "l": 74.314
  },
  "oklch": {
    "l": 0.75155,
    "c": 0.17376,
    "h": 318.5
  },
  "luminance": 0.39075
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DC87F4

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

Preview Lab → · Contrast checker → · Palette generator →

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