#DC87F1#DC87F1

#DC87F1 is a light, vivid purple. Relative luminance 0.389; OKLCH L 75.0% C 0.171 H 319.5°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).

Color values

HEX#DC87F1
RGBrgb(220, 135, 241)
HSLhsl(288, 79%, 74%)
HSVhsv(288, 44%, 95%)
CMYKcmyk(8.7%, 44%, 0%, 5.5%)
CIE-LABlab(68.68, 49.27, -40.21)
CIE-LCHlch(68.68, 63.59, 320.79°)
OKLaboklab(75.01% 0.1297 -0.1109)
OKLCHoklch(75.01% 0.171 319.5)
XYZxyz(54.0543, 38.8963, 87.8624)
Luminance0.3889 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC87F1 #9CF187
analogous
#A787F1 #DC87F1 #F187D1
triadic
#DC87F1 #F1DC87 #87F1DC
tetradic
#DC87F1 #F1A787 #9CF187 #87D1F1
square
#DC87F1 #F1A787 #9CF187 #87D1F1
split-complementary
#DC87F1 #D1F187 #87F1A7
monochromatic
#BB1AE3 #CC50EB #DC87F1 #ECBEF7 #F7E4FC

Accessibility & contrast

On white

2.39
#DC87F1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.78
#DC87F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC87F1
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC87F1#FFFFFF#000000##000000
##DC87F11.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A2F5
Deuteranopia (green-blind)
#8EABEE
Tritanopia (blue-blind)
#DD95B1
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #dc87f1;
/* rgb */ color: rgb(220, 135, 241);
/* oklch */ color: oklch(75.0% 0.171 319.5);
Tailwind
colors: {
  custom: {
    50: '#e8acf6',
    500: '#dc87f1',
    950: '#000000',
  },
}
SCSS
$custom: #dc87f1;
$custom-light: #e8acf6;
$custom-dark: #000000;
JSON
{
  "hex": "#dc87f1",
  "rgb": {
    "r": 220,
    "g": 135,
    "b": 241
  },
  "hsl": {
    "h": 288.113,
    "s": 79.104,
    "l": 73.725
  },
  "oklch": {
    "l": 0.75014,
    "c": 0.17067,
    "h": 319.5
  },
  "luminance": 0.38894
}

Semantic roles & 50–950 ramp

primary
#DC87F1
secondary
#DDF4D7
accent
#DB0A34
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#161017
muted
#847F85

Preview Lab

Preview with #DC87F1

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

Preview Lab → · Contrast checker → · Palette generator →

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