#D996FB#D996FB

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

Color values

HEX#D996FB
RGBrgb(217, 150, 251)
HSLhsl(280, 93%, 79%)
HSVhsv(280, 40%, 98%)
CMYKcmyk(13.5%, 40.2%, 0%, 1.6%)
CIE-LABlab(71.91, 42.54, -40.64)
CIE-LCHlch(71.91, 58.83, 316.31°)
OKLaboklab(77.51% 0.1071 -0.1123)
OKLCHoklch(77.51% 0.155 313.6)
XYZxyz(56.9314, 43.5306, 96.6513)
Luminance0.4353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D996FB #B8FB96
analogous
#A696FB #D996FB #FB96EA
triadic
#D996FB #FBD996 #96FBD9
tetradic
#D996FB #FBA696 #B8FB96 #96EAFB
square
#D996FB #FBA696 #B8FB96 #96EAFB
split-complementary
#D996FB #EAFB96 #96FBA6
monochromatic
#AE20F7 #C45BF9 #D996FB #EED1FD #F4E2FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##D996FB#FFFFFF#000000##000000
##D996FB1.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)
#84ACFF
Deuteranopia (green-blind)
#94B2F8
Tritanopia (blue-blind)
#D6A4BD
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #d996fb;
/* rgb */ color: rgb(217, 150, 251);
/* oklch */ color: oklch(77.5% 0.155 313.6);
Tailwind
colors: {
  custom: {
    50: '#e6b6fd',
    500: '#d996fb',
    950: '#000000',
  },
}
SCSS
$custom: #d996fb;
$custom-light: #e6b6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d996fb",
  "rgb": {
    "r": 217,
    "g": 150,
    "b": 251
  },
  "hsl": {
    "h": 279.802,
    "s": 92.661,
    "l": 78.627
  },
  "oklch": {
    "l": 0.77509,
    "c": 0.15516,
    "h": 313.6
  },
  "luminance": 0.43529
}

Semantic roles & 50–950 ramp

primary
#D996FB
secondary
#E0F6D5
accent
#E6004D
background
#FEFBFF
surface
#FCF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #D996FB

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

Preview Lab → · Contrast checker → · Palette generator →

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