#DB7AED#DB7AED

#DB7AED is a light, vivid purple. Relative luminance 0.351; OKLCH L 72.8% C 0.187 H 321.2°. Best body text is #000000 at 8.02:1 contrast (WCAG AA passes).

Color values

HEX#DB7AED
RGBrgb(219, 122, 237)
HSLhsl(291, 76%, 70%)
HSVhsv(291, 49%, 93%)
CMYKcmyk(7.6%, 48.5%, 0%, 7.1%)
CIE-LABlab(65.82, 54.83, -42.48)
CIE-LCHlch(65.82, 69.36, 322.23°)
OKLaboklab(72.81% 0.1459 -0.1174)
OKLCHoklch(72.81% 0.187 321.2)
XYZxyz(51.4572, 35.0957, 84.1680)
Luminance0.3509 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7AED #8CED7A
analogous
#A27AED #DB7AED #ED7AC5
triadic
#DB7AED #EDDB7A #7AEDDB
tetradic
#DB7AED #EDA27A #8CED7A #7AC5ED
square
#DB7AED #EDA27A #8CED7A #7AC5ED
split-complementary
#DB7AED #C5ED7A #7AEDA2
monochromatic
#B41CD0 #CC44E6 #DB7AED #EAB0F4 #F8E4FB

Accessibility & contrast

On white

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

On black

8.02
#DB7AED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7AED
8.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7AED#FFFFFF#000000##000000
##DB7AED1.002.628.028.02
#FFFFFF2.621.0021.0021.00
#0000008.0221.001.001.00
##0000008.0221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #db7aed;
/* rgb */ color: rgb(219, 122, 237);
/* oklch */ color: oklch(72.8% 0.187 321.2);
Tailwind
colors: {
  custom: {
    50: '#e8a3f3',
    500: '#db7aed',
    950: '#000000',
  },
}
SCSS
$custom: #db7aed;
$custom-light: #e8a3f3;
$custom-dark: #000000;
JSON
{
  "hex": "#db7aed",
  "rgb": {
    "r": 219,
    "g": 122,
    "b": 237
  },
  "hsl": {
    "h": 290.609,
    "s": 76.159,
    "l": 70.392
  },
  "oklch": {
    "l": 0.72809,
    "c": 0.18723,
    "h": 321.2
  },
  "luminance": 0.35094
}

Semantic roles & 50–950 ramp

primary
#DB7AED
secondary
#D7F1D2
accent
#D80D2D
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #DB7AED

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

Preview Lab → · Contrast checker → · Palette generator →

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