#D896FB#D896FB

#D896FB is a light, vivid violet. Relative luminance 0.434; OKLCH L 77.4% C 0.155 H 313.2°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#D896FB
RGBrgb(216, 150, 251)
HSLhsl(279, 93%, 79%)
HSVhsv(279, 40%, 98%)
CMYKcmyk(13.9%, 40.2%, 0%, 1.6%)
CIE-LABlab(71.81, 42.25, -40.80)
CIE-LCHlch(71.81, 58.74, 316.00°)
OKLaboklab(77.41% 0.1059 -0.1128)
OKLCHoklch(77.41% 0.155 313.2)
XYZxyz(56.6350, 43.3778, 96.6374)
Luminance0.4338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D896FB #B9FB96
analogous
#A596FB #D896FB #FB96EB
triadic
#D896FB #FBD896 #96FBD8
tetradic
#D896FB #FBA596 #B9FB96 #96EBFB
square
#D896FB #FBA596 #B9FB96 #96EBFB
split-complementary
#D896FB #EBFB96 #96FBA5
monochromatic
#AC20F7 #C25BF9 #D896FB #EED1FD #F4E2FE

Accessibility & contrast

On white

2.17
#D896FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.68
#D896FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D896FB
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D896FB#FFFFFF#000000##000000
##D896FB1.002.179.689.68
#FFFFFF2.171.0021.0021.00
#0000009.6821.001.001.00
##0000009.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#83ACFF
Deuteranopia (green-blind)
#94B2F8
Tritanopia (blue-blind)
#D5A4BD
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #d896fb;
/* rgb */ color: rgb(216, 150, 251);
/* oklch */ color: oklch(77.4% 0.155 313.2);
Tailwind
colors: {
  custom: {
    50: '#e5b6fd',
    500: '#d896fb',
    950: '#000000',
  },
}
SCSS
$custom: #d896fb;
$custom-light: #e5b6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d896fb",
  "rgb": {
    "r": 216,
    "g": 150,
    "b": 251
  },
  "hsl": {
    "h": 279.208,
    "s": 92.661,
    "l": 78.627
  },
  "oklch": {
    "l": 0.77408,
    "c": 0.15473,
    "h": 313.2
  },
  "luminance": 0.43377
}

Semantic roles & 50–950 ramp

primary
#D896FB
secondary
#E0F6D5
accent
#E60050
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #D896FB

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

Preview Lab → · Contrast checker → · Palette generator →

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