#D582EB#D582EB

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

Color values

HEX#D582EB
RGBrgb(213, 130, 235)
HSLhsl(287, 72%, 72%)
HSVhsv(287, 45%, 92%)
CMYKcmyk(9.4%, 44.7%, 0%, 7.8%)
CIE-LABlab(66.60, 48.69, -40.20)
CIE-LCHlch(66.60, 63.14, 320.46°)
OKLaboklab(73.21% 0.1276 -0.111)
OKLCHoklch(73.21% 0.169 319)
XYZxyz(50.4166, 36.1113, 82.8956)
Luminance0.3611 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D582EB #98EB82
analogous
#A182EB #D582EB #EB82CC
triadic
#D582EB #EBD582 #82EBD5
tetradic
#D582EB #EBA182 #98EB82 #82CCEB
square
#D582EB #EBA182 #98EB82 #82CCEB
split-complementary
#D582EB #CCEB82 #82EBA1
monochromatic
#AC21D1 #C34DE3 #D582EB #E7B7F3 #F6E5FB

Accessibility & contrast

On white

2.55
#D582EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##D582EB#FFFFFF#000000##000000
##D582EB1.002.558.228.22
#FFFFFF2.551.0021.0021.00
#0000008.2221.001.001.00
##0000008.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#719CEF
Deuteranopia (green-blind)
#88A5E8
Tritanopia (blue-blind)
#D690AC
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #d582eb;
/* rgb */ color: rgb(213, 130, 235);
/* oklch */ color: oklch(73.2% 0.169 319.0);
Tailwind
colors: {
  custom: {
    50: '#e4a8f2',
    500: '#d582eb',
    950: '#000000',
  },
}
SCSS
$custom: #d582eb;
$custom-light: #e4a8f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d582eb",
  "rgb": {
    "r": 213,
    "g": 130,
    "b": 235
  },
  "hsl": {
    "h": 287.429,
    "s": 72.414,
    "l": 71.569
  },
  "oklch": {
    "l": 0.73208,
    "c": 0.16915,
    "h": 319
  },
  "luminance": 0.3611
}

Semantic roles & 50–950 ramp

primary
#D582EB
secondary
#DDF2D7
accent
#D4113A
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #D582EB

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

Preview Lab → · Contrast checker → · Palette generator →

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