#DB9DF7#DB9DF7

#DB9DF7 is a light, vivid purple. Relative luminance 0.459; OKLCH L 78.7% C 0.140 H 314.9°. Best body text is #000000 at 10.18:1 contrast (WCAG AA passes).

Color values

HEX#DB9DF7
RGBrgb(219, 157, 247)
HSLhsl(281, 85%, 79%)
HSVhsv(281, 36%, 97%)
CMYKcmyk(11.3%, 36.4%, 0%, 3.1%)
CIE-LABlab(73.47, 38.57, -36.02)
CIE-LCHlch(73.47, 52.77, 316.96°)
OKLaboklab(78.68% 0.0986 -0.0991)
OKLCHoklch(78.68% 0.14 314.9)
XYZxyz(58.0563, 45.8906, 93.7771)
Luminance0.4589 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB9DF7 #B9F79D
analogous
#AE9DF7 #DB9DF7 #F79DE6
triadic
#DB9DF7 #F7DB9D #9DF7DB
tetradic
#DB9DF7 #F7AE9D #B9F79D #9DE6F7
square
#DB9DF7 #F7AE9D #B9F79D #9DE6F7
split-complementary
#DB9DF7 #E6F79D #9DF7AE
monochromatic
#B12CEE #C664F2 #DB9DF7 #F0D6FC #F5E3FD

Accessibility & contrast

On white

2.06
#DB9DF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.18
#DB9DF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB9DF7
10.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB9DF7#FFFFFF#000000##000000
##DB9DF71.002.0610.1810.18
#FFFFFF2.061.0021.0021.00
#00000010.1821.001.001.00
##00000010.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EB1FA
Deuteranopia (green-blind)
#9DB6F4
Tritanopia (blue-blind)
#D9A9BF
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #db9df7;
/* rgb */ color: rgb(219, 157, 247);
/* oklch */ color: oklch(78.7% 0.140 314.9);
Tailwind
colors: {
  custom: {
    50: '#e7bbfa',
    500: '#db9df7',
    950: '#000000',
  },
}
SCSS
$custom: #db9df7;
$custom-light: #e7bbfa;
$custom-dark: #000000;
JSON
{
  "hex": "#db9df7",
  "rgb": {
    "r": 219,
    "g": 157,
    "b": 247
  },
  "hsl": {
    "h": 281.333,
    "s": 84.906,
    "l": 79.216
  },
  "oklch": {
    "l": 0.78679,
    "c": 0.1398,
    "h": 314.9
  },
  "luminance": 0.45889
}

Semantic roles & 50–950 ramp

primary
#DB9DF7
secondary
#E0F5D6
accent
#E10449
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161217
muted
#848185

Preview Lab

Preview with #DB9DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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