#DB9DEB#DB9DEB

#DB9DEB is a light, vivid purple. Relative luminance 0.452; OKLCH L 78.2% C 0.126 H 319.3°. Best body text is #000000 at 10.03:1 contrast (WCAG AA passes).

Color values

HEX#DB9DEB
RGBrgb(219, 157, 235)
HSLhsl(288, 66%, 77%)
HSVhsv(288, 33%, 92%)
CMYKcmyk(6.8%, 33.2%, 0%, 7.8%)
CIE-LABlab(73.01, 36.18, -30.22)
CIE-LCHlch(73.01, 47.14, 320.13°)
OKLaboklab(78.17% 0.0958 -0.0826)
OKLCHoklch(78.17% 0.126 319.3)
XYZxyz(56.2638, 45.1736, 84.3367)
Luminance0.4517 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB9DEB #ADEB9D
analogous
#B49DEB #DB9DEB #EB9DD4
triadic
#DB9DEB #EBDB9D #9DEBDB
tetradic
#DB9DEB #EBB49D #ADEB9D #9DD4EB
square
#DB9DEB #EBB49D #ADEB9D #9DD4EB
split-complementary
#DB9DEB #D4EB9D #9DEBB4
monochromatic
#B637D6 #C86AE1 #DB9DEB #EED0F5 #F6E6FA

Accessibility & contrast

On white

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

On black

10.03
#DB9DEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB9DEB
10.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB9DEB#FFFFFF#000000##000000
##DB9DEB1.002.0910.0310.03
#FFFFFF2.091.0021.0021.00
#00000010.0321.001.001.00
##00000010.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#93AFEE
Deuteranopia (green-blind)
#A2B5E9
Tritanopia (blue-blind)
#DCA6BA
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #db9deb;
/* rgb */ color: rgb(219, 157, 235);
/* oklch */ color: oklch(78.2% 0.126 319.3);
Tailwind
colors: {
  custom: {
    50: '#e7baf1',
    500: '#db9deb',
    950: '#000000',
  },
}
SCSS
$custom: #db9deb;
$custom-light: #e7baf1;
$custom-dark: #000000;
JSON
{
  "hex": "#db9deb",
  "rgb": {
    "r": 219,
    "g": 157,
    "b": 235
  },
  "hsl": {
    "h": 287.692,
    "s": 66.102,
    "l": 76.863
  },
  "oklch": {
    "l": 0.7817,
    "c": 0.12648,
    "h": 319.3
  },
  "luminance": 0.45172
}

Semantic roles & 50–950 ramp

primary
#DB9DEB
secondary
#DFF1DA
accent
#CE183D
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161216
muted
#848184

Preview Lab

Preview with #DB9DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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