#D896ED#D896ED

#D896ED is a light, vivid purple. Relative luminance 0.425; OKLCH L 76.8% C 0.139 H 317.8°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).

Color values

HEX#D896ED
RGBrgb(216, 150, 237)
HSLhsl(286, 71%, 76%)
HSVhsv(286, 37%, 93%)
CMYKcmyk(8.9%, 36.7%, 0%, 7.1%)
CIE-LABlab(71.23, 39.41, -34.07)
CIE-LCHlch(71.23, 52.09, 319.15°)
OKLaboklab(76.78% 0.103 -0.0935)
OKLCHoklch(76.78% 0.139 317.8)
XYZxyz(54.5092, 42.5275, 85.4415)
Luminance0.4253 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D896ED #ABED96
analogous
#AC96ED #D896ED #ED96D6
triadic
#D896ED #EDD896 #96EDD8
tetradic
#D896ED #EDAC96 #ABED96 #96D6ED
square
#D896ED #EDAC96 #ABED96 #96D6ED
split-complementary
#D896ED #D6ED96 #96EDAC
monochromatic
#B12EDB #C562E4 #D896ED #EBCAF6 #F5E5FB

Accessibility & contrast

On white

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

On black

9.51
#D896ED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D896ED
9.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D896ED#FFFFFF#000000##000000
##D896ED1.002.219.519.51
#FFFFFF2.211.0021.0021.00
#0000009.5121.001.001.00
##0000009.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#89AAF0
Deuteranopia (green-blind)
#9AB1EA
Tritanopia (blue-blind)
#D8A1B7
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #d896ed;
/* rgb */ color: rgb(216, 150, 237);
/* oklch */ color: oklch(76.8% 0.139 317.8);
Tailwind
colors: {
  custom: {
    50: '#e5b6f3',
    500: '#d896ed',
    950: '#000000',
  },
}
SCSS
$custom: #d896ed;
$custom-light: #e5b6f3;
$custom-dark: #000000;
JSON
{
  "hex": "#d896ed",
  "rgb": {
    "r": 216,
    "g": 150,
    "b": 237
  },
  "hsl": {
    "h": 285.517,
    "s": 70.732,
    "l": 75.882
  },
  "oklch": {
    "l": 0.76783,
    "c": 0.13915,
    "h": 317.8
  },
  "luminance": 0.42526
}

Semantic roles & 50–950 ramp

primary
#D896ED
secondary
#DFF2D9
accent
#D31341
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #D896ED

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

Preview Lab → · Contrast checker → · Palette generator →

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