#D896FE#D896FE

#D896FE is a light, vivid violet. Relative luminance 0.436; OKLCH L 77.5% C 0.158 H 312.3°. Best body text is #000000 at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#D896FE
RGBrgb(216, 150, 254)
HSLhsl(278, 98%, 79%)
HSVhsv(278, 41%, 100%)
CMYKcmyk(15%, 40.9%, 0%, 0.4%)
CIE-LABlab(71.94, 42.87, -42.23)
CIE-LCHlch(71.94, 60.18, 315.43°)
OKLaboklab(77.55% 0.1065 -0.1169)
OKLCHoklch(77.55% 0.158 312.3)
XYZxyz(57.1116, 43.5684, 99.1477)
Luminance0.4357 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D896FE #BCFE96
analogous
#A496FE #D896FE #FE96F0
triadic
#D896FE #FED896 #96FED8
tetradic
#D896FE #FEA496 #BCFE96 #96F0FE
square
#D896FE #FEA496 #BCFE96 #96F0FE
split-complementary
#D896FE #F0FE96 #96FEA4
monochromatic
#AB1DFD #C159FD #D896FE #EFD3FF #F4E1FF

Accessibility & contrast

On white

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

On black

9.71
#D896FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D896FE
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D896FE#FFFFFF#000000##000000
##D896FE1.002.169.719.71
#FFFFFF2.161.0021.0021.00
#0000009.7121.001.001.00
##0000009.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#82ADFF
Deuteranopia (green-blind)
#92B2FB
Tritanopia (blue-blind)
#D4A5BE
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #d896fe;
/* rgb */ color: rgb(216, 150, 254);
/* oklch */ color: oklch(77.5% 0.158 312.3);
Tailwind
colors: {
  custom: {
    50: '#e5b6ff',
    500: '#d896fe',
    950: '#000000',
  },
}
SCSS
$custom: #d896fe;
$custom-light: #e5b6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d896fe",
  "rgb": {
    "r": 216,
    "g": 150,
    "b": 254
  },
  "hsl": {
    "h": 278.077,
    "s": 98.113,
    "l": 79.216
  },
  "oklch": {
    "l": 0.77547,
    "c": 0.15813,
    "h": 312.3
  },
  "luminance": 0.43567
}

Semantic roles & 50–950 ramp

primary
#D896FE
secondary
#E1F7D4
accent
#E60054
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #D896FE

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

Preview Lab → · Contrast checker → · Palette generator →

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