#D487EF#D487EF

#D487EF is a light, vivid purple. Relative luminance 0.376; OKLCH L 74.1% C 0.165 H 316.9°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#D487EF
RGBrgb(212, 135, 239)
HSLhsl(284, 76%, 73%)
HSVhsv(284, 44%, 94%)
CMYKcmyk(11.3%, 43.5%, 0%, 6.3%)
CIE-LABlab(67.69, 46.59, -40.71)
CIE-LCHlch(67.69, 61.87, 318.86°)
OKLaboklab(74.05% 0.1202 -0.1125)
OKLCHoklch(74.05% 0.165 316.9)
XYZxyz(51.3931, 37.5585, 86.1869)
Luminance0.3756 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D487EF #A2EF87
analogous
#A087EF #D487EF #EF87D6
triadic
#D487EF #EFD487 #87EFD4
tetradic
#D487EF #EFA087 #A2EF87 #87D6EF
square
#D487EF #EFA087 #A2EF87 #87D6EF
split-complementary
#D487EF #D6EF87 #87EFA0
monochromatic
#AC1EDE #C151E8 #D487EF #E7BDF6 #F5E4FB

Accessibility & contrast

On white

2.47
#D487EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.51
#D487EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D487EF
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D487EF#FFFFFF#000000##000000
##D487EF1.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A0F3
Deuteranopia (green-blind)
#8AA7EC
Tritanopia (blue-blind)
#D395B0
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #d487ef;
/* rgb */ color: rgb(212, 135, 239);
/* oklch */ color: oklch(74.1% 0.165 316.9);
Tailwind
colors: {
  custom: {
    50: '#e3acf4',
    500: '#d487ef',
    950: '#000000',
  },
}
SCSS
$custom: #d487ef;
$custom-light: #e3acf4;
$custom-dark: #000000;
JSON
{
  "hex": "#d487ef",
  "rgb": {
    "r": 212,
    "g": 135,
    "b": 239
  },
  "hsl": {
    "h": 284.423,
    "s": 76.471,
    "l": 73.333
  },
  "oklch": {
    "l": 0.74054,
    "c": 0.16463,
    "h": 316.9
  },
  "luminance": 0.37557
}

Semantic roles & 50–950 ramp

primary
#D487EF
secondary
#DFF3D8
accent
#D90D42
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #D487EF

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

Preview Lab → · Contrast checker → · Palette generator →

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