#DB9DEE#DB9DEE

#DB9DEE is a light, vivid purple. Relative luminance 0.453; OKLCH L 78.3% C 0.130 H 318.1°. Best body text is #000000 at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#DB9DEE
RGBrgb(219, 157, 238)
HSLhsl(286, 70%, 77%)
HSVhsv(286, 34%, 93%)
CMYKcmyk(8%, 34%, 0%, 6.7%)
CIE-LABlab(73.12, 36.77, -31.67)
CIE-LCHlch(73.12, 48.53, 319.26°)
OKLaboklab(78.3% 0.0966 -0.0867)
OKLCHoklch(78.3% 0.13 318.1)
XYZxyz(56.7009, 45.3485, 86.6386)
Luminance0.4535 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB9DEE #B0EE9D
analogous
#B39DEE #DB9DEE #EE9DD8
triadic
#DB9DEE #EEDB9D #9DEEDB
tetradic
#DB9DEE #EEB39D #B0EE9D #9DD8EE
square
#DB9DEE #EEB39D #B0EE9D #9DD8EE
split-complementary
#DB9DEE #D8EE9D #9DEEB3
monochromatic
#B535DC #C869E5 #DB9DEE #EED1F7 #F5E5FA

Accessibility & contrast

On white

2.09
#DB9DEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.07
#DB9DEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB9DEE
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB9DEE#FFFFFF#000000##000000
##DB9DEE1.002.0910.0710.07
#FFFFFF2.091.0021.0021.00
#00000010.0721.001.001.00
##00000010.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#92AFF1
Deuteranopia (green-blind)
#A1B6EB
Tritanopia (blue-blind)
#DBA7BB
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #db9dee;
/* rgb */ color: rgb(219, 157, 238);
/* oklch */ color: oklch(78.3% 0.130 318.1);
Tailwind
colors: {
  custom: {
    50: '#e7baf3',
    500: '#db9dee',
    950: '#000000',
  },
}
SCSS
$custom: #db9dee;
$custom-light: #e7baf3;
$custom-dark: #000000;
JSON
{
  "hex": "#db9dee",
  "rgb": {
    "r": 219,
    "g": 157,
    "b": 238
  },
  "hsl": {
    "h": 285.926,
    "s": 70.435,
    "l": 77.451
  },
  "oklch": {
    "l": 0.78295,
    "c": 0.12977,
    "h": 318.1
  },
  "luminance": 0.45347
}

Semantic roles & 50–950 ramp

primary
#DB9DEE
secondary
#DFF2D9
accent
#D21340
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161217
muted
#848185

Preview Lab

Preview with #DB9DEE

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

Preview Lab → · Contrast checker → · Palette generator →

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