#D896F8#D896F8

#D896F8 is a light, vivid purple. Relative luminance 0.432; OKLCH L 77.3% C 0.151 H 314.1°. Best body text is #000000 at 9.64:1 contrast (WCAG AA passes).

Color values

HEX#D896F8
RGBrgb(216, 150, 248)
HSLhsl(280, 88%, 78%)
HSVhsv(280, 40%, 97%)
CMYKcmyk(12.9%, 39.5%, 0%, 2.7%)
CIE-LABlab(71.68, 41.63, -39.37)
CIE-LCHlch(71.68, 57.30, 316.60°)
OKLaboklab(77.27% 0.1053 -0.1087)
OKLCHoklch(77.27% 0.151 314.1)
XYZxyz(56.1658, 43.1901, 94.1665)
Luminance0.4319 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D896F8 #B6F896
analogous
#A796F8 #D896F8 #F896E7
triadic
#D896F8 #F8D896 #96F8D8
tetradic
#D896F8 #F8A796 #B6F896 #96E7F8
square
#D896F8 #F8A796 #B6F896 #96E7F8
split-complementary
#D896F8 #E7F896 #96F8A7
monochromatic
#AD23F0 #C35DF4 #D896F8 #EDCFFC #F4E2FD

Accessibility & contrast

On white

2.18
#D896F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.64
#D896F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D896F8
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D896F8#FFFFFF#000000##000000
##D896F81.002.189.649.64
#FFFFFF2.181.0021.0021.00
#0000009.6421.001.001.00
##0000009.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#85ACFC
Deuteranopia (green-blind)
#95B1F5
Tritanopia (blue-blind)
#D6A3BB
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #d896f8;
/* rgb */ color: rgb(216, 150, 248);
/* oklch */ color: oklch(77.3% 0.151 314.1);
Tailwind
colors: {
  custom: {
    50: '#e5b6fb',
    500: '#d896f8',
    950: '#000000',
  },
}
SCSS
$custom: #d896f8;
$custom-light: #e5b6fb;
$custom-dark: #000000;
JSON
{
  "hex": "#d896f8",
  "rgb": {
    "r": 216,
    "g": 150,
    "b": 248
  },
  "hsl": {
    "h": 280.408,
    "s": 87.5,
    "l": 78.039
  },
  "oklch": {
    "l": 0.77271,
    "c": 0.15136,
    "h": 314.1
  },
  "luminance": 0.43189
}

Semantic roles & 50–950 ramp

primary
#D896F8
secondary
#E0F5D6
accent
#E4014B
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #D896F8

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

Preview Lab → · Contrast checker → · Palette generator →

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