#D587FC#D587FC

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

Color values

HEX#D587FC
RGBrgb(213, 135, 252)
HSLhsl(280, 95%, 76%)
HSVhsv(280, 46%, 99%)
CMYKcmyk(15.5%, 46.4%, 0%, 1.2%)
CIE-LABlab(68.39, 49.53, -46.73)
CIE-LCHlch(68.39, 68.09, 316.66°)
OKLaboklab(74.79% 0.1233 -0.1299)
OKLCHoklch(74.79% 0.179 313.5)
XYZxyz(53.6723, 38.5036, 96.6812)
Luminance0.3850 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D587FC #AEFC87
analogous
#9A87FC #D587FC #FC87E8
triadic
#D587FC #FCD587 #87FCD5
tetradic
#D587FC #FC9A87 #AEFC87 #87E8FC
square
#D587FC #FC9A87 #AEFC87 #87E8FC
split-complementary
#D587FC #E8FC87 #87FC9A
monochromatic
#AB10F9 #C04BFB #D587FC #EAC3FD #F5E1FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D587FC#FFFFFF#000000##000000
##D587FC1.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)
#6EA2FF
Deuteranopia (green-blind)
#84A9F9
Tritanopia (blue-blind)
#D299B6
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #d587fc;
/* rgb */ color: rgb(213, 135, 252);
/* oklch */ color: oklch(74.8% 0.179 313.5);
Tailwind
colors: {
  custom: {
    50: '#e4acfe',
    500: '#d587fc',
    950: '#000000',
  },
}
SCSS
$custom: #d587fc;
$custom-light: #e4acfe;
$custom-dark: #000000;
JSON
{
  "hex": "#d587fc",
  "rgb": {
    "r": 213,
    "g": 135,
    "b": 252
  },
  "hsl": {
    "h": 280,
    "s": 95.122,
    "l": 75.882
  },
  "oklch": {
    "l": 0.7479,
    "c": 0.17911,
    "h": 313.5
  },
  "luminance": 0.38502
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D587FC

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

Preview Lab → · Contrast checker → · Palette generator →

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