#D396EB#D396EB

#D396EB is a light, vivid purple. Relative luminance 0.417; OKLCH L 76.2% C 0.134 H 316.1°. Best body text is #000000 at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#D396EB
RGBrgb(211, 150, 235)
HSLhsl(283, 68%, 75%)
HSVhsv(283, 36%, 92%)
CMYKcmyk(10.2%, 36.2%, 0%, 7.8%)
CIE-LABlab(70.64, 37.50, -33.94)
CIE-LCHlch(70.64, 50.58, 317.85°)
OKLaboklab(76.19% 0.0969 -0.0932)
OKLCHoklch(76.19% 0.134 316.1)
XYZxyz(52.7635, 41.6609, 83.8430)
Luminance0.4166 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D396EB #AEEB96
analogous
#A896EB #D396EB #EB96D8
triadic
#D396EB #EBD396 #96EBD3
tetradic
#D396EB #EBA896 #AEEB96 #96D8EB
square
#D396EB #EBA896 #AEEB96 #96D8EB
split-complementary
#D396EB #D8EB96 #96EBA8
monochromatic
#A82FD7 #BD63E1 #D396EB #E9C9F5 #F4E5FA

Accessibility & contrast

On white

2.25
#D396EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.33
#D396EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D396EB
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D396EB#FFFFFF#000000##000000
##D396EB1.002.259.339.33
#FFFFFF2.251.0021.0021.00
#0000009.3321.001.001.00
##0000009.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#89A9EE
Deuteranopia (green-blind)
#98AFE8
Tritanopia (blue-blind)
#D2A1B6
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #d396eb;
/* rgb */ color: rgb(211, 150, 235);
/* oklch */ color: oklch(76.2% 0.134 316.1);
Tailwind
colors: {
  custom: {
    50: '#e1b6f1',
    500: '#d396eb',
    950: '#000000',
  },
}
SCSS
$custom: #d396eb;
$custom-light: #e1b6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d396eb",
  "rgb": {
    "r": 211,
    "g": 150,
    "b": 235
  },
  "hsl": {
    "h": 283.059,
    "s": 68,
    "l": 75.49
  },
  "oklch": {
    "l": 0.76189,
    "c": 0.13445,
    "h": 316.1
  },
  "luminance": 0.4166
}

Semantic roles & 50–950 ramp

primary
#D396EB
secondary
#E0F2D9
accent
#D0164A
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #D396EB

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

Preview Lab → · Contrast checker → · Palette generator →

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