#D896EC#D896EC

#D896EC is a light, vivid purple. Relative luminance 0.425; OKLCH L 76.7% C 0.138 H 318.1°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).

Color values

HEX#D896EC
RGBrgb(216, 150, 236)
HSLhsl(286, 69%, 76%)
HSVhsv(286, 36%, 93%)
CMYKcmyk(8.5%, 36.4%, 0%, 7.5%)
CIE-LABlab(71.19, 39.21, -33.59)
CIE-LCHlch(71.19, 51.63, 319.42°)
OKLaboklab(76.74% 0.1028 -0.0921)
OKLCHoklch(76.74% 0.138 318.1)
XYZxyz(54.3635, 42.4692, 84.6742)
Luminance0.4247 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D896EC #AAEC96
analogous
#AD96EC #D896EC #EC96D5
triadic
#D896EC #ECD896 #96ECD8
tetradic
#D896EC #ECAD96 #AAEC96 #96D5EC
square
#D896EC #ECAD96 #AAEC96 #96D5EC
split-complementary
#D896EC #D5EC96 #96ECAD
monochromatic
#B22ED9 #C562E3 #D896EC #EBCAF5 #F5E5FA

Accessibility & contrast

On white

2.21
#D896EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.49
#D896EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D896EC
9.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D896EC#FFFFFF#000000##000000
##D896EC1.002.219.499.49
#FFFFFF2.211.0021.0021.00
#0000009.4921.001.001.00
##0000009.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AAAEF
Deuteranopia (green-blind)
#9AB1E9
Tritanopia (blue-blind)
#D8A0B6
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #d896ec;
/* rgb */ color: rgb(216, 150, 236);
/* oklch */ color: oklch(76.7% 0.138 318.1);
Tailwind
colors: {
  custom: {
    50: '#e5b6f2',
    500: '#d896ec',
    950: '#000000',
  },
}
SCSS
$custom: #d896ec;
$custom-light: #e5b6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#d896ec",
  "rgb": {
    "r": 216,
    "g": 150,
    "b": 236
  },
  "hsl": {
    "h": 286.047,
    "s": 69.355,
    "l": 75.686
  },
  "oklch": {
    "l": 0.7674,
    "c": 0.13806,
    "h": 318.1
  },
  "luminance": 0.42468
}

Semantic roles & 50–950 ramp

primary
#D896EC
secondary
#DFF2D9
accent
#D11440
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #D896EC

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

Preview Lab → · Contrast checker → · Palette generator →

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