#D396EA#D396EA

#D396EA is a light, vivid purple. Relative luminance 0.416; OKLCH L 76.1% C 0.133 H 316.4°. Best body text is #000000 at 9.32:1 contrast (WCAG AA passes).

Color values

HEX#D396EA
RGBrgb(211, 150, 234)
HSLhsl(284, 67%, 75%)
HSVhsv(284, 36%, 92%)
CMYKcmyk(9.8%, 35.9%, 0%, 8.2%)
CIE-LABlab(70.60, 37.30, -33.46)
CIE-LCHlch(70.60, 50.10, 318.11°)
OKLaboklab(76.15% 0.0966 -0.0919)
OKLCHoklch(76.15% 0.133 316.4)
XYZxyz(52.6194, 41.6033, 83.0843)
Luminance0.4160 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D396EA #ADEA96
analogous
#A996EA #D396EA #EA96D7
triadic
#D396EA #EAD396 #96EAD3
tetradic
#D396EA #EAA996 #ADEA96 #96D7EA
square
#D396EA #EAA996 #ADEA96 #96D7EA
split-complementary
#D396EA #D7EA96 #96EAA9
monochromatic
#A830D6 #BE63E0 #D396EA #E8C9F4 #F4E5FA

Accessibility & contrast

On white

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

On black

9.32
#D396EA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D396EA
9.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D396EA#FFFFFF#000000##000000
##D396EA1.002.259.329.32
#FFFFFF2.251.0021.0021.00
#0000009.3221.001.001.00
##0000009.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#89A9ED
Deuteranopia (green-blind)
#98AFE7
Tritanopia (blue-blind)
#D2A1B5
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #d396ea;
/* rgb */ color: rgb(211, 150, 234);
/* oklch */ color: oklch(76.1% 0.133 316.4);
Tailwind
colors: {
  custom: {
    50: '#e1b6f1',
    500: '#d396ea',
    950: '#000000',
  },
}
SCSS
$custom: #d396ea;
$custom-light: #e1b6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d396ea",
  "rgb": {
    "r": 211,
    "g": 150,
    "b": 234
  },
  "hsl": {
    "h": 283.571,
    "s": 66.667,
    "l": 75.294
  },
  "oklch": {
    "l": 0.76146,
    "c": 0.13333,
    "h": 316.4
  },
  "luminance": 0.41602
}

Semantic roles & 50–950 ramp

primary
#D396EA
secondary
#E0F1DA
accent
#CF1749
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #D396EA

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

Preview Lab → · Contrast checker → · Palette generator →

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