#D581ED#D581ED

#D581ED is a light, vivid purple. Relative luminance 0.360; OKLCH L 73.2% C 0.173 H 318.4°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#D581ED
RGBrgb(213, 129, 237)
HSLhsl(287, 75%, 72%)
HSVhsv(287, 46%, 93%)
CMYKcmyk(10.1%, 45.6%, 0%, 7.1%)
CIE-LABlab(66.49, 49.60, -41.48)
CIE-LCHlch(66.49, 64.66, 320.10°)
OKLaboklab(73.15% 0.1294 -0.1147)
OKLCHoklch(73.15% 0.173 318.4)
XYZxyz(50.5748, 35.9628, 84.3817)
Luminance0.3596 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D581ED #99ED81
analogous
#9F81ED #D581ED #ED81CF
triadic
#D581ED #EDD581 #81EDD5
tetradic
#D581ED #ED9F81 #99ED81 #81CFED
square
#D581ED #ED9F81 #99ED81 #81CFED
split-complementary
#D581ED #CFED81 #81ED9F
monochromatic
#AD1ED5 #C34BE5 #D581ED #E7B7F5 #F6E4FB

Accessibility & contrast

On white

2.56
#D581ED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#D581ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D581ED
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D581ED#FFFFFF#000000##000000
##D581ED1.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9CF1
Deuteranopia (green-blind)
#86A5EA
Tritanopia (blue-blind)
#D590AC
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #d581ed;
/* rgb */ color: rgb(213, 129, 237);
/* oklch */ color: oklch(73.2% 0.173 318.4);
Tailwind
colors: {
  custom: {
    50: '#e4a8f3',
    500: '#d581ed',
    950: '#000000',
  },
}
SCSS
$custom: #d581ed;
$custom-light: #e4a8f3;
$custom-dark: #000000;
JSON
{
  "hex": "#d581ed",
  "rgb": {
    "r": 213,
    "g": 129,
    "b": 237
  },
  "hsl": {
    "h": 286.667,
    "s": 75,
    "l": 71.765
  },
  "oklch": {
    "l": 0.73152,
    "c": 0.17287,
    "h": 318.4
  },
  "luminance": 0.35961
}

Semantic roles & 50–950 ramp

primary
#D581ED
secondary
#DDF3D7
accent
#D70E3B
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #D581ED

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

Preview Lab → · Contrast checker → · Palette generator →

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