#D396EE#D396EE

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

Color values

HEX#D396EE
RGBrgb(211, 150, 238)
HSLhsl(282, 72%, 76%)
HSVhsv(282, 37%, 93%)
CMYKcmyk(11.3%, 37%, 0%, 6.7%)
CIE-LABlab(70.76, 38.11, -35.40)
CIE-LCHlch(70.76, 52.01, 317.11°)
OKLaboklab(76.32% 0.0975 -0.0974)
OKLCHoklch(76.32% 0.138 315)
XYZxyz(53.2005, 41.8358, 86.1449)
Luminance0.4183 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D396EE #B1EE96
analogous
#A796EE #D396EE #EE96DD
triadic
#D396EE #EED396 #96EED3
tetradic
#D396EE #EEA796 #B1EE96 #96DDEE
square
#D396EE #EEA796 #B1EE96 #96DDEE
split-complementary
#D396EE #DDEE96 #96EEA7
monochromatic
#A72DDD #BD61E5 #D396EE #E9CBF7 #F4E5FB

Accessibility & contrast

On white

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

On black

9.37
#D396EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D396EE
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D396EE#FFFFFF#000000##000000
##D396EE1.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A9F1
Deuteranopia (green-blind)
#96AFEB
Tritanopia (blue-blind)
#D2A2B7
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #d396ee;
/* rgb */ color: rgb(211, 150, 238);
/* oklch */ color: oklch(76.3% 0.138 315.0);
Tailwind
colors: {
  custom: {
    50: '#e1b6f4',
    500: '#d396ee',
    950: '#000000',
  },
}
SCSS
$custom: #d396ee;
$custom-light: #e1b6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d396ee",
  "rgb": {
    "r": 211,
    "g": 150,
    "b": 238
  },
  "hsl": {
    "h": 281.591,
    "s": 72.131,
    "l": 76.078
  },
  "oklch": {
    "l": 0.7632,
    "c": 0.13783,
    "h": 315
  },
  "luminance": 0.41835
}

Semantic roles & 50–950 ramp

primary
#D396EE
secondary
#E1F2D9
accent
#D4114D
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #D396EE

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

Preview Lab → · Contrast checker → · Palette generator →

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