#D587F9#D587F9

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

Color values

HEX#D587F9
RGBrgb(213, 135, 249)
HSLhsl(281, 90%, 75%)
HSVhsv(281, 46%, 98%)
CMYKcmyk(14.5%, 45.8%, 0%, 2.4%)
CIE-LABlab(68.25, 48.91, -45.31)
CIE-LCHlch(68.25, 66.67, 317.19°)
OKLaboklab(74.64% 0.1229 -0.1258)
OKLCHoklch(74.64% 0.176 314.3)
XYZxyz(53.2007, 38.3150, 94.1972)
Luminance0.3831 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D587F9 #ABF987
analogous
#9C87F9 #D587F9 #F987E4
triadic
#D587F9 #F9D587 #87F9D5
tetradic
#D587F9 #F99C87 #ABF987 #87E4F9
square
#D587F9 #F99C87 #ABF987 #87E4F9
split-complementary
#D587F9 #E4F987 #87F99C
monochromatic
#AC12F3 #C14DF6 #D587F9 #E9C1FC #F5E2FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D587F9#FFFFFF#000000##000000
##D587F91.002.428.668.66
#FFFFFF2.421.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A2FD
Deuteranopia (green-blind)
#86A9F6
Tritanopia (blue-blind)
#D298B4
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #d587f9;
/* rgb */ color: rgb(213, 135, 249);
/* oklch */ color: oklch(74.6% 0.176 314.3);
Tailwind
colors: {
  custom: {
    50: '#e4acfb',
    500: '#d587f9',
    950: '#000000',
  },
}
SCSS
$custom: #d587f9;
$custom-light: #e4acfb;
$custom-dark: #000000;
JSON
{
  "hex": "#d587f9",
  "rgb": {
    "r": 213,
    "g": 135,
    "b": 249
  },
  "hsl": {
    "h": 281.053,
    "s": 90.476,
    "l": 75.294
  },
  "oklch": {
    "l": 0.74642,
    "c": 0.17585,
    "h": 314.3
  },
  "luminance": 0.38314
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D587F9

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

Preview Lab → · Contrast checker → · Palette generator →

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