#DB96EB#DB96EB

#DB96EB is a light, vivid purple. Relative luminance 0.429; OKLCH L 77.0% C 0.139 H 319.9°. Best body text is #000000 at 9.57:1 contrast (WCAG AA passes).

Color values

HEX#DB96EB
RGBrgb(219, 150, 235)
HSLhsl(289, 68%, 75%)
HSVhsv(289, 36%, 92%)
CMYKcmyk(6.8%, 36.2%, 0%, 7.8%)
CIE-LABlab(71.47, 39.92, -32.59)
CIE-LCHlch(71.47, 51.54, 320.78°)
OKLaboklab(77.01% 0.106 -0.0892)
OKLCHoklch(77.01% 0.139 319.9)
XYZxyz(55.1132, 42.8725, 83.9532)
Luminance0.4287 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB96EB #A6EB96
analogous
#B096EB #DB96EB #EB96D0
triadic
#DB96EB #EBDB96 #96EBDB
tetradic
#DB96EB #EBB096 #A6EB96 #96D0EB
square
#DB96EB #EBB096 #A6EB96 #96D0EB
split-complementary
#DB96EB #D0EB96 #96EBB0
monochromatic
#B82FD7 #C963E1 #DB96EB #EDC9F5 #F6E5FA

Accessibility & contrast

On white

2.19
#DB96EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.57
#DB96EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB96EB
9.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB96EB#FFFFFF#000000##000000
##DB96EB1.002.199.579.57
#FFFFFF2.191.0021.0021.00
#0000009.5721.001.001.00
##0000009.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BAAEE
Deuteranopia (green-blind)
#9CB2E8
Tritanopia (blue-blind)
#DCA0B6
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #db96eb;
/* rgb */ color: rgb(219, 150, 235);
/* oklch */ color: oklch(77.0% 0.139 319.9);
Tailwind
colors: {
  custom: {
    50: '#e7b6f1',
    500: '#db96eb',
    950: '#000000',
  },
}
SCSS
$custom: #db96eb;
$custom-light: #e7b6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#db96eb",
  "rgb": {
    "r": 219,
    "g": 150,
    "b": 235
  },
  "hsl": {
    "h": 288.706,
    "s": 68,
    "l": 75.49
  },
  "oklch": {
    "l": 0.77006,
    "c": 0.13858,
    "h": 319.9
  },
  "luminance": 0.42871
}

Semantic roles & 50–950 ramp

primary
#DB96EB
secondary
#DEF2D9
accent
#D01639
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #DB96EB

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

Preview Lab → · Contrast checker → · Palette generator →

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