#D396ED#D396ED

#D396ED is a light, vivid purple. Relative luminance 0.418; OKLCH L 76.3% C 0.137 H 315.4°. Best body text is #000000 at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#D396ED
RGBrgb(211, 150, 237)
HSLhsl(282, 71%, 76%)
HSVhsv(282, 37%, 93%)
CMYKcmyk(11%, 36.7%, 0%, 7.1%)
CIE-LABlab(70.72, 37.90, -34.91)
CIE-LCHlch(70.72, 51.53, 317.35°)
OKLaboklab(76.28% 0.0973 -0.096)
OKLCHoklch(76.28% 0.137 315.4)
XYZxyz(53.0540, 41.7772, 85.3733)
Luminance0.4178 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D396ED #B0ED96
analogous
#A796ED #D396ED #ED96DB
triadic
#D396ED #EDD396 #96EDD3
tetradic
#D396ED #EDA796 #B0ED96 #96DBED
square
#D396ED #EDA796 #B0ED96 #96DBED
split-complementary
#D396ED #DBED96 #96EDA7
monochromatic
#A72EDB #BD62E4 #D396ED #E9CAF6 #F4E5FB

Accessibility & contrast

On white

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

On black

9.36
#D396ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D396ED
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D396ED#FFFFFF#000000##000000
##D396ED1.002.249.369.36
#FFFFFF2.241.0021.0021.00
#0000009.3621.001.001.00
##0000009.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A9F0
Deuteranopia (green-blind)
#97AFEA
Tritanopia (blue-blind)
#D2A1B7
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #d396ed;
/* rgb */ color: rgb(211, 150, 237);
/* oklch */ color: oklch(76.3% 0.137 315.4);
Tailwind
colors: {
  custom: {
    50: '#e1b6f3',
    500: '#d396ed',
    950: '#000000',
  },
}
SCSS
$custom: #d396ed;
$custom-light: #e1b6f3;
$custom-dark: #000000;
JSON
{
  "hex": "#d396ed",
  "rgb": {
    "r": 211,
    "g": 150,
    "b": 237
  },
  "hsl": {
    "h": 282.069,
    "s": 70.732,
    "l": 75.882
  },
  "oklch": {
    "l": 0.76276,
    "c": 0.1367,
    "h": 315.4
  },
  "luminance": 0.41776
}

Semantic roles & 50–950 ramp

primary
#D396ED
secondary
#E0F2D9
accent
#D3134C
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #D396ED

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

Preview Lab → · Contrast checker → · Palette generator →

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