#DB9FEB#DB9FEB

#DB9FEB is a light, vivid purple. Relative luminance 0.459; OKLCH L 78.5% C 0.123 H 319.0°. Best body text is #000000 at 10.17:1 contrast (WCAG AA passes).

Color values

HEX#DB9FEB
RGBrgb(219, 159, 235)
HSLhsl(287, 66%, 77%)
HSVhsv(287, 32%, 92%)
CMYKcmyk(6.8%, 32.3%, 0%, 7.8%)
CIE-LABlab(73.45, 35.10, -29.53)
CIE-LCHlch(73.45, 45.87, 319.93°)
OKLaboklab(78.51% 0.0929 -0.0806)
OKLCHoklch(78.51% 0.123 319)
XYZxyz(56.6049, 45.8559, 84.4504)
Luminance0.4586 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB9FEB #AFEB9F
analogous
#B59FEB #DB9FEB #EB9FD5
triadic
#DB9FEB #EBDB9F #9FEBDB
tetradic
#DB9FEB #EBB59F #AFEB9F #9FD5EB
square
#DB9FEB #EBB59F #AFEB9F #9FD5EB
split-complementary
#DB9FEB #D5EB9F #9FEBB5
monochromatic
#B53AD6 #C86CE0 #DB9FEB #EED2F6 #F6E6FA

Accessibility & contrast

On white

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

On black

10.17
#DB9FEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB9FEB
10.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB9FEB#FFFFFF#000000##000000
##DB9FEB1.002.0610.1710.17
#FFFFFF2.061.0021.0021.00
#00000010.1721.001.001.00
##00000010.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#95B0EE
Deuteranopia (green-blind)
#A4B7E9
Tritanopia (blue-blind)
#DCA8BB
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #db9feb;
/* rgb */ color: rgb(219, 159, 235);
/* oklch */ color: oklch(78.5% 0.123 319.0);
Tailwind
colors: {
  custom: {
    50: '#e7bcf1',
    500: '#db9feb',
    950: '#000000',
  },
}
SCSS
$custom: #db9feb;
$custom-light: #e7bcf1;
$custom-dark: #000000;
JSON
{
  "hex": "#db9feb",
  "rgb": {
    "r": 219,
    "g": 159,
    "b": 235
  },
  "hsl": {
    "h": 287.368,
    "s": 65.517,
    "l": 77.255
  },
  "oklch": {
    "l": 0.78508,
    "c": 0.12302,
    "h": 319
  },
  "luminance": 0.45855
}

Semantic roles & 50–950 ramp

primary
#DB9FEB
secondary
#DFF1DA
accent
#CD183E
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161216
muted
#848184

Preview Lab

Preview with #DB9FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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