#DB8AEE#DB8AEE

#DB8AEE is a light, vivid purple. Relative luminance 0.394; OKLCH L 75.2% C 0.162 H 319.8°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#DB8AEE
RGBrgb(219, 138, 238)
HSLhsl(289, 75%, 74%)
HSVhsv(289, 42%, 93%)
CMYKcmyk(8%, 42%, 0%, 6.7%)
CIE-LABlab(69.05, 46.84, -37.99)
CIE-LCHlch(69.05, 60.31, 320.96°)
OKLaboklab(75.23% 0.1238 -0.1046)
OKLCHoklch(75.23% 0.162 319.8)
XYZxyz(53.7326, 39.4119, 85.6492)
Luminance0.3941 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB8AEE #9DEE8A
analogous
#A98AEE #DB8AEE #EE8ACF
triadic
#DB8AEE #EEDB8A #8AEEDB
tetradic
#DB8AEE #EEA98A #9DEE8A #8ACFEE
square
#DB8AEE #EEA98A #9DEE8A #8ACFEE
split-complementary
#DB8AEE #CFEE8A #8AEEA9
monochromatic
#B920DD #CB55E6 #DB8AEE #EBBFF6 #F7E4FB

Accessibility & contrast

On white

2.36
#DB8AEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.88
#DB8AEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB8AEE
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB8AEE#FFFFFF#000000##000000
##DB8AEE1.002.368.888.88
#FFFFFF2.361.0021.0021.00
#0000008.8821.001.001.00
##0000008.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA3F2
Deuteranopia (green-blind)
#91ABEB
Tritanopia (blue-blind)
#DC96B1
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #db8aee;
/* rgb */ color: rgb(219, 138, 238);
/* oklch */ color: oklch(75.2% 0.162 319.8);
Tailwind
colors: {
  custom: {
    50: '#e8aef4',
    500: '#db8aee',
    950: '#000000',
  },
}
SCSS
$custom: #db8aee;
$custom-light: #e8aef4;
$custom-dark: #000000;
JSON
{
  "hex": "#db8aee",
  "rgb": {
    "r": 219,
    "g": 138,
    "b": 238
  },
  "hsl": {
    "h": 288.6,
    "s": 74.627,
    "l": 73.725
  },
  "oklch": {
    "l": 0.75226,
    "c": 0.16208,
    "h": 319.8
  },
  "luminance": 0.3941
}

Semantic roles & 50–950 ramp

primary
#DB8AEE
secondary
#DDF3D8
accent
#D70F35
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #DB8AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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