#D382EA#D382EA

#D382EA is a light, vivid purple. Relative luminance 0.358; OKLCH L 72.9% C 0.167 H 318.5°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#D382EA
RGBrgb(211, 130, 234)
HSLhsl(287, 71%, 71%)
HSVhsv(287, 44%, 92%)
CMYKcmyk(9.8%, 44.4%, 0%, 8.2%)
CIE-LABlab(66.33, 47.92, -40.09)
CIE-LCHlch(66.33, 62.48, 320.09°)
OKLaboklab(72.94% 0.1252 -0.1107)
OKLCHoklch(72.94% 0.167 318.5)
XYZxyz(49.6959, 35.7563, 82.1098)
Luminance0.3575 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D382EA #99EA82
analogous
#9F82EA #D382EA #EA82CD
triadic
#D382EA #EAD382 #82EAD3
tetradic
#D382EA #EA9F82 #99EA82 #82CDEA
square
#D382EA #EA9F82 #99EA82 #82CDEA
split-complementary
#D382EA #CDEA82 #82EA9F
monochromatic
#A923CF #C14EE1 #D382EA #E5B6F3 #F6E5FB

Accessibility & contrast

On white

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

On black

8.15
#D382EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D382EA
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D382EA#FFFFFF#000000##000000
##D382EA1.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#719CEE
Deuteranopia (green-blind)
#87A4E7
Tritanopia (blue-blind)
#D390AB
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #d382ea;
/* rgb */ color: rgb(211, 130, 234);
/* oklch */ color: oklch(72.9% 0.167 318.5);
Tailwind
colors: {
  custom: {
    50: '#e2a8f1',
    500: '#d382ea',
    950: '#000000',
  },
}
SCSS
$custom: #d382ea;
$custom-light: #e2a8f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d382ea",
  "rgb": {
    "r": 211,
    "g": 130,
    "b": 234
  },
  "hsl": {
    "h": 286.731,
    "s": 71.233,
    "l": 71.373
  },
  "oklch": {
    "l": 0.72941,
    "c": 0.16712,
    "h": 318.5
  },
  "luminance": 0.35755
}

Semantic roles & 50–950 ramp

primary
#D382EA
secondary
#DCF1D6
accent
#D3123D
background
#FEFAFE
surface
#FCF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #D382EA

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

Preview Lab → · Contrast checker → · Palette generator →

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