#DE87F1#DE87F1

#DE87F1 is a light, vivid purple. Relative luminance 0.392; OKLCH L 75.2% C 0.172 H 320.2°. Best body text is #000000 at 8.84:1 contrast (WCAG AA passes).

Color values

HEX#DE87F1
RGBrgb(222, 135, 241)
HSLhsl(289, 79%, 74%)
HSVhsv(289, 44%, 95%)
CMYKcmyk(7.9%, 44%, 0%, 5.5%)
CIE-LABlab(68.90, 49.84, -39.83)
CIE-LCHlch(68.90, 63.80, 321.37°)
OKLaboklab(75.23% 0.132 -0.1098)
OKLCHoklch(75.23% 0.172 320.2)
XYZxyz(54.6634, 39.2104, 87.8909)
Luminance0.3921 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE87F1 #9AF187
analogous
#A987F1 #DE87F1 #F187CF
triadic
#DE87F1 #F1DE87 #87F1DE
tetradic
#DE87F1 #F1A987 #9AF187 #87CFF1
square
#DE87F1 #F1A987 #9AF187 #87CFF1
split-complementary
#DE87F1 #CFF187 #87F1A9
monochromatic
#BF1AE3 #CF50EB #DE87F1 #EDBEF7 #F7E4FC

Accessibility & contrast

On white

2.38
#DE87F1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.84
#DE87F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE87F1
8.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE87F1#FFFFFF#000000##000000
##DE87F11.002.388.848.84
#FFFFFF2.381.0021.0021.00
#0000008.8421.001.001.00
##0000008.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A2F5
Deuteranopia (green-blind)
#8FABEE
Tritanopia (blue-blind)
#DF94B1
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #de87f1;
/* rgb */ color: rgb(222, 135, 241);
/* oklch */ color: oklch(75.2% 0.172 320.2);
Tailwind
colors: {
  custom: {
    50: '#eaacf6',
    500: '#de87f1',
    950: '#000000',
  },
}
SCSS
$custom: #de87f1;
$custom-light: #eaacf6;
$custom-dark: #000000;
JSON
{
  "hex": "#de87f1",
  "rgb": {
    "r": 222,
    "g": 135,
    "b": 241
  },
  "hsl": {
    "h": 289.245,
    "s": 79.104,
    "l": 73.725
  },
  "oklch": {
    "l": 0.75233,
    "c": 0.17171,
    "h": 320.2
  },
  "luminance": 0.39208
}

Semantic roles & 50–950 ramp

primary
#DE87F1
secondary
#DCF4D7
accent
#DB0A30
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#161017
muted
#847F85

Preview Lab

Preview with #DE87F1

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

Preview Lab → · Contrast checker → · Palette generator →

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