#D487FA#D487FA

#D487FA is a light, vivid purple. Relative luminance 0.382; OKLCH L 74.6% C 0.177 H 313.7°. Best body text is #000000 at 8.65:1 contrast (WCAG AA passes).

Color values

HEX#D487FA
RGBrgb(212, 135, 250)
HSLhsl(280, 92%, 75%)
HSVhsv(280, 46%, 98%)
CMYKcmyk(15.2%, 46%, 0%, 2%)
CIE-LABlab(68.19, 48.84, -45.96)
CIE-LCHlch(68.19, 67.06, 316.74°)
OKLaboklab(74.59% 0.1219 -0.1277)
OKLCHoklch(74.59% 0.177 313.7)
XYZxyz(53.0678, 38.2284, 95.0072)
Luminance0.3823 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D487FA #ADFA87
analogous
#9A87FA #D487FA #FA87E6
triadic
#D487FA #FAD487 #87FAD4
tetradic
#D487FA #FA9A87 #ADFA87 #87E6FA
square
#D487FA #FA9A87 #ADFA87 #87E6FA
split-complementary
#D487FA #E6FA87 #87FA9A
monochromatic
#AA11F5 #BF4CF8 #D487FA #E9C2FC #F4E2FE

Accessibility & contrast

On white

2.43
#D487FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.65
#D487FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D487FA
8.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D487FA#FFFFFF#000000##000000
##D487FA1.002.438.658.65
#FFFFFF2.431.0021.0021.00
#0000008.6521.001.001.00
##0000008.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA2FE
Deuteranopia (green-blind)
#84A8F7
Tritanopia (blue-blind)
#D198B5
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #d487fa;
/* rgb */ color: rgb(212, 135, 250);
/* oklch */ color: oklch(74.6% 0.177 313.7);
Tailwind
colors: {
  custom: {
    50: '#e3acfc',
    500: '#d487fa',
    950: '#000000',
  },
}
SCSS
$custom: #d487fa;
$custom-light: #e3acfc;
$custom-dark: #000000;
JSON
{
  "hex": "#d487fa",
  "rgb": {
    "r": 212,
    "g": 135,
    "b": 250
  },
  "hsl": {
    "h": 280.174,
    "s": 92,
    "l": 75.49
  },
  "oklch": {
    "l": 0.74585,
    "c": 0.17651,
    "h": 313.7
  },
  "luminance": 0.38227
}

Semantic roles & 50–950 ramp

primary
#D487FA
secondary
#E0F6D5
accent
#E6004C
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #D487FA

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

Preview Lab → · Contrast checker → · Palette generator →

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