#D487F2#D487F2

#D487F2 is a light, vivid purple. Relative luminance 0.377; OKLCH L 74.2% C 0.168 H 316.0°. Best body text is #000000 at 8.55:1 contrast (WCAG AA passes).

Color values

HEX#D487F2
RGBrgb(212, 135, 242)
HSLhsl(283, 80%, 74%)
HSVhsv(283, 44%, 95%)
CMYKcmyk(12.4%, 44.2%, 0%, 5.1%)
CIE-LABlab(67.83, 47.20, -42.15)
CIE-LCHlch(67.83, 63.28, 318.23°)
OKLaboklab(74.2% 0.1207 -0.1167)
OKLCHoklch(74.2% 0.168 316)
XYZxyz(51.8399, 37.7372, 88.5404)
Luminance0.3774 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D487F2 #A5F287
analogous
#9F87F2 #D487F2 #F287DA
triadic
#D487F2 #F2D487 #87F2D4
tetradic
#D487F2 #F29F87 #A5F287 #87DAF2
square
#D487F2 #F29F87 #A5F287 #87DAF2
split-complementary
#D487F2 #DAF287 #87F29F
monochromatic
#AC19E6 #C050EC #D487F2 #E8BEF8 #F5E3FC

Accessibility & contrast

On white

2.46
#D487F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.55
#D487F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D487F2
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D487F2#FFFFFF#000000##000000
##D487F21.002.468.558.55
#FFFFFF2.461.0021.0021.00
#0000008.5521.001.001.00
##0000008.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A1F6
Deuteranopia (green-blind)
#88A8EF
Tritanopia (blue-blind)
#D396B1
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #d487f2;
/* rgb */ color: rgb(212, 135, 242);
/* oklch */ color: oklch(74.2% 0.168 316.0);
Tailwind
colors: {
  custom: {
    50: '#e3acf6',
    500: '#d487f2',
    950: '#000000',
  },
}
SCSS
$custom: #d487f2;
$custom-light: #e3acf6;
$custom-dark: #000000;
JSON
{
  "hex": "#d487f2",
  "rgb": {
    "r": 212,
    "g": 135,
    "b": 242
  },
  "hsl": {
    "h": 283.178,
    "s": 80.451,
    "l": 73.922
  },
  "oklch": {
    "l": 0.74197,
    "c": 0.16785,
    "h": 316
  },
  "luminance": 0.37736
}

Semantic roles & 50–950 ramp

primary
#D487F2
secondary
#DFF4D7
accent
#DD0944
background
#FEFAFF
surface
#FCF4FE
border
#D5CED6
text
#161017
muted
#847F85

Preview Lab

Preview with #D487F2

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

Preview Lab → · Contrast checker → · Palette generator →

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