#D487FB#D487FB

#D487FB is a light, vivid violet. Relative luminance 0.383; OKLCH L 74.6% C 0.178 H 313.4°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#D487FB
RGBrgb(212, 135, 251)
HSLhsl(280, 94%, 76%)
HSVhsv(280, 46%, 98%)
CMYKcmyk(15.5%, 46.2%, 0%, 1.6%)
CIE-LABlab(68.23, 49.04, -46.44)
CIE-LCHlch(68.23, 67.54, 316.56°)
OKLaboklab(74.63% 0.122 -0.1291)
OKLCHoklch(74.63% 0.178 313.4)
XYZxyz(53.2250, 38.2913, 95.8352)
Luminance0.3829 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D487FB #AEFB87
analogous
#9A87FB #D487FB #FB87E8
triadic
#D487FB #FBD487 #87FBD4
tetradic
#D487FB #FB9A87 #AEFB87 #87E8FB
square
#D487FB #FB9A87 #AEFB87 #87E8FB
split-complementary
#D487FB #E8FB87 #87FB9A
monochromatic
#AA11F7 #BF4CF9 #D487FB #E9C2FD #F4E1FE

Accessibility & contrast

On white

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

On black

8.66
#D487FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D487FB
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D487FB#FFFFFF#000000##000000
##D487FB1.002.438.668.66
#FFFFFF2.431.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6FA2FF
Deuteranopia (green-blind)
#84A8F8
Tritanopia (blue-blind)
#D199B5
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #d487fb;
/* rgb */ color: rgb(212, 135, 251);
/* oklch */ color: oklch(74.6% 0.178 313.4);
Tailwind
colors: {
  custom: {
    50: '#e3acfd',
    500: '#d487fb',
    950: '#000000',
  },
}
SCSS
$custom: #d487fb;
$custom-light: #e3acfd;
$custom-dark: #000000;
JSON
{
  "hex": "#d487fb",
  "rgb": {
    "r": 212,
    "g": 135,
    "b": 251
  },
  "hsl": {
    "h": 279.828,
    "s": 93.548,
    "l": 75.686
  },
  "oklch": {
    "l": 0.74635,
    "c": 0.17761,
    "h": 313.4
  },
  "luminance": 0.3829
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D487FB

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

Preview Lab → · Contrast checker → · Palette generator →

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