#D487EE#D487EE

#D487EE is a light, vivid purple. Relative luminance 0.375; OKLCH L 74.0% C 0.164 H 317.2°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#D487EE
RGBrgb(212, 135, 238)
HSLhsl(285, 75%, 73%)
HSVhsv(285, 43%, 93%)
CMYKcmyk(10.9%, 43.3%, 0%, 6.7%)
CIE-LABlab(67.65, 46.39, -40.23)
CIE-LCHlch(67.65, 61.40, 319.07°)
OKLaboklab(74.01% 0.12 -0.1111)
OKLCHoklch(74.01% 0.164 317.2)
XYZxyz(51.2458, 37.4995, 85.4110)
Luminance0.3750 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D487EE #A1EE87
analogous
#A087EE #D487EE #EE87D5
triadic
#D487EE #EED487 #87EED4
tetradic
#D487EE #EEA087 #A1EE87 #87D5EE
square
#D487EE #EEA087 #A1EE87 #87D5EE
split-complementary
#D487EE #D5EE87 #87EEA0
monochromatic
#AC1FDC #C151E6 #D487EE #E7BDF6 #F5E4FB

Accessibility & contrast

On white

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

On black

8.50
#D487EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D487EE
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D487EE#FFFFFF#000000##000000
##D487EE1.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A0F2
Deuteranopia (green-blind)
#8AA7EB
Tritanopia (blue-blind)
#D495AF
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #d487ee;
/* rgb */ color: rgb(212, 135, 238);
/* oklch */ color: oklch(74.0% 0.164 317.2);
Tailwind
colors: {
  custom: {
    50: '#e3acf4',
    500: '#d487ee',
    950: '#000000',
  },
}
SCSS
$custom: #d487ee;
$custom-light: #e3acf4;
$custom-dark: #000000;
JSON
{
  "hex": "#d487ee",
  "rgb": {
    "r": 212,
    "g": 135,
    "b": 238
  },
  "hsl": {
    "h": 284.854,
    "s": 75.182,
    "l": 73.137
  },
  "oklch": {
    "l": 0.74007,
    "c": 0.16355,
    "h": 317.2
  },
  "luminance": 0.37498
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D487EE

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

Preview Lab → · Contrast checker → · Palette generator →

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