#D896F9#D896F9

#D896F9 is a light, vivid purple. Relative luminance 0.433; OKLCH L 77.3% C 0.152 H 313.8°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).

Color values

HEX#D896F9
RGBrgb(216, 150, 249)
HSLhsl(280, 89%, 78%)
HSVhsv(280, 40%, 98%)
CMYKcmyk(13.3%, 39.8%, 0%, 2.4%)
CIE-LABlab(71.73, 41.84, -39.85)
CIE-LCHlch(71.73, 57.78, 316.39°)
OKLaboklab(77.32% 0.1055 -0.1101)
OKLCHoklch(77.32% 0.152 313.8)
XYZxyz(56.3214, 43.2524, 94.9858)
Luminance0.4325 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D896F9 #B7F996
analogous
#A696F9 #D896F9 #F996E8
triadic
#D896F9 #F9D896 #96F9D8
tetradic
#D896F9 #F9A696 #B7F996 #96E8F9
square
#D896F9 #F9A696 #B7F996 #96E8F9
split-complementary
#D896F9 #E8F996 #96F9A6
monochromatic
#AD22F2 #C25CF6 #D896F9 #EED0FC #F4E2FD

Accessibility & contrast

On white

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

On black

9.65
#D896F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D896F9
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D896F9#FFFFFF#000000##000000
##D896F91.002.189.659.65
#FFFFFF2.181.0021.0021.00
#0000009.6521.001.001.00
##0000009.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#84ACFD
Deuteranopia (green-blind)
#95B1F6
Tritanopia (blue-blind)
#D6A4BC
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #d896f9;
/* rgb */ color: rgb(216, 150, 249);
/* oklch */ color: oklch(77.3% 0.152 313.8);
Tailwind
colors: {
  custom: {
    50: '#e5b6fb',
    500: '#d896f9',
    950: '#000000',
  },
}
SCSS
$custom: #d896f9;
$custom-light: #e5b6fb;
$custom-dark: #000000;
JSON
{
  "hex": "#d896f9",
  "rgb": {
    "r": 216,
    "g": 150,
    "b": 249
  },
  "hsl": {
    "h": 280,
    "s": 89.189,
    "l": 78.235
  },
  "oklch": {
    "l": 0.77317,
    "c": 0.15249,
    "h": 313.8
  },
  "luminance": 0.43251
}

Semantic roles & 50–950 ramp

primary
#D896F9
secondary
#E0F5D6
accent
#E6004C
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #D896F9

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

Preview Lab → · Contrast checker → · Palette generator →

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