#D896F2#D896F2

#D896F2 is a light, vivid purple. Relative luminance 0.428; OKLCH L 77.0% C 0.145 H 316.0°. Best body text is #000000 at 9.56:1 contrast (WCAG AA passes).

Color values

HEX#D896F2
RGBrgb(216, 150, 242)
HSLhsl(283, 78%, 77%)
HSVhsv(283, 38%, 95%)
CMYKcmyk(10.7%, 38%, 0%, 5.1%)
CIE-LABlab(71.44, 40.41, -36.49)
CIE-LCHlch(71.44, 54.45, 317.92°)
OKLaboklab(77% 0.1041 -0.1004)
OKLCHoklch(77% 0.145 316)
XYZxyz(55.2499, 42.8238, 89.3425)
Luminance0.4282 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D896F2 #B0F296
analogous
#AA96F2 #D896F2 #F296DE
triadic
#D896F2 #F2D896 #96F2D8
tetradic
#D896F2 #F2AA96 #B0F296 #96DEF2
square
#D896F2 #F2AA96 #B0F296 #96DEF2
split-complementary
#D896F2 #DEF296 #96F2AA
monochromatic
#B029E5 #C460EB #D896F2 #ECCCF9 #F5E4FC

Accessibility & contrast

On white

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

On black

9.56
#D896F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D896F2
9.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D896F2#FFFFFF#000000##000000
##D896F21.002.209.569.56
#FFFFFF2.201.0021.0021.00
#0000009.5621.001.001.00
##0000009.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#87ABF5
Deuteranopia (green-blind)
#98B1EF
Tritanopia (blue-blind)
#D7A2B9
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #d896f2;
/* rgb */ color: rgb(216, 150, 242);
/* oklch */ color: oklch(77.0% 0.145 316.0);
Tailwind
colors: {
  custom: {
    50: '#e5b6f6',
    500: '#d896f2',
    950: '#000000',
  },
}
SCSS
$custom: #d896f2;
$custom-light: #e5b6f6;
$custom-dark: #000000;
JSON
{
  "hex": "#d896f2",
  "rgb": {
    "r": 216,
    "g": 150,
    "b": 242
  },
  "hsl": {
    "h": 283.043,
    "s": 77.966,
    "l": 76.863
  },
  "oklch": {
    "l": 0.77002,
    "c": 0.14466,
    "h": 316
  },
  "luminance": 0.42822
}

Semantic roles & 50–950 ramp

primary
#D896F2
secondary
#DFF3D8
accent
#DA0B46
background
#FEFBFF
surface
#FCF6FE
border
#D5D0D6
text
#161117
muted
#848085

Preview Lab

Preview with #D896F2

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

Preview Lab → · Contrast checker → · Palette generator →

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