#DB7DF9#DB7DF9

#DB7DF9 is a light, vivid purple. Relative luminance 0.366; OKLCH L 73.8% C 0.194 H 317.5°. Best body text is #000000 at 8.31:1 contrast (WCAG AA passes).

Color values

HEX#DB7DF9
RGBrgb(219, 125, 249)
HSLhsl(285, 91%, 73%)
HSVhsv(285, 50%, 98%)
CMYKcmyk(12%, 49.8%, 0%, 2.4%)
CIE-LABlab(66.95, 55.65, -47.31)
CIE-LCHlch(66.95, 73.04, 319.63°)
OKLaboklab(73.83% 0.1434 -0.1314)
OKLCHoklch(73.83% 0.194 317.5)
XYZxyz(53.6435, 36.5687, 93.8369)
Luminance0.3657 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7DF9 #9BF97D
analogous
#9D7DF9 #DB7DF9 #F97DD9
triadic
#DB7DF9 #F9DB7D #7DF9DB
tetradic
#DB7DF9 #F99D7D #9BF97D #7DD9F9
square
#DB7DF9 #F99D7D #9BF97D #7DD9F9
split-complementary
#DB7DF9 #D9F97D #7DF99D
monochromatic
#B90BF0 #CB42F6 #DB7DF9 #EBB7FC #F7E2FE

Accessibility & contrast

On white

2.53
#DB7DF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.31
#DB7DF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7DF9
8.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7DF9#FFFFFF#000000##000000
##DB7DF91.002.538.318.31
#FFFFFF2.531.0021.0021.00
#0000008.3121.001.001.00
##0000008.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#659DFD
Deuteranopia (green-blind)
#81A6F6
Tritanopia (blue-blind)
#DA8FB0
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #db7df9;
/* rgb */ color: rgb(219, 125, 249);
/* oklch */ color: oklch(73.8% 0.194 317.5);
Tailwind
colors: {
  custom: {
    50: '#e8a6fc',
    500: '#db7df9',
    950: '#000000',
  },
}
SCSS
$custom: #db7df9;
$custom-light: #e8a6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#db7df9",
  "rgb": {
    "r": 219,
    "g": 125,
    "b": 249
  },
  "hsl": {
    "h": 285.484,
    "s": 91.176,
    "l": 73.333
  },
  "oklch": {
    "l": 0.73826,
    "c": 0.19443,
    "h": 317.5
  },
  "luminance": 0.36567
}

Semantic roles & 50–950 ramp

primary
#DB7DF9
secondary
#DDF6D5
accent
#E60038
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #DB7DF9

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

Preview Lab → · Contrast checker → · Palette generator →

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