#D487EB#D487EB

#D487EB is a light, vivid purple. Relative luminance 0.373; OKLCH L 73.9% C 0.160 H 318.2°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#D487EB
RGBrgb(212, 135, 235)
HSLhsl(286, 71%, 73%)
HSVhsv(286, 43%, 92%)
CMYKcmyk(9.8%, 42.6%, 0%, 7.8%)
CIE-LABlab(67.52, 45.79, -38.78)
CIE-LCHlch(67.52, 60.01, 319.74°)
OKLaboklab(73.87% 0.1195 -0.107)
OKLCHoklch(73.87% 0.16 318.2)
XYZxyz(50.8087, 37.3247, 83.1091)
Luminance0.3732 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D487EB #9EEB87
analogous
#A287EB #D487EB #EB87D0
triadic
#D487EB #EBD487 #87EBD4
tetradic
#D487EB #EBA287 #9EEB87 #87D0EB
square
#D487EB #EBA287 #9EEB87 #87D0EB
split-complementary
#D487EB #D0EB87 #87EBA2
monochromatic
#AC23D4 #C153E2 #D487EB #E7BBF4 #F6E5FB

Accessibility & contrast

On white

2.48
#D487EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.46
#D487EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D487EB
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D487EB#FFFFFF#000000##000000
##D487EB1.002.488.468.46
#FFFFFF2.481.0021.0021.00
#0000008.4621.001.001.00
##0000008.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#779FEF
Deuteranopia (green-blind)
#8CA7E8
Tritanopia (blue-blind)
#D494AE
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #d487eb;
/* rgb */ color: rgb(212, 135, 235);
/* oklch */ color: oklch(73.9% 0.160 318.2);
Tailwind
colors: {
  custom: {
    50: '#e3abf2',
    500: '#d487eb',
    950: '#000000',
  },
}
SCSS
$custom: #d487eb;
$custom-light: #e3abf2;
$custom-dark: #000000;
JSON
{
  "hex": "#d487eb",
  "rgb": {
    "r": 212,
    "g": 135,
    "b": 235
  },
  "hsl": {
    "h": 286.2,
    "s": 71.429,
    "l": 72.549
  },
  "oklch": {
    "l": 0.73867,
    "c": 0.16036,
    "h": 318.2
  },
  "luminance": 0.37323
}

Semantic roles & 50–950 ramp

primary
#D487EB
secondary
#DFF2D9
accent
#D3123F
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #D487EB

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

Preview Lab → · Contrast checker → · Palette generator →

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