#D581EF#D581EF

#D581EF is a light, vivid purple. Relative luminance 0.361; OKLCH L 73.2% C 0.175 H 317.8°. Best body text is #000000 at 8.22:1 contrast (WCAG AA passes).

Color values

HEX#D581EF
RGBrgb(213, 129, 239)
HSLhsl(286, 77%, 72%)
HSVhsv(286, 46%, 94%)
CMYKcmyk(10.9%, 46%, 0%, 6.3%)
CIE-LABlab(66.58, 50.00, -42.44)
CIE-LCHlch(66.58, 65.58, 319.67°)
OKLaboklab(73.25% 0.1297 -0.1175)
OKLCHoklch(73.25% 0.175 317.8)
XYZxyz(50.8687, 36.0803, 85.9292)
Luminance0.3608 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D581EF #9BEF81
analogous
#9E81EF #D581EF #EF81D2
triadic
#D581EF #EFD581 #81EFD5
tetradic
#D581EF #EF9E81 #9BEF81 #81D2EF
square
#D581EF #EF9E81 #9BEF81 #81D2EF
split-complementary
#D581EF #D2EF81 #81EF9E
monochromatic
#AD1CDA #C34BE8 #D581EF #E7B7F6 #F6E4FC

Accessibility & contrast

On white

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

On black

8.22
#D581EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D581EF
8.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D581EF#FFFFFF#000000##000000
##D581EF1.002.568.228.22
#FFFFFF2.561.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9CF3
Deuteranopia (green-blind)
#86A5EC
Tritanopia (blue-blind)
#D590AD
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #d581ef;
/* rgb */ color: rgb(213, 129, 239);
/* oklch */ color: oklch(73.2% 0.175 317.8);
Tailwind
colors: {
  custom: {
    50: '#e4a8f4',
    500: '#d581ef',
    950: '#000000',
  },
}
SCSS
$custom: #d581ef;
$custom-light: #e4a8f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d581ef",
  "rgb": {
    "r": 213,
    "g": 129,
    "b": 239
  },
  "hsl": {
    "h": 285.818,
    "s": 77.465,
    "l": 72.157
  },
  "oklch": {
    "l": 0.73249,
    "c": 0.17495,
    "h": 317.8
  },
  "luminance": 0.36079
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D581EF

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

Preview Lab → · Contrast checker → · Palette generator →

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