#DB9BEC#DB9BEC

#DB9BEC is a light, vivid purple. Relative luminance 0.446; OKLCH L 77.9% C 0.131 H 319.1°. Best body text is #000000 at 9.91:1 contrast (WCAG AA passes).

Color values

HEX#DB9BEC
RGBrgb(219, 155, 236)
HSLhsl(287, 68%, 77%)
HSVhsv(287, 34%, 93%)
CMYKcmyk(7.2%, 34.3%, 0%, 7.5%)
CIE-LABlab(72.60, 37.45, -31.38)
CIE-LCHlch(72.60, 48.86, 320.03°)
OKLaboklab(77.88% 0.099 -0.0859)
OKLCHoklch(77.88% 0.131 319.1)
XYZxyz(56.0731, 44.5604, 84.9878)
Luminance0.4456 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB9BEC #ACEC9B
analogous
#B39BEC #DB9BEC #EC9BD5
triadic
#DB9BEC #ECDB9B #9BECDB
tetradic
#DB9BEC #ECB39B #ACEC9B #9BD5EC
square
#DB9BEC #ECB39B #ACEC9B #9BD5EC
split-complementary
#DB9BEC #D5EC9B #9BECB3
monochromatic
#B634D8 #C868E2 #DB9BEC #EECEF6 #F6E5FA

Accessibility & contrast

On white

2.12
#DB9BEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.91
#DB9BEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB9BEC
9.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB9BEC#FFFFFF#000000##000000
##DB9BEC1.002.129.919.91
#FFFFFF2.121.0021.0021.00
#0000009.9121.001.001.00
##0000009.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#91AEEF
Deuteranopia (green-blind)
#A0B4E9
Tritanopia (blue-blind)
#DCA4B9
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #db9bec;
/* rgb */ color: rgb(219, 155, 236);
/* oklch */ color: oklch(77.9% 0.131 319.1);
Tailwind
colors: {
  custom: {
    50: '#e7b9f2',
    500: '#db9bec',
    950: '#000000',
  },
}
SCSS
$custom: #db9bec;
$custom-light: #e7b9f2;
$custom-dark: #000000;
JSON
{
  "hex": "#db9bec",
  "rgb": {
    "r": 219,
    "g": 155,
    "b": 236
  },
  "hsl": {
    "h": 287.407,
    "s": 68.067,
    "l": 76.667
  },
  "oklch": {
    "l": 0.77876,
    "c": 0.13104,
    "h": 319.1
  },
  "luminance": 0.44559
}

Semantic roles & 50–950 ramp

primary
#DB9BEC
secondary
#DEF2D9
accent
#D0163D
background
#FEFBFE
surface
#FCF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #DB9BEC

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

Preview Lab → · Contrast checker → · Palette generator →

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