#D487FC#D487FC

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

Color values

HEX#D487FC
RGBrgb(212, 135, 252)
HSLhsl(279, 95%, 76%)
HSVhsv(279, 46%, 99%)
CMYKcmyk(15.9%, 46.4%, 0%, 1.2%)
CIE-LABlab(68.28, 49.25, -46.91)
CIE-LCHlch(68.28, 68.02, 316.40°)
OKLaboklab(74.68% 0.1222 -0.1304)
OKLCHoklch(74.68% 0.179 313.1)
XYZxyz(53.3831, 38.3545, 96.6676)
Luminance0.3835 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D487FC #AFFC87
analogous
#9987FC #D487FC #FC87EA
triadic
#D487FC #FCD487 #87FCD4
tetradic
#D487FC #FC9987 #AFFC87 #87EAFC
square
#D487FC #FC9987 #AFFC87 #87EAFC
split-complementary
#D487FC #EAFC87 #87FC99
monochromatic
#A910F9 #BF4BFB #D487FC #E9C3FD #F4E1FE

Accessibility & contrast

On white

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

On black

8.67
#D487FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D487FC
8.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D487FC#FFFFFF#000000##000000
##D487FC1.002.428.678.67
#FFFFFF2.421.0021.0021.00
#0000008.6721.001.001.00
##0000008.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA2FF
Deuteranopia (green-blind)
#83A8F9
Tritanopia (blue-blind)
#D099B6
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #d487fc;
/* rgb */ color: rgb(212, 135, 252);
/* oklch */ color: oklch(74.7% 0.179 313.1);
Tailwind
colors: {
  custom: {
    50: '#e3acfe',
    500: '#d487fc',
    950: '#000000',
  },
}
SCSS
$custom: #d487fc;
$custom-light: #e3acfe;
$custom-dark: #000000;
JSON
{
  "hex": "#d487fc",
  "rgb": {
    "r": 212,
    "g": 135,
    "b": 252
  },
  "hsl": {
    "h": 279.487,
    "s": 95.122,
    "l": 75.882
  },
  "oklch": {
    "l": 0.74684,
    "c": 0.1787,
    "h": 313.1
  },
  "luminance": 0.38353
}

Semantic roles & 50–950 ramp

primary
#D487FC
secondary
#E0F6D5
accent
#E6004E
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #D487FC

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

Preview Lab → · Contrast checker → · Palette generator →

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