#DC87FB#DC87FB

#DC87FB is a light, vivid purple. Relative luminance 0.395; OKLCH L 75.5% C 0.181 H 316.5°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#DC87FB
RGBrgb(220, 135, 251)
HSLhsl(284, 94%, 76%)
HSVhsv(284, 46%, 98%)
CMYKcmyk(12.4%, 46.2%, 0%, 1.6%)
CIE-LABlab(69.12, 51.25, -44.99)
CIE-LCHlch(69.12, 68.19, 318.72°)
OKLaboklab(75.49% 0.1313 -0.1247)
OKLCHoklch(75.49% 0.181 316.5)
XYZxyz(55.5892, 39.5103, 95.9460)
Luminance0.3951 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC87FB #A6FB87
analogous
#A287FB #DC87FB #FB87E0
triadic
#DC87FB #FBDC87 #87FBDC
tetradic
#DC87FB #FBA287 #A6FB87 #87E0FB
square
#DC87FB #FBA287 #A6FB87 #87E0FB
split-complementary
#DC87FB #E0FB87 #87FBA2
monochromatic
#B911F7 #CB4CF9 #DC87FB #EDC2FD #F6E1FE

Accessibility & contrast

On white

2.36
#DC87FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.90
#DC87FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC87FB
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC87FB#FFFFFF#000000##000000
##DC87FB1.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#71A3FF
Deuteranopia (green-blind)
#89ABF8
Tritanopia (blue-blind)
#DB98B5
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #dc87fb;
/* rgb */ color: rgb(220, 135, 251);
/* oklch */ color: oklch(75.5% 0.181 316.5);
Tailwind
colors: {
  custom: {
    50: '#e9acfd',
    500: '#dc87fb',
    950: '#000000',
  },
}
SCSS
$custom: #dc87fb;
$custom-light: #e9acfd;
$custom-dark: #000000;
JSON
{
  "hex": "#dc87fb",
  "rgb": {
    "r": 220,
    "g": 135,
    "b": 251
  },
  "hsl": {
    "h": 283.966,
    "s": 93.548,
    "l": 75.686
  },
  "oklch": {
    "l": 0.75489,
    "c": 0.18107,
    "h": 316.5
  },
  "luminance": 0.39509
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DC87FB

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

Preview Lab → · Contrast checker → · Palette generator →

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