#DB96EF#DB96EF

#DB96EF is a light, vivid purple. Relative luminance 0.431; OKLCH L 77.2% C 0.143 H 318.4°. Best body text is #000000 at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#DB96EF
RGBrgb(219, 150, 239)
HSLhsl(287, 74%, 76%)
HSVhsv(287, 37%, 94%)
CMYKcmyk(8.4%, 37.2%, 0%, 6.3%)
CIE-LABlab(71.63, 40.71, -34.53)
CIE-LCHlch(71.63, 53.38, 319.69°)
OKLaboklab(77.18% 0.1069 -0.0948)
OKLCHoklch(77.18% 0.143 318.4)
XYZxyz(55.6976, 43.1063, 87.0310)
Luminance0.4310 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB96EF #AAEF96
analogous
#AF96EF #DB96EF #EF96D7
triadic
#DB96EF #EFDB96 #96EFDB
tetradic
#DB96EF #EFAF96 #AAEF96 #96D7EF
square
#DB96EF #EFAF96 #AAEF96 #96D7EF
split-complementary
#DB96EF #D7EF96 #96EFAF
monochromatic
#B72CDF #C961E7 #DB96EF #EDCBF7 #F6E4FB

Accessibility & contrast

On white

2.18
#DB96EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.62
#DB96EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB96EF
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB96EF#FFFFFF#000000##000000
##DB96EF1.002.189.629.62
#FFFFFF2.181.0021.0021.00
#0000009.6221.001.001.00
##0000009.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#89ABF2
Deuteranopia (green-blind)
#9BB2EC
Tritanopia (blue-blind)
#DBA1B8
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #db96ef;
/* rgb */ color: rgb(219, 150, 239);
/* oklch */ color: oklch(77.2% 0.143 318.4);
Tailwind
colors: {
  custom: {
    50: '#e7b6f4',
    500: '#db96ef',
    950: '#000000',
  },
}
SCSS
$custom: #db96ef;
$custom-light: #e7b6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#db96ef",
  "rgb": {
    "r": 219,
    "g": 150,
    "b": 239
  },
  "hsl": {
    "h": 286.517,
    "s": 73.554,
    "l": 76.275
  },
  "oklch": {
    "l": 0.77178,
    "c": 0.14287,
    "h": 318.4
  },
  "luminance": 0.43105
}

Semantic roles & 50–950 ramp

primary
#DB96EF
secondary
#DEF3D8
accent
#D6103C
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #DB96EF

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

Preview Lab → · Contrast checker → · Palette generator →

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