#D581EE#D581EE

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

Color values

HEX#D581EE
RGBrgb(213, 129, 238)
HSLhsl(286, 76%, 72%)
HSVhsv(286, 46%, 93%)
CMYKcmyk(10.5%, 45.8%, 0%, 6.7%)
CIE-LABlab(66.54, 49.80, -41.96)
CIE-LCHlch(66.54, 65.12, 319.88°)
OKLaboklab(73.2% 0.1295 -0.1161)
OKLCHoklch(73.2% 0.174 318.1)
XYZxyz(50.7213, 36.0214, 85.1533)
Luminance0.3602 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D581EE #9AEE81
analogous
#9F81EE #D581EE #EE81D0
triadic
#D581EE #EED581 #81EED5
tetradic
#D581EE #EE9F81 #9AEE81 #81D0EE
square
#D581EE #EE9F81 #9AEE81 #81D0EE
split-complementary
#D581EE #D0EE81 #81EE9F
monochromatic
#AD1DD8 #C34BE7 #D581EE #E7B7F5 #F6E4FB

Accessibility & contrast

On white

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

On black

8.20
#D581EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D581EE
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D581EE#FFFFFF#000000##000000
##D581EE1.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d581ee;
/* rgb */ color: rgb(213, 129, 238);
/* oklch */ color: oklch(73.2% 0.174 318.1);
Tailwind
colors: {
  custom: {
    50: '#e4a8f4',
    500: '#d581ee',
    950: '#000000',
  },
}
SCSS
$custom: #d581ee;
$custom-light: #e4a8f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d581ee",
  "rgb": {
    "r": 213,
    "g": 129,
    "b": 238
  },
  "hsl": {
    "h": 286.239,
    "s": 76.224,
    "l": 71.961
  },
  "oklch": {
    "l": 0.732,
    "c": 0.17391,
    "h": 318.1
  },
  "luminance": 0.3602
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D581EE

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

Preview Lab → · Contrast checker → · Palette generator →

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