#D587F2#D587F2

#D587F2 is a light, vivid purple. Relative luminance 0.379; OKLCH L 74.3% C 0.168 H 316.4°. Best body text is #000000 at 8.58:1 contrast (WCAG AA passes).

Color values

HEX#D587F2
RGBrgb(213, 135, 242)
HSLhsl(284, 80%, 74%)
HSVhsv(284, 44%, 95%)
CMYKcmyk(12%, 44.2%, 0%, 5.1%)
CIE-LABlab(67.94, 47.48, -41.97)
CIE-LCHlch(67.94, 63.37, 318.53°)
OKLaboklab(74.3% 0.1218 -0.1161)
OKLCHoklch(74.3% 0.168 316.4)
XYZxyz(52.1292, 37.8864, 88.5539)
Luminance0.3789 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D587F2 #A4F287
analogous
#A087F2 #D587F2 #F287DA
triadic
#D587F2 #F2D587 #87F2D5
tetradic
#D587F2 #F2A087 #A4F287 #87DAF2
square
#D587F2 #F2A087 #A4F287 #87DAF2
split-complementary
#D587F2 #DAF287 #87F2A0
monochromatic
#AE19E6 #C250EC #D587F2 #E8BEF8 #F5E3FC

Accessibility & contrast

On white

2.45
#D587F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.58
#D587F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D587F2
8.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D587F2#FFFFFF#000000##000000
##D587F21.002.458.588.58
#FFFFFF2.451.0021.0021.00
#0000008.5821.001.001.00
##0000008.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A1F6
Deuteranopia (green-blind)
#89A8EF
Tritanopia (blue-blind)
#D496B1
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #d587f2;
/* rgb */ color: rgb(213, 135, 242);
/* oklch */ color: oklch(74.3% 0.168 316.4);
Tailwind
colors: {
  custom: {
    50: '#e4acf6',
    500: '#d587f2',
    950: '#000000',
  },
}
SCSS
$custom: #d587f2;
$custom-light: #e4acf6;
$custom-dark: #000000;
JSON
{
  "hex": "#d587f2",
  "rgb": {
    "r": 213,
    "g": 135,
    "b": 242
  },
  "hsl": {
    "h": 283.738,
    "s": 80.451,
    "l": 73.922
  },
  "oklch": {
    "l": 0.74304,
    "c": 0.1683,
    "h": 316.4
  },
  "luminance": 0.37885
}

Semantic roles & 50–950 ramp

primary
#D587F2
secondary
#DFF4D7
accent
#DD0942
background
#FEFAFF
surface
#FCF4FE
border
#D5CED6
text
#161017
muted
#847F85

Preview Lab

Preview with #D587F2

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

Preview Lab → · Contrast checker → · Palette generator →

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