#D996FF#D996FF

#D996FF is a light, vivid violet. Relative luminance 0.438; OKLCH L 77.7% C 0.160 H 312.5°. Best body text is #000000 at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#D996FF
RGBrgb(217, 150, 255)
HSLhsl(278, 100%, 79%)
HSVhsv(278, 41%, 100%)
CMYKcmyk(14.9%, 41.2%, 0%, 0%)
CIE-LABlab(72.08, 43.37, -42.54)
CIE-LCHlch(72.08, 60.75, 315.55°)
OKLaboklab(77.69% 0.1078 -0.1178)
OKLCHoklch(77.69% 0.16 312.5)
XYZxyz(57.5686, 43.7855, 100.0071)
Luminance0.4378 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D996FF #BCFF96
analogous
#A596FF #D996FF #FF96F0
triadic
#D996FF #FFD996 #96FFD9
tetradic
#D996FF #FFA596 #BCFF96 #96F0FF
square
#D996FF #FFA596 #BCFF96 #96F0FF
split-complementary
#D996FF #F0FF96 #96FFA5
monochromatic
#AD1CFF #C359FF #D996FF #EFD3FF #F4E0FF

Accessibility & contrast

On white

2.15
#D996FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.76
#D996FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D996FF
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D996FF#FFFFFF#000000##000000
##D996FF1.002.159.769.76
#FFFFFF2.151.0021.0021.00
#0000009.7621.001.001.00
##0000009.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#82ADFF
Deuteranopia (green-blind)
#92B2FC
Tritanopia (blue-blind)
#D6A5BF
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #d996ff;
/* rgb */ color: rgb(217, 150, 255);
/* oklch */ color: oklch(77.7% 0.160 312.5);
Tailwind
colors: {
  custom: {
    50: '#e6b6ff',
    500: '#d996ff',
    950: '#000000',
  },
}
SCSS
$custom: #d996ff;
$custom-light: #e6b6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d996ff",
  "rgb": {
    "r": 217,
    "g": 150,
    "b": 255
  },
  "hsl": {
    "h": 278.286,
    "s": 100,
    "l": 79.412
  },
  "oklch": {
    "l": 0.77694,
    "c": 0.15967,
    "h": 312.5
  },
  "luminance": 0.43784
}

Semantic roles & 50–950 ramp

primary
#D996FF
secondary
#E1F7D4
accent
#E60053
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #D996FF

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

Preview Lab → · Contrast checker → · Palette generator →

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