#D896FF#D896FF

#D896FF is a light, vivid violet. Relative luminance 0.436; OKLCH L 77.6% C 0.159 H 312.0°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#D896FF
RGBrgb(216, 150, 255)
HSLhsl(278, 100%, 79%)
HSVhsv(278, 41%, 100%)
CMYKcmyk(15.3%, 41.2%, 0%, 0%)
CIE-LABlab(71.98, 43.08, -42.71)
CIE-LCHlch(71.98, 60.66, 315.25°)
OKLaboklab(77.59% 0.1067 -0.1183)
OKLCHoklch(77.59% 0.159 312)
XYZxyz(57.2721, 43.6327, 99.9932)
Luminance0.4363 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D896FF #BDFF96
analogous
#A496FF #D896FF #FF96F2
triadic
#D896FF #FFD896 #96FFD8
tetradic
#D896FF #FFA496 #BDFF96 #96F2FF
square
#D896FF #FFA496 #BDFF96 #96F2FF
split-complementary
#D896FF #F2FF96 #96FFA4
monochromatic
#AB1CFF #C159FF #D896FF #EFD3FF #F4E0FF

Accessibility & contrast

On white

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

On black

9.73
#D896FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D896FF
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D896FF#FFFFFF#000000##000000
##D896FF1.002.169.739.73
#FFFFFF2.161.0021.0021.00
#0000009.7321.001.001.00
##0000009.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#81ADFF
Deuteranopia (green-blind)
#92B2FC
Tritanopia (blue-blind)
#D4A5BF
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #d896ff;
/* rgb */ color: rgb(216, 150, 255);
/* oklch */ color: oklch(77.6% 0.159 312.0);
Tailwind
colors: {
  custom: {
    50: '#e5b6ff',
    500: '#d896ff',
    950: '#000000',
  },
}
SCSS
$custom: #d896ff;
$custom-light: #e5b6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d896ff",
  "rgb": {
    "r": 216,
    "g": 150,
    "b": 255
  },
  "hsl": {
    "h": 277.714,
    "s": 100,
    "l": 79.412
  },
  "oklch": {
    "l": 0.77594,
    "c": 0.15927,
    "h": 312
  },
  "luminance": 0.43632
}

Semantic roles & 50–950 ramp

primary
#D896FF
secondary
#E1F7D4
accent
#E60055
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #D896FF

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

Preview Lab → · Contrast checker → · Palette generator →

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