#D396DF#D396DF

#D396DF is a light, vivid purple. Relative luminance 0.410; OKLCH L 75.7% C 0.121 H 320.8°. Best body text is #000000 at 9.20:1 contrast (WCAG AA passes).

Color values

HEX#D396DF
RGBrgb(211, 150, 223)
HSLhsl(290, 53%, 73%)
HSVhsv(290, 33%, 87%)
CMYKcmyk(5.4%, 32.7%, 0%, 12.5%)
CIE-LABlab(70.17, 35.11, -28.08)
CIE-LCHlch(70.17, 44.96, 321.35°)
OKLaboklab(75.68% 0.094 -0.0766)
OKLCHoklch(75.68% 0.121 320.8)
XYZxyz(51.0879, 40.9907, 75.0186)
Luminance0.4099 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D396DF #A2DF96
analogous
#AE96DF #D396DF #DF96C6
triadic
#D396DF #DFD396 #96DFD3
tetradic
#D396DF #DFAE96 #A2DF96 #96C6DF
square
#D396DF #DFAE96 #A2DF96 #96C6DF
split-complementary
#D396DF #C6DF96 #96DFAE
monochromatic
#AA3BC0 #BF67D1 #D396DF #E7C5ED #F5E8F8

Accessibility & contrast

On white

2.28
#D396DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.20
#D396DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D396DF
9.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D396DF#FFFFFF#000000##000000
##D396DF1.002.289.209.20
#FFFFFF2.281.0021.0021.00
#0000009.2021.001.001.00
##0000009.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EA7E2
Deuteranopia (green-blind)
#9CAEDD
Tritanopia (blue-blind)
#D59EB1
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #d396df;
/* rgb */ color: rgb(211, 150, 223);
/* oklch */ color: oklch(75.7% 0.121 320.8);
Tailwind
colors: {
  custom: {
    50: '#e1b5e9',
    500: '#d396df',
    950: '#000000',
  },
}
SCSS
$custom: #d396df;
$custom-light: #e1b5e9;
$custom-dark: #000000;
JSON
{
  "hex": "#d396df",
  "rgb": {
    "r": 211,
    "g": 150,
    "b": 223
  },
  "hsl": {
    "h": 290.137,
    "s": 53.285,
    "l": 73.137
  },
  "oklch": {
    "l": 0.75681,
    "c": 0.12123,
    "h": 320.8
  },
  "luminance": 0.40989
}

Semantic roles & 50–950 ramp

primary
#D396DF
secondary
#DFEFDC
accent
#C1253E
background
#FDFBFE
surface
#FBF6FC
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #D396DF

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

Preview Lab → · Contrast checker → · Palette generator →

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