#D487FE#D487FE

#D487FE is a light, vivid violet. Relative luminance 0.385; OKLCH L 74.8% C 0.181 H 312.6°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#D487FE
RGBrgb(212, 135, 254)
HSLhsl(279, 98%, 76%)
HSVhsv(279, 47%, 100%)
CMYKcmyk(16.5%, 46.9%, 0%, 0.4%)
CIE-LABlab(68.37, 49.67, -47.86)
CIE-LCHlch(68.37, 68.97, 316.07°)
OKLaboklab(74.78% 0.1224 -0.1332)
OKLCHoklch(74.78% 0.181 312.6)
XYZxyz(53.7017, 38.4819, 98.3455)
Luminance0.3848 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D487FE #B1FE87
analogous
#9987FE #D487FE #FE87EC
triadic
#D487FE #FED487 #87FED4
tetradic
#D487FE #FE9987 #B1FE87 #87ECFE
square
#D487FE #FE9987 #B1FE87 #87ECFE
split-complementary
#D487FE #ECFE87 #87FE99
monochromatic
#A90EFD #BE4AFD #D487FE #EAC4FF #F4E1FF

Accessibility & contrast

On white

2.41
#D487FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.70
#D487FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D487FE
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D487FE#FFFFFF#000000##000000
##D487FE1.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA3FF
Deuteranopia (green-blind)
#82A9FB
Tritanopia (blue-blind)
#D099B7
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #d487fe;
/* rgb */ color: rgb(212, 135, 254);
/* oklch */ color: oklch(74.8% 0.181 312.6);
Tailwind
colors: {
  custom: {
    50: '#e3acff',
    500: '#d487fe',
    950: '#000000',
  },
}
SCSS
$custom: #d487fe;
$custom-light: #e3acff;
$custom-dark: #000000;
JSON
{
  "hex": "#d487fe",
  "rgb": {
    "r": 212,
    "g": 135,
    "b": 254
  },
  "hsl": {
    "h": 278.824,
    "s": 98.347,
    "l": 76.275
  },
  "oklch": {
    "l": 0.74784,
    "c": 0.18089,
    "h": 312.6
  },
  "luminance": 0.38481
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D487FE

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

Preview Lab → · Contrast checker → · Palette generator →

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