#D896EF#D896EF

#D896EF is a light, vivid purple. Relative luminance 0.426; OKLCH L 76.9% C 0.141 H 317.1°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).

Color values

HEX#D896EF
RGBrgb(216, 150, 239)
HSLhsl(284, 74%, 76%)
HSVhsv(284, 37%, 94%)
CMYKcmyk(9.6%, 37.2%, 0%, 6.3%)
CIE-LABlab(71.31, 39.81, -35.04)
CIE-LCHlch(71.31, 53.03, 318.64°)
OKLaboklab(76.87% 0.1035 -0.0963)
OKLCHoklch(76.87% 0.141 317.1)
XYZxyz(54.8030, 42.6450, 86.9890)
Luminance0.4264 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D896EF #ADEF96
analogous
#AC96EF #D896EF #EF96DA
triadic
#D896EF #EFD896 #96EFD8
tetradic
#D896EF #EFAC96 #ADEF96 #96DAEF
square
#D896EF #EFAC96 #ADEF96 #96DAEF
split-complementary
#D896EF #DAEF96 #96EFAC
monochromatic
#B12CDF #C461E7 #D896EF #ECCBF7 #F5E4FB

Accessibility & contrast

On white

2.20
#D896EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.53
#D896EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D896EF
9.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D896EF#FFFFFF#000000##000000
##D896EF1.002.209.539.53
#FFFFFF2.201.0021.0021.00
#0000009.5321.001.001.00
##0000009.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#89AAF2
Deuteranopia (green-blind)
#99B1EC
Tritanopia (blue-blind)
#D8A1B8
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #d896ef;
/* rgb */ color: rgb(216, 150, 239);
/* oklch */ color: oklch(76.9% 0.141 317.1);
Tailwind
colors: {
  custom: {
    50: '#e5b6f4',
    500: '#d896ef',
    950: '#000000',
  },
}
SCSS
$custom: #d896ef;
$custom-light: #e5b6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#d896ef",
  "rgb": {
    "r": 216,
    "g": 150,
    "b": 239
  },
  "hsl": {
    "h": 284.494,
    "s": 73.554,
    "l": 76.275
  },
  "oklch": {
    "l": 0.7687,
    "c": 0.14135,
    "h": 317.1
  },
  "luminance": 0.42644
}

Semantic roles & 50–950 ramp

primary
#D896EF
secondary
#DFF3D8
accent
#D61043
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #D896EF

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

Preview Lab → · Contrast checker → · Palette generator →

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