#D581E8#D581E8

#D581E8 is a light, vivid purple. Relative luminance 0.357; OKLCH L 72.9% C 0.168 H 320.0°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#D581E8
RGBrgb(213, 129, 232)
HSLhsl(289, 69%, 71%)
HSVhsv(289, 44%, 91%)
CMYKcmyk(8.2%, 44.4%, 0%, 9%)
CIE-LABlab(66.27, 48.62, -39.07)
CIE-LCHlch(66.27, 62.37, 321.22°)
OKLaboklab(72.91% 0.1285 -0.1077)
OKLCHoklch(72.91% 0.168 320)
XYZxyz(49.8545, 35.6746, 80.5880)
Luminance0.3567 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D581E8 #94E881
analogous
#A181E8 #D581E8 #E881C7
triadic
#D581E8 #E8D581 #81E8D5
tetradic
#D581E8 #E8A181 #94E881 #81C7E8
square
#D581E8 #E8A181 #94E881 #81C7E8
split-complementary
#D581E8 #C7E881 #81E8A1
monochromatic
#AB25CA #C44DDF #D581E8 #E6B5F1 #F6E5FA

Accessibility & contrast

On white

2.58
#D581E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#D581E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D581E8
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D581E8#FFFFFF#000000##000000
##D581E81.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#729BEC
Deuteranopia (green-blind)
#89A4E5
Tritanopia (blue-blind)
#D68EAA
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d581e8;
/* rgb */ color: rgb(213, 129, 232);
/* oklch */ color: oklch(72.9% 0.168 320.0);
Tailwind
colors: {
  custom: {
    50: '#e4a8ef',
    500: '#d581e8',
    950: '#000000',
  },
}
SCSS
$custom: #d581e8;
$custom-light: #e4a8ef;
$custom-dark: #000000;
JSON
{
  "hex": "#d581e8",
  "rgb": {
    "r": 213,
    "g": 129,
    "b": 232
  },
  "hsl": {
    "h": 288.932,
    "s": 69.128,
    "l": 70.784
  },
  "oklch": {
    "l": 0.72915,
    "c": 0.16772,
    "h": 320
  },
  "luminance": 0.35673
}

Semantic roles & 50–950 ramp

primary
#D581E8
secondary
#DAF0D5
accent
#D11437
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #D581E8

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

Preview Lab → · Contrast checker → · Palette generator →

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