#D396EF#D396EF

#D396EF is a light, vivid purple. Relative luminance 0.419; OKLCH L 76.4% C 0.139 H 314.7°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#D396EF
RGBrgb(211, 150, 239)
HSLhsl(281, 74%, 76%)
HSVhsv(281, 37%, 94%)
CMYKcmyk(11.7%, 37.2%, 0%, 6.3%)
CIE-LABlab(70.80, 38.31, -35.88)
CIE-LCHlch(70.80, 52.49, 316.88°)
OKLaboklab(76.36% 0.0978 -0.0988)
OKLCHoklch(76.36% 0.139 314.7)
XYZxyz(53.3479, 41.8947, 86.9208)
Luminance0.4189 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D396EF #B2EF96
analogous
#A796EF #D396EF #EF96DF
triadic
#D396EF #EFD396 #96EFD3
tetradic
#D396EF #EFA796 #B2EF96 #96DFEF
square
#D396EF #EFA796 #B2EF96 #96DFEF
split-complementary
#D396EF #DFEF96 #96EFA7
monochromatic
#A62CDF #BD61E7 #D396EF #E9CBF7 #F4E4FB

Accessibility & contrast

On white

2.24
#D396EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.38
#D396EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D396EF
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D396EF#FFFFFF#000000##000000
##D396EF1.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#87AAF2
Deuteranopia (green-blind)
#96AFEC
Tritanopia (blue-blind)
#D1A2B7
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #d396ef;
/* rgb */ color: rgb(211, 150, 239);
/* oklch */ color: oklch(76.4% 0.139 314.7);
Tailwind
colors: {
  custom: {
    50: '#e1b6f4',
    500: '#d396ef',
    950: '#000000',
  },
}
SCSS
$custom: #d396ef;
$custom-light: #e1b6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d396ef",
  "rgb": {
    "r": 211,
    "g": 150,
    "b": 239
  },
  "hsl": {
    "h": 281.124,
    "s": 73.554,
    "l": 76.275
  },
  "oklch": {
    "l": 0.76364,
    "c": 0.13897,
    "h": 314.7
  },
  "luminance": 0.41894
}

Semantic roles & 50–950 ramp

primary
#D396EF
secondary
#E1F3D8
accent
#D6104E
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #D396EF

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

Preview Lab → · Contrast checker → · Palette generator →

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