#DC87FD#DC87FD

#DC87FD is a light, vivid purple. Relative luminance 0.396; OKLCH L 75.6% C 0.183 H 315.9°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#DC87FD
RGBrgb(220, 135, 253)
HSLhsl(283, 97%, 76%)
HSVhsv(283, 47%, 99%)
CMYKcmyk(13%, 46.6%, 0%, 0.8%)
CIE-LABlab(69.21, 51.65, -45.93)
CIE-LCHlch(69.21, 69.12, 318.35°)
OKLaboklab(75.59% 0.1316 -0.1274)
OKLCHoklch(75.59% 0.183 315.9)
XYZxyz(55.9061, 39.6370, 97.6152)
Luminance0.3963 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC87FD #A8FD87
analogous
#A187FD #DC87FD #FD87E3
triadic
#DC87FD #FDDC87 #87FDDC
tetradic
#DC87FD #FDA187 #A8FD87 #87E3FD
square
#DC87FD #FDA187 #A8FD87 #87E3FD
split-complementary
#DC87FD #E3FD87 #87FDA1
monochromatic
#B90FFB #CA4BFC #DC87FD #EEC3FE #F6E1FE

Accessibility & contrast

On white

2.35
#DC87FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.93
#DC87FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC87FD
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC87FD#FFFFFF#000000##000000
##DC87FD1.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A4FF
Deuteranopia (green-blind)
#88ACFA
Tritanopia (blue-blind)
#DA98B6
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #dc87fd;
/* rgb */ color: rgb(220, 135, 253);
/* oklch */ color: oklch(75.6% 0.183 315.9);
Tailwind
colors: {
  custom: {
    50: '#e9acfe',
    500: '#dc87fd',
    950: '#000000',
  },
}
SCSS
$custom: #dc87fd;
$custom-light: #e9acfe;
$custom-dark: #000000;
JSON
{
  "hex": "#dc87fd",
  "rgb": {
    "r": 220,
    "g": 135,
    "b": 253
  },
  "hsl": {
    "h": 283.22,
    "s": 96.721,
    "l": 76.078
  },
  "oklch": {
    "l": 0.75587,
    "c": 0.18316,
    "h": 315.9
  },
  "luminance": 0.39635
}

Semantic roles & 50–950 ramp

primary
#DC87FD
secondary
#DEF7D4
accent
#E60040
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #DC87FD

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

Preview Lab → · Contrast checker → · Palette generator →

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