#DC87F3#DC87F3

#DC87F3 is a light, vivid purple. Relative luminance 0.390; OKLCH L 75.1% C 0.173 H 318.8°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#DC87F3
RGBrgb(220, 135, 243)
HSLhsl(287, 82%, 74%)
HSVhsv(287, 44%, 95%)
CMYKcmyk(9.5%, 44.4%, 0%, 4.7%)
CIE-LABlab(68.76, 49.66, -41.17)
CIE-LCHlch(68.76, 64.51, 320.34°)
OKLaboklab(75.11% 0.1301 -0.1137)
OKLCHoklch(75.11% 0.173 318.8)
XYZxyz(54.3547, 39.0165, 89.4444)
Luminance0.3901 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC87F3 #9EF387
analogous
#A687F3 #DC87F3 #F387D4
triadic
#DC87F3 #F3DC87 #87F3DC
tetradic
#DC87F3 #F3A687 #9EF387 #87D4F3
square
#DC87F3 #F3A687 #9EF387 #87D4F3
split-complementary
#DC87F3 #D4F387 #87F3A6
monochromatic
#BC18E8 #CC4FED #DC87F3 #ECBFF9 #F7E3FC

Accessibility & contrast

On white

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

On black

8.80
#DC87F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC87F3
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC87F3#FFFFFF#000000##000000
##DC87F31.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A2F7
Deuteranopia (green-blind)
#8DABF0
Tritanopia (blue-blind)
#DD95B2
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #dc87f3;
/* rgb */ color: rgb(220, 135, 243);
/* oklch */ color: oklch(75.1% 0.173 318.8);
Tailwind
colors: {
  custom: {
    50: '#e9acf7',
    500: '#dc87f3',
    950: '#000000',
  },
}
SCSS
$custom: #dc87f3;
$custom-light: #e9acf7;
$custom-dark: #000000;
JSON
{
  "hex": "#dc87f3",
  "rgb": {
    "r": 220,
    "g": 135,
    "b": 243
  },
  "hsl": {
    "h": 287.222,
    "s": 81.818,
    "l": 74.118
  },
  "oklch": {
    "l": 0.75108,
    "c": 0.17273,
    "h": 318.8
  },
  "luminance": 0.39015
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DC87F3

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

Preview Lab → · Contrast checker → · Palette generator →

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