#D896FD#D896FD

#D896FD is a light, vivid violet. Relative luminance 0.435; OKLCH L 77.5% C 0.157 H 312.6°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#D896FD
RGBrgb(216, 150, 253)
HSLhsl(278, 96%, 79%)
HSVhsv(278, 41%, 99%)
CMYKcmyk(14.6%, 40.7%, 0%, 0.8%)
CIE-LABlab(71.90, 42.67, -41.76)
CIE-LCHlch(71.90, 59.70, 315.62°)
OKLaboklab(77.5% 0.1063 -0.1155)
OKLCHoklch(77.5% 0.157 312.6)
XYZxyz(56.9519, 43.5046, 98.3065)
Luminance0.4350 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D896FD #BBFD96
analogous
#A596FD #D896FD #FD96EE
triadic
#D896FD #FDD896 #96FDD8
tetradic
#D896FD #FDA596 #BBFD96 #96EEFD
square
#D896FD #FDA596 #BBFD96 #96EEFD
split-complementary
#D896FD #EEFD96 #96FDA5
monochromatic
#AB1EFB #C25AFC #D896FD #EED2FE #F4E1FE

Accessibility & contrast

On white

2.16
#D896FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.70
#D896FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D896FD
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D896FD#FFFFFF#000000##000000
##D896FD1.002.169.709.70
#FFFFFF2.161.0021.0021.00
#0000009.7021.001.001.00
##0000009.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#82ADFF
Deuteranopia (green-blind)
#93B2FA
Tritanopia (blue-blind)
#D5A5BE
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #d896fd;
/* rgb */ color: rgb(216, 150, 253);
/* oklch */ color: oklch(77.5% 0.157 312.6);
Tailwind
colors: {
  custom: {
    50: '#e5b6fe',
    500: '#d896fd',
    950: '#000000',
  },
}
SCSS
$custom: #d896fd;
$custom-light: #e5b6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d896fd",
  "rgb": {
    "r": 216,
    "g": 150,
    "b": 253
  },
  "hsl": {
    "h": 278.447,
    "s": 96.262,
    "l": 79.02
  },
  "oklch": {
    "l": 0.77501,
    "c": 0.157,
    "h": 312.6
  },
  "luminance": 0.43503
}

Semantic roles & 50–950 ramp

primary
#D896FD
secondary
#E1F7D4
accent
#E60052
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #D896FD

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

Preview Lab → · Contrast checker → · Palette generator →

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