#D581E7#D581E7

#D581E7 is a light, vivid purple. Relative luminance 0.356; OKLCH L 72.9% C 0.167 H 320.4°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#D581E7
RGBrgb(213, 129, 231)
HSLhsl(289, 68%, 71%)
HSVhsv(289, 44%, 91%)
CMYKcmyk(7.8%, 44.2%, 0%, 9.4%)
CIE-LABlab(66.23, 48.43, -38.58)
CIE-LCHlch(66.23, 61.92, 321.46°)
OKLaboklab(72.87% 0.1284 -0.1063)
OKLCHoklch(72.87% 0.167 320.4)
XYZxyz(49.7129, 35.6180, 79.8421)
Luminance0.3562 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D581E7 #93E781
analogous
#A281E7 #D581E7 #E781C6
triadic
#D581E7 #E7D581 #81E7D5
tetradic
#D581E7 #E7A281 #93E781 #81C6E7
square
#D581E7 #E7A281 #93E781 #81C6E7
split-complementary
#D581E7 #C6E781 #81E7A2
monochromatic
#AB26C8 #C44EDD #D581E7 #E6B4F1 #F6E5FA

Accessibility & contrast

On white

2.59
#D581E7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#D581E7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D581E7
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D581E7#FFFFFF#000000##000000
##D581E71.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#729BEB
Deuteranopia (green-blind)
#89A4E4
Tritanopia (blue-blind)
#D68EA9
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d581e7;
/* rgb */ color: rgb(213, 129, 231);
/* oklch */ color: oklch(72.9% 0.167 320.4);
Tailwind
colors: {
  custom: {
    50: '#e4a8ef',
    500: '#d581e7',
    950: '#000000',
  },
}
SCSS
$custom: #d581e7;
$custom-light: #e4a8ef;
$custom-dark: #000000;
JSON
{
  "hex": "#d581e7",
  "rgb": {
    "r": 213,
    "g": 129,
    "b": 231
  },
  "hsl": {
    "h": 289.412,
    "s": 68,
    "l": 70.588
  },
  "oklch": {
    "l": 0.72869,
    "c": 0.16669,
    "h": 320.4
  },
  "luminance": 0.35616
}

Semantic roles & 50–950 ramp

primary
#D581E7
secondary
#D9F0D4
accent
#D01636
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #D581E7

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

Preview Lab → · Contrast checker → · Palette generator →

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