#D896DF#D896DF

#D896DF is a light, vivid purple. Relative luminance 0.417; OKLCH L 76.2% C 0.124 H 323.4°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#D896DF
RGBrgb(216, 150, 223)
HSLhsl(294, 53%, 73%)
HSVhsv(294, 33%, 87%)
CMYKcmyk(3.1%, 32.7%, 0%, 12.5%)
CIE-LABlab(70.69, 36.69, -27.23)
CIE-LCHlch(70.69, 45.69, 323.42°)
OKLaboklab(76.2% 0.0997 -0.0741)
OKLCHoklch(76.2% 0.124 323.4)
XYZxyz(52.5431, 41.7410, 75.0868)
Luminance0.4174 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D896DF #9DDF96
analogous
#B396DF #D896DF #DF96C1
triadic
#D896DF #DFD896 #96DFD8
tetradic
#D896DF #DFB396 #9DDF96 #96C1DF
square
#D896DF #DFB396 #9DDF96 #96C1DF
split-complementary
#D896DF #C1DF96 #96DFB3
monochromatic
#B33BC0 #C767D1 #D896DF #E9C5ED #F6E8F8

Accessibility & contrast

On white

2.25
#D896DF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.35
#D896DF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D896DF
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D896DF#FFFFFF#000000##000000
##D896DF1.002.259.359.35
#FFFFFF2.251.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FA8E2
Deuteranopia (green-blind)
#9FB0DD
Tritanopia (blue-blind)
#DB9DB1
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #d896df;
/* rgb */ color: rgb(216, 150, 223);
/* oklch */ color: oklch(76.2% 0.124 323.4);
Tailwind
colors: {
  custom: {
    50: '#e5b6e9',
    500: '#d896df',
    950: '#000000',
  },
}
SCSS
$custom: #d896df;
$custom-light: #e5b6e9;
$custom-dark: #000000;
JSON
{
  "hex": "#d896df",
  "rgb": {
    "r": 216,
    "g": 150,
    "b": 223
  },
  "hsl": {
    "h": 294.247,
    "s": 53.285,
    "l": 73.137
  },
  "oklch": {
    "l": 0.76196,
    "c": 0.12421,
    "h": 323.4
  },
  "luminance": 0.41739
}

Semantic roles & 50–950 ramp

primary
#D896DF
secondary
#DEEFDC
accent
#C12534
background
#FEFBFE
surface
#FCF6FC
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #D896DF

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

Preview Lab → · Contrast checker → · Palette generator →

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