#D382EB#D382EB

#D382EB is a light, vivid purple. Relative luminance 0.358; OKLCH L 73.0% C 0.168 H 318.2°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#D382EB
RGBrgb(211, 130, 235)
HSLhsl(286, 72%, 72%)
HSVhsv(286, 45%, 92%)
CMYKcmyk(10.2%, 44.7%, 0%, 7.8%)
CIE-LABlab(66.38, 48.12, -40.57)
CIE-LCHlch(66.38, 62.94, 319.86°)
OKLaboklab(72.99% 0.1253 -0.1121)
OKLCHoklch(72.99% 0.168 318.2)
XYZxyz(49.8399, 35.8139, 82.8685)
Luminance0.3581 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D382EB #9AEB82
analogous
#9F82EB #D382EB #EB82CF
triadic
#D382EB #EBD382 #82EBD3
tetradic
#D382EB #EB9F82 #9AEB82 #82CFEB
square
#D382EB #EB9F82 #9AEB82 #82CFEB
split-complementary
#D382EB #CFEB82 #82EB9F
monochromatic
#A921D1 #C04DE3 #D382EB #E6B7F3 #F6E5FB

Accessibility & contrast

On white

2.57
#D382EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#D382EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D382EB
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D382EB#FFFFFF#000000##000000
##D382EB1.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#719CEF
Deuteranopia (green-blind)
#87A4E8
Tritanopia (blue-blind)
#D390AC
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d382eb;
/* rgb */ color: rgb(211, 130, 235);
/* oklch */ color: oklch(73.0% 0.168 318.2);
Tailwind
colors: {
  custom: {
    50: '#e2a8f2',
    500: '#d382eb',
    950: '#000000',
  },
}
SCSS
$custom: #d382eb;
$custom-light: #e2a8f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d382eb",
  "rgb": {
    "r": 211,
    "g": 130,
    "b": 235
  },
  "hsl": {
    "h": 286.286,
    "s": 72.414,
    "l": 71.569
  },
  "oklch": {
    "l": 0.72988,
    "c": 0.16816,
    "h": 318.2
  },
  "luminance": 0.35812
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D382EB

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

Preview Lab → · Contrast checker → · Palette generator →

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