#D382EF#D382EF

#D382EF is a light, vivid purple. Relative luminance 0.360; OKLCH L 73.2% C 0.172 H 317.0°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#D382EF
RGBrgb(211, 130, 239)
HSLhsl(285, 77%, 72%)
HSVhsv(285, 46%, 94%)
CMYKcmyk(11.7%, 45.6%, 0%, 6.3%)
CIE-LABlab(66.56, 48.92, -42.50)
CIE-LCHlch(66.56, 64.80, 319.02°)
OKLaboklab(73.18% 0.126 -0.1177)
OKLCHoklch(73.18% 0.172 317)
XYZxyz(50.4243, 36.0477, 85.9463)
Luminance0.3605 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D382EF #9EEF82
analogous
#9C82EF #D382EF #EF82D5
triadic
#D382EF #EFD382 #82EFD3
tetradic
#D382EF #EF9C82 #9EEF82 #82D5EF
square
#D382EF #EF9C82 #9EEF82 #82D5EF
split-complementary
#D382EF #D5EF82 #82EF9C
monochromatic
#AA1CDB #C04CE8 #D382EF #E6B8F6 #F5E4FC

Accessibility & contrast

On white

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

On black

8.21
#D382EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D382EF
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D382EF#FFFFFF#000000##000000
##D382EF1.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9DF3
Deuteranopia (green-blind)
#85A4EC
Tritanopia (blue-blind)
#D291AD
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #d382ef;
/* rgb */ color: rgb(211, 130, 239);
/* oklch */ color: oklch(73.2% 0.172 317.0);
Tailwind
colors: {
  custom: {
    50: '#e2a8f4',
    500: '#d382ef',
    950: '#000000',
  },
}
SCSS
$custom: #d382ef;
$custom-light: #e2a8f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d382ef",
  "rgb": {
    "r": 211,
    "g": 130,
    "b": 239
  },
  "hsl": {
    "h": 284.587,
    "s": 77.305,
    "l": 72.353
  },
  "oklch": {
    "l": 0.7318,
    "c": 0.17237,
    "h": 317
  },
  "luminance": 0.36046
}

Semantic roles & 50–950 ramp

primary
#D382EF
secondary
#DFF3D8
accent
#DA0C41
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #D382EF

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

Preview Lab → · Contrast checker → · Palette generator →

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