#D585EC#D585EC

#D585EC is a light, vivid purple. Relative luminance 0.370; OKLCH L 73.7% C 0.165 H 318.4°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#D585EC
RGBrgb(213, 133, 236)
HSLhsl(287, 73%, 72%)
HSVhsv(287, 44%, 93%)
CMYKcmyk(9.7%, 43.6%, 0%, 7.5%)
CIE-LABlab(67.26, 47.33, -39.73)
CIE-LCHlch(67.26, 61.79, 319.99°)
OKLaboklab(73.71% 0.1236 -0.1097)
OKLCHoklch(73.71% 0.165 318.4)
XYZxyz(50.9664, 36.9790, 83.7935)
Luminance0.3698 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D585EC #9CEC85
analogous
#A285EC #D585EC #EC85D0
triadic
#D585EC #ECD585 #85ECD5
tetradic
#D585EC #ECA285 #9CEC85 #85D0EC
square
#D585EC #ECA285 #9CEC85 #85D0EC
split-complementary
#D585EC #D0EC85 #85ECA2
monochromatic
#AD21D5 #C350E4 #D585EC #E7BAF4 #F6E5FB

Accessibility & contrast

On white

2.50
#D585EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#D585EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D585EC
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D585EC#FFFFFF#000000##000000
##D585EC1.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#759EF0
Deuteranopia (green-blind)
#8AA6E9
Tritanopia (blue-blind)
#D593AD
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #d585ec;
/* rgb */ color: rgb(213, 133, 236);
/* oklch */ color: oklch(73.7% 0.165 318.4);
Tailwind
colors: {
  custom: {
    50: '#e3aaf2',
    500: '#d585ec',
    950: '#000000',
  },
}
SCSS
$custom: #d585ec;
$custom-light: #e3aaf2;
$custom-dark: #000000;
JSON
{
  "hex": "#d585ec",
  "rgb": {
    "r": 213,
    "g": 133,
    "b": 236
  },
  "hsl": {
    "h": 286.602,
    "s": 73.05,
    "l": 72.353
  },
  "oklch": {
    "l": 0.73712,
    "c": 0.16524,
    "h": 318.4
  },
  "luminance": 0.36977
}

Semantic roles & 50–950 ramp

primary
#D585EC
secondary
#DEF3D8
accent
#D5103C
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #D585EC

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

Preview Lab → · Contrast checker → · Palette generator →

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