#DB7AEE#DB7AEE

#DB7AEE is a light, vivid purple. Relative luminance 0.352; OKLCH L 72.9% C 0.188 H 320.9°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#DB7AEE
RGBrgb(219, 122, 238)
HSLhsl(290, 77%, 71%)
HSVhsv(290, 49%, 93%)
CMYKcmyk(8%, 48.7%, 0%, 6.7%)
CIE-LABlab(65.87, 55.02, -42.96)
CIE-LCHlch(65.87, 69.80, 322.02°)
OKLaboklab(72.86% 0.146 -0.1188)
OKLCHoklch(72.86% 0.188 320.9)
XYZxyz(51.6038, 35.1543, 84.9396)
Luminance0.3515 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7AEE #8DEE7A
analogous
#A17AEE #DB7AEE #EE7AC7
triadic
#DB7AEE #EEDB7A #7AEEDB
tetradic
#DB7AEE #EEA17A #8DEE7A #7AC7EE
square
#DB7AEE #EEA17A #8DEE7A #7AC7EE
split-complementary
#DB7AEE #C7EE7A #7AEEA1
monochromatic
#B51BD3 #CC44E7 #DB7AEE #EAB0F5 #F8E4FC

Accessibility & contrast

On white

2.62
#DB7AEE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#DB7AEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7AEE
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7AEE#FFFFFF#000000##000000
##DB7AEE1.002.628.038.03
#FFFFFF2.621.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6899F2
Deuteranopia (green-blind)
#85A4EB
Tritanopia (blue-blind)
#DD89A9
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #db7aee;
/* rgb */ color: rgb(219, 122, 238);
/* oklch */ color: oklch(72.9% 0.188 320.9);
Tailwind
colors: {
  custom: {
    50: '#e8a3f4',
    500: '#db7aee',
    950: '#000000',
  },
}
SCSS
$custom: #db7aee;
$custom-light: #e8a3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#db7aee",
  "rgb": {
    "r": 219,
    "g": 122,
    "b": 238
  },
  "hsl": {
    "h": 290.172,
    "s": 77.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.72857,
    "c": 0.18821,
    "h": 320.9
  },
  "luminance": 0.35152
}

Semantic roles & 50–950 ramp

primary
#DB7AEE
secondary
#D7F2D2
accent
#DA0C2E
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #DB7AEE

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

Preview Lab → · Contrast checker → · Palette generator →

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