#DB8BEF#DB8BEF

#DB8BEF is a light, vivid purple. Relative luminance 0.398; OKLCH L 75.4% C 0.161 H 319.4°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#DB8BEF
RGBrgb(219, 139, 239)
HSLhsl(288, 76%, 74%)
HSVhsv(288, 42%, 94%)
CMYKcmyk(8.4%, 41.8%, 0%, 6.3%)
CIE-LABlab(69.30, 46.52, -38.15)
CIE-LCHlch(69.30, 60.16, 320.64°)
OKLaboklab(75.43% 0.1226 -0.105)
OKLCHoklch(75.43% 0.161 319.4)
XYZxyz(54.0240, 39.7591, 86.4731)
Luminance0.3976 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB8BEF #9FEF8B
analogous
#A98BEF #DB8BEF #EF8BD1
triadic
#DB8BEF #EFDB8B #8BEFDB
tetradic
#DB8BEF #EFA98B #9FEF8B #8BD1EF
square
#DB8BEF #EFA98B #9FEF8B #8BD1EF
split-complementary
#DB8BEF #D1EF8B #8BEFA9
monochromatic
#BA1FE0 #CA55E8 #DB8BEF #ECC1F6 #F7E4FB

Accessibility & contrast

On white

2.35
#DB8BEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.95
#DB8BEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB8BEF
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB8BEF#FFFFFF#000000##000000
##DB8BEF1.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA4F3
Deuteranopia (green-blind)
#92ACEC
Tritanopia (blue-blind)
#DC98B2
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #db8bef;
/* rgb */ color: rgb(219, 139, 239);
/* oklch */ color: oklch(75.4% 0.161 319.4);
Tailwind
colors: {
  custom: {
    50: '#e8aef4',
    500: '#db8bef',
    950: '#000000',
  },
}
SCSS
$custom: #db8bef;
$custom-light: #e8aef4;
$custom-dark: #000000;
JSON
{
  "hex": "#db8bef",
  "rgb": {
    "r": 219,
    "g": 139,
    "b": 239
  },
  "hsl": {
    "h": 288,
    "s": 75.758,
    "l": 74.118
  },
  "oklch": {
    "l": 0.75426,
    "c": 0.16145,
    "h": 319.4
  },
  "luminance": 0.39757
}

Semantic roles & 50–950 ramp

primary
#DB8BEF
secondary
#DDF3D8
accent
#D80E36
background
#FEFAFE
surface
#FDF5FD
border
#D5CFD5
text
#161017
muted
#847F85

Preview Lab

Preview with #DB8BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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