#D396DC#D396DC

#D396DC is a light, moderate purple. Relative luminance 0.408; OKLCH L 75.6% C 0.118 H 322.2°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#D396DC
RGBrgb(211, 150, 220)
HSLhsl(292, 50%, 73%)
HSVhsv(292, 32%, 86%)
CMYKcmyk(4.1%, 31.8%, 0%, 13.7%)
CIE-LABlab(70.06, 34.53, -26.60)
CIE-LCHlch(70.06, 43.59, 322.40°)
OKLaboklab(75.56% 0.0932 -0.0724)
OKLCHoklch(75.56% 0.118 322.2)
XYZxyz(50.6871, 40.8304, 72.9073)
Luminance0.4083 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D396DC #9FDC96
analogous
#B096DC #D396DC #DC96C2
triadic
#D396DC #DCD396 #96DCD3
tetradic
#D396DC #DCB096 #9FDC96 #96C2DC
square
#D396DC #DCB096 #9FDC96 #96C2DC
split-complementary
#D396DC #C2DC96 #96DCB0
monochromatic
#AA3EBA #C068CD #D396DC #E6C4EB #F5E8F7

Accessibility & contrast

On white

2.29
#D396DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.17
#D396DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D396DC
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D396DC#FFFFFF#000000##000000
##D396DC1.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FA7DF
Deuteranopia (green-blind)
#9DAEDA
Tritanopia (blue-blind)
#D59DB0
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #d396dc;
/* rgb */ color: rgb(211, 150, 220);
/* oklch */ color: oklch(75.6% 0.118 322.2);
Tailwind
colors: {
  custom: {
    50: '#e1b5e7',
    500: '#d396dc',
    950: '#000000',
  },
}
SCSS
$custom: #d396dc;
$custom-light: #e1b5e7;
$custom-dark: #000000;
JSON
{
  "hex": "#d396dc",
  "rgb": {
    "r": 211,
    "g": 150,
    "b": 220
  },
  "hsl": {
    "h": 292.286,
    "s": 50,
    "l": 72.549
  },
  "oklch": {
    "l": 0.75559,
    "c": 0.11802,
    "h": 322.2
  },
  "luminance": 0.40829
}

Semantic roles & 50–950 ramp

primary
#D396DC
secondary
#DFEEDD
accent
#BD283B
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #D396DC

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

Preview Lab → · Contrast checker → · Palette generator →

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