#DB96EC#DB96EC

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

Color values

HEX#DB96EC
RGBrgb(219, 150, 236)
HSLhsl(288, 69%, 76%)
HSVhsv(288, 36%, 93%)
CMYKcmyk(7.2%, 36.4%, 0%, 7.5%)
CIE-LABlab(71.51, 40.12, -33.07)
CIE-LCHlch(71.51, 51.99, 320.50°)
OKLaboklab(77.05% 0.1062 -0.0906)
OKLCHoklch(77.05% 0.14 319.5)
XYZxyz(55.2581, 42.9305, 84.7162)
Luminance0.4293 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB96EC #A7EC96
analogous
#B096EC #DB96EC #EC96D2
triadic
#DB96EC #ECDB96 #96ECDB
tetradic
#DB96EC #ECB096 #A7EC96 #96D2EC
square
#DB96EC #ECB096 #A7EC96 #96D2EC
split-complementary
#DB96EC #D2EC96 #96ECB0
monochromatic
#B72ED9 #C962E3 #DB96EC #EDCAF5 #F6E5FA

Accessibility & contrast

On white

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

On black

9.59
#DB96EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB96EC
9.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB96EC#FFFFFF#000000##000000
##DB96EC1.002.199.599.59
#FFFFFF2.191.0021.0021.00
#0000009.5921.001.001.00
##0000009.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #db96ec;
/* rgb */ color: rgb(219, 150, 236);
/* oklch */ color: oklch(77.0% 0.140 319.5);
Tailwind
colors: {
  custom: {
    50: '#e7b6f2',
    500: '#db96ec',
    950: '#000000',
  },
}
SCSS
$custom: #db96ec;
$custom-light: #e7b6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#db96ec",
  "rgb": {
    "r": 219,
    "g": 150,
    "b": 236
  },
  "hsl": {
    "h": 288.14,
    "s": 69.355,
    "l": 75.686
  },
  "oklch": {
    "l": 0.77048,
    "c": 0.13965,
    "h": 319.5
  },
  "luminance": 0.42929
}

Semantic roles & 50–950 ramp

primary
#DB96EC
secondary
#DEF2D9
accent
#D1143A
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #DB96EC

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

Preview Lab → · Contrast checker → · Palette generator →

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