#D896EB#D896EB

#D896EB is a light, vivid purple. Relative luminance 0.424; OKLCH L 76.7% C 0.137 H 318.5°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).

Color values

HEX#D896EB
RGBrgb(216, 150, 235)
HSLhsl(287, 68%, 75%)
HSVhsv(287, 36%, 92%)
CMYKcmyk(8.1%, 36.2%, 0%, 7.8%)
CIE-LABlab(71.15, 39.01, -33.10)
CIE-LCHlch(71.15, 51.16, 319.69°)
OKLaboklab(76.7% 0.1026 -0.0908)
OKLCHoklch(76.7% 0.137 318.5)
XYZxyz(54.2186, 42.4113, 83.9112)
Luminance0.4241 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D896EB #A9EB96
analogous
#AD96EB #D896EB #EB96D3
triadic
#D896EB #EBD896 #96EBD8
tetradic
#D896EB #EBAD96 #A9EB96 #96D3EB
square
#D896EB #EBAD96 #A9EB96 #96D3EB
split-complementary
#D896EB #D3EB96 #96EBAD
monochromatic
#B22FD7 #C563E1 #D896EB #EBC9F5 #F5E5FA

Accessibility & contrast

On white

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

On black

9.48
#D896EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D896EB
9.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D896EB#FFFFFF#000000##000000
##D896EB1.002.219.489.48
#FFFFFF2.211.0021.0021.00
#0000009.4821.001.001.00
##0000009.4821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #d896eb;
/* rgb */ color: rgb(216, 150, 235);
/* oklch */ color: oklch(76.7% 0.137 318.5);
Tailwind
colors: {
  custom: {
    50: '#e5b6f1',
    500: '#d896eb',
    950: '#000000',
  },
}
SCSS
$custom: #d896eb;
$custom-light: #e5b6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#d896eb",
  "rgb": {
    "r": 216,
    "g": 150,
    "b": 235
  },
  "hsl": {
    "h": 286.588,
    "s": 68,
    "l": 75.49
  },
  "oklch": {
    "l": 0.76697,
    "c": 0.13697,
    "h": 318.5
  },
  "luminance": 0.4241
}

Semantic roles & 50–950 ramp

primary
#D896EB
secondary
#DFF2D9
accent
#D0163F
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #D896EB

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

Preview Lab → · Contrast checker → · Palette generator →

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