#DB8AEF#DB8AEF

#DB8AEF is a light, vivid purple. Relative luminance 0.395; OKLCH L 75.3% C 0.163 H 319.5°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#DB8AEF
RGBrgb(219, 138, 239)
HSLhsl(288, 76%, 74%)
HSVhsv(288, 42%, 94%)
CMYKcmyk(8.4%, 42.3%, 0%, 6.3%)
CIE-LABlab(69.09, 47.04, -38.47)
CIE-LCHlch(69.09, 60.77, 320.72°)
OKLaboklab(75.27% 0.124 -0.106)
OKLCHoklch(75.27% 0.163 319.5)
XYZxyz(53.8799, 39.4708, 86.4250)
Luminance0.3947 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB8AEF #9EEF8A
analogous
#A98AEF #DB8AEF #EF8AD1
triadic
#DB8AEF #EFDB8A #8AEFDB
tetradic
#DB8AEF #EFA98A #9EEF8A #8AD1EF
square
#DB8AEF #EFA98A #9EEF8A #8AD1EF
split-complementary
#DB8AEF #D1EF8A #8AEFA9
monochromatic
#BA1FE0 #CA54E8 #DB8AEF #ECC0F6 #F7E4FB

Accessibility & contrast

On white

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

On black

8.89
#DB8AEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB8AEF
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB8AEF#FFFFFF#000000##000000
##DB8AEF1.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA3F3
Deuteranopia (green-blind)
#91ACEC
Tritanopia (blue-blind)
#DC97B1
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #db8aef;
/* rgb */ color: rgb(219, 138, 239);
/* oklch */ color: oklch(75.3% 0.163 319.5);
Tailwind
colors: {
  custom: {
    50: '#e8aef4',
    500: '#db8aef',
    950: '#000000',
  },
}
SCSS
$custom: #db8aef;
$custom-light: #e8aef4;
$custom-dark: #000000;
JSON
{
  "hex": "#db8aef",
  "rgb": {
    "r": 219,
    "g": 138,
    "b": 239
  },
  "hsl": {
    "h": 288.119,
    "s": 75.94,
    "l": 73.922
  },
  "oklch": {
    "l": 0.75271,
    "c": 0.16313,
    "h": 319.5
  },
  "luminance": 0.39469
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DB8AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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