#DB96FB#DB96FB

#DB96FB is a light, vivid purple. Relative luminance 0.438; OKLCH L 77.7% C 0.156 H 314.5°. Best body text is #000000 at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#DB96FB
RGBrgb(219, 150, 251)
HSLhsl(281, 93%, 79%)
HSVhsv(281, 40%, 98%)
CMYKcmyk(12.7%, 40.2%, 0%, 1.6%)
CIE-LABlab(72.12, 43.12, -40.30)
CIE-LCHlch(72.12, 59.02, 316.94°)
OKLaboklab(77.71% 0.1094 -0.1113)
OKLCHoklch(77.71% 0.156 314.5)
XYZxyz(57.5296, 43.8391, 96.6793)
Luminance0.4384 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB96FB #B6FB96
analogous
#A896FB #DB96FB #FB96E8
triadic
#DB96FB #FBDB96 #96FBDB
tetradic
#DB96FB #FBA896 #B6FB96 #96E8FB
square
#DB96FB #FBA896 #B6FB96 #96E8FB
split-complementary
#DB96FB #E8FB96 #96FBA8
monochromatic
#B320F7 #C75BF9 #DB96FB #EFD1FD #F5E2FE

Accessibility & contrast

On white

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

On black

9.77
#DB96FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB96FB
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB96FB#FFFFFF#000000##000000
##DB96FB1.002.159.779.77
#FFFFFF2.151.0021.0021.00
#0000009.7721.001.001.00
##0000009.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#84ADFF
Deuteranopia (green-blind)
#96B3F8
Tritanopia (blue-blind)
#D9A4BD
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #db96fb;
/* rgb */ color: rgb(219, 150, 251);
/* oklch */ color: oklch(77.7% 0.156 314.5);
Tailwind
colors: {
  custom: {
    50: '#e7b6fd',
    500: '#db96fb',
    950: '#000000',
  },
}
SCSS
$custom: #db96fb;
$custom-light: #e7b6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#db96fb",
  "rgb": {
    "r": 219,
    "g": 150,
    "b": 251
  },
  "hsl": {
    "h": 280.99,
    "s": 92.661,
    "l": 78.627
  },
  "oklch": {
    "l": 0.77712,
    "c": 0.15604,
    "h": 314.5
  },
  "luminance": 0.43838
}

Semantic roles & 50–950 ramp

primary
#DB96FB
secondary
#DFF6D5
accent
#E60049
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #DB96FB

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

Preview Lab → · Contrast checker → · Palette generator →

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