#DB8AEC#DB8AEC

#DB8AEC is a light, vivid purple. Relative luminance 0.393; OKLCH L 75.1% C 0.160 H 320.5°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).

Color values

HEX#DB8AEC
RGBrgb(219, 138, 236)
HSLhsl(290, 72%, 73%)
HSVhsv(290, 42%, 93%)
CMYKcmyk(7.2%, 41.5%, 0%, 7.5%)
CIE-LABlab(68.96, 46.45, -37.02)
CIE-LCHlch(68.96, 59.40, 321.45°)
OKLaboklab(75.13% 0.1235 -0.1018)
OKLCHoklch(75.13% 0.16 320.5)
XYZxyz(53.4404, 39.2950, 84.1103)
Luminance0.3929 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB8AEC #9BEC8A
analogous
#AA8AEC #DB8AEC #EC8ACC
triadic
#DB8AEC #ECDB8A #8AECDB
tetradic
#DB8AEC #ECAA8A #9BEC8A #8ACCEC
square
#DB8AEC #ECAA8A #9BEC8A #8ACCEC
split-complementary
#DB8AEC #CCEC8A #8AECAA
monochromatic
#B923D8 #CB55E3 #DB8AEC #EBBFF5 #F7E5FB

Accessibility & contrast

On white

2.37
#DB8AEC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.86
#DB8AEC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB8AEC
8.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB8AEC#FFFFFF#000000##000000
##DB8AEC1.002.378.868.86
#FFFFFF2.371.0021.0021.00
#0000008.8621.001.001.00
##0000008.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA3F0
Deuteranopia (green-blind)
#92ABE9
Tritanopia (blue-blind)
#DD96B0
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #db8aec;
/* rgb */ color: rgb(219, 138, 236);
/* oklch */ color: oklch(75.1% 0.160 320.5);
Tailwind
colors: {
  custom: {
    50: '#e8aef2',
    500: '#db8aec',
    950: '#000000',
  },
}
SCSS
$custom: #db8aec;
$custom-light: #e8aef2;
$custom-dark: #000000;
JSON
{
  "hex": "#db8aec",
  "rgb": {
    "r": 219,
    "g": 138,
    "b": 236
  },
  "hsl": {
    "h": 289.592,
    "s": 72.059,
    "l": 73.333
  },
  "oklch": {
    "l": 0.75135,
    "c": 0.16002,
    "h": 320.5
  },
  "luminance": 0.39293
}

Semantic roles & 50–950 ramp

primary
#DB8AEC
secondary
#DDF2D9
accent
#D41133
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #DB8AEC

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

Preview Lab → · Contrast checker → · Palette generator →

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