#DC87F9#DC87F9

#DC87F9 is a light, vivid purple. Relative luminance 0.394; OKLCH L 75.4% C 0.179 H 317.1°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#DC87F9
RGBrgb(220, 135, 249)
HSLhsl(285, 90%, 75%)
HSVhsv(285, 46%, 98%)
CMYKcmyk(11.6%, 45.8%, 0%, 2.4%)
CIE-LABlab(69.03, 50.85, -44.03)
CIE-LCHlch(69.03, 67.26, 319.11°)
OKLaboklab(75.39% 0.131 -0.1219)
OKLCHoklch(75.39% 0.179 317.1)
XYZxyz(55.2756, 39.3848, 94.2944)
Luminance0.3938 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC87F9 #A4F987
analogous
#A387F9 #DC87F9 #F987DD
triadic
#DC87F9 #F9DC87 #87F9DC
tetradic
#DC87F9 #F9A387 #A4F987 #87DDF9
square
#DC87F9 #F9A387 #A4F987 #87DDF9
split-complementary
#DC87F9 #DDF987 #87F9A3
monochromatic
#BA12F3 #CB4DF6 #DC87F9 #EDC1FC #F7E2FE

Accessibility & contrast

On white

2.37
#DC87F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.88
#DC87F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC87F9
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC87F9#FFFFFF#000000##000000
##DC87F91.002.378.888.88
#FFFFFF2.371.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A3FD
Deuteranopia (green-blind)
#8AABF6
Tritanopia (blue-blind)
#DB97B4
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #dc87f9;
/* rgb */ color: rgb(220, 135, 249);
/* oklch */ color: oklch(75.4% 0.179 317.1);
Tailwind
colors: {
  custom: {
    50: '#e9acfb',
    500: '#dc87f9',
    950: '#000000',
  },
}
SCSS
$custom: #dc87f9;
$custom-light: #e9acfb;
$custom-dark: #000000;
JSON
{
  "hex": "#dc87f9",
  "rgb": {
    "r": 220,
    "g": 135,
    "b": 249
  },
  "hsl": {
    "h": 284.737,
    "s": 90.476,
    "l": 75.294
  },
  "oklch": {
    "l": 0.75393,
    "c": 0.17897,
    "h": 317.1
  },
  "luminance": 0.39383
}

Semantic roles & 50–950 ramp

primary
#DC87F9
secondary
#DEF6D5
accent
#E6003A
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #DC87F9

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

Preview Lab → · Contrast checker → · Palette generator →

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