#D687EF#D687EF

#D687EF is a light, vivid purple. Relative luminance 0.379; OKLCH L 74.3% C 0.166 H 317.7°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#D687EF
RGBrgb(214, 135, 239)
HSLhsl(286, 76%, 73%)
HSVhsv(286, 44%, 94%)
CMYKcmyk(10.5%, 43.5%, 0%, 6.3%)
CIE-LABlab(67.92, 47.16, -40.35)
CIE-LCHlch(67.92, 62.07, 319.46°)
OKLaboklab(74.27% 0.1225 -0.1114)
OKLCHoklch(74.27% 0.166 317.7)
XYZxyz(51.9733, 37.8577, 86.2141)
Luminance0.3786 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D687EF #A0EF87
analogous
#A287EF #D687EF #EF87D4
triadic
#D687EF #EFD687 #87EFD6
tetradic
#D687EF #EFA287 #A0EF87 #87D4EF
square
#D687EF #EFA287 #A0EF87 #87D4EF
split-complementary
#D687EF #D4EF87 #87EFA2
monochromatic
#B01EDE #C451E8 #D687EF #E8BDF6 #F6E4FB

Accessibility & contrast

On white

2.45
#D687EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#D687EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D687EF
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D687EF#FFFFFF#000000##000000
##D687EF1.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A0F3
Deuteranopia (green-blind)
#8BA8EC
Tritanopia (blue-blind)
#D695B0
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #d687ef;
/* rgb */ color: rgb(214, 135, 239);
/* oklch */ color: oklch(74.3% 0.166 317.7);
Tailwind
colors: {
  custom: {
    50: '#e4acf4',
    500: '#d687ef',
    950: '#000000',
  },
}
SCSS
$custom: #d687ef;
$custom-light: #e4acf4;
$custom-dark: #000000;
JSON
{
  "hex": "#d687ef",
  "rgb": {
    "r": 214,
    "g": 135,
    "b": 239
  },
  "hsl": {
    "h": 285.577,
    "s": 76.471,
    "l": 73.333
  },
  "oklch": {
    "l": 0.74269,
    "c": 0.16558,
    "h": 317.7
  },
  "luminance": 0.37856
}

Semantic roles & 50–950 ramp

primary
#D687EF
secondary
#DEF3D8
accent
#D90D3E
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #D687EF

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

Preview Lab → · Contrast checker → · Palette generator →

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