#DB96DD#DB96DD

#DB96DD is a light, vivid purple. Relative luminance 0.421; OKLCH L 76.4% C 0.124 H 325.7°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#DB96DD
RGBrgb(219, 150, 221)
HSLhsl(298, 51%, 73%)
HSVhsv(298, 32%, 87%)
CMYKcmyk(0.9%, 32.1%, 0%, 13.3%)
CIE-LABlab(70.94, 37.26, -25.73)
CIE-LCHlch(70.94, 45.28, 325.37°)
OKLaboklab(76.43% 0.1026 -0.0698)
OKLCHoklch(76.43% 0.124 325.7)
XYZxyz(53.1697, 42.0951, 73.7170)
Luminance0.4209 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB96DD #98DD96
analogous
#B796DD #DB96DD #DD96BB
triadic
#DB96DD #DDDB96 #96DDDB
tetradic
#DB96DD #DDB796 #98DD96 #96BBDD
square
#DB96DD #DDB796 #98DD96 #96BBDD
split-complementary
#DB96DD #BBDD96 #96DDB7
monochromatic
#B83DBC #CB68CE #DB96DD #EBC4EC #F7E8F8

Accessibility & contrast

On white

2.23
#DB96DD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.42
#DB96DD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB96DD
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB96DD#FFFFFF#000000##000000
##DB96DD1.002.239.429.42
#FFFFFF2.231.0021.0021.00
#0000009.4221.001.001.00
##0000009.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#90A8E0
Deuteranopia (green-blind)
#A1B1DB
Tritanopia (blue-blind)
#DF9DB0
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #db96dd;
/* rgb */ color: rgb(219, 150, 221);
/* oklch */ color: oklch(76.4% 0.124 325.7);
Tailwind
colors: {
  custom: {
    50: '#e7b6e7',
    500: '#db96dd',
    950: '#000000',
  },
}
SCSS
$custom: #db96dd;
$custom-light: #e7b6e7;
$custom-dark: #000000;
JSON
{
  "hex": "#db96dd",
  "rgb": {
    "r": 219,
    "g": 150,
    "b": 221
  },
  "hsl": {
    "h": 298.31,
    "s": 51.079,
    "l": 72.745
  },
  "oklch": {
    "l": 0.76428,
    "c": 0.12409,
    "h": 325.7
  },
  "luminance": 0.42093
}

Semantic roles & 50–950 ramp

primary
#DB96DD
secondary
#DDEFDC
accent
#BE272B
background
#FEFBFE
surface
#FCF6FC
border
#D5D0D5
text
#161116
muted
#848084

Preview Lab

Preview with #DB96DD

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

Preview Lab → · Contrast checker → · Palette generator →

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