#D487FD#D487FD

#D487FD is a light, vivid violet. Relative luminance 0.384; OKLCH L 74.7% C 0.180 H 312.9°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#D487FD
RGBrgb(212, 135, 253)
HSLhsl(279, 97%, 76%)
HSVhsv(279, 47%, 99%)
CMYKcmyk(16.2%, 46.6%, 0%, 0.8%)
CIE-LABlab(68.33, 49.46, -47.38)
CIE-LCHlch(68.33, 68.49, 316.23°)
OKLaboklab(74.73% 0.1223 -0.1318)
OKLCHoklch(74.73% 0.18 312.9)
XYZxyz(53.5420, 38.4180, 97.5044)
Luminance0.3842 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D487FD #B0FD87
analogous
#9987FD #D487FD #FD87EB
triadic
#D487FD #FDD487 #87FDD4
tetradic
#D487FD #FD9987 #B0FD87 #87EBFD
square
#D487FD #FD9987 #B0FD87 #87EBFD
split-complementary
#D487FD #EBFD87 #87FD99
monochromatic
#A90FFB #BE4BFC #D487FD #EAC3FE #F4E1FE

Accessibility & contrast

On white

2.42
#D487FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.68
#D487FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D487FD
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D487FD#FFFFFF#000000##000000
##D487FD1.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA2FF
Deuteranopia (green-blind)
#83A8FA
Tritanopia (blue-blind)
#D099B6
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #d487fd;
/* rgb */ color: rgb(212, 135, 253);
/* oklch */ color: oklch(74.7% 0.180 312.9);
Tailwind
colors: {
  custom: {
    50: '#e3acfe',
    500: '#d487fd',
    950: '#000000',
  },
}
SCSS
$custom: #d487fd;
$custom-light: #e3acfe;
$custom-dark: #000000;
JSON
{
  "hex": "#d487fd",
  "rgb": {
    "r": 212,
    "g": 135,
    "b": 253
  },
  "hsl": {
    "h": 279.153,
    "s": 96.721,
    "l": 76.078
  },
  "oklch": {
    "l": 0.74734,
    "c": 0.17979,
    "h": 312.9
  },
  "luminance": 0.38417
}

Semantic roles & 50–950 ramp

primary
#D487FD
secondary
#E0F7D4
accent
#E60050
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #D487FD

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

Preview Lab → · Contrast checker → · Palette generator →

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