#DB7AEA#DB7AEA

#DB7AEA is a light, vivid purple. Relative luminance 0.349; OKLCH L 72.7% C 0.184 H 322.1°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#DB7AEA
RGBrgb(219, 122, 234)
HSLhsl(292, 73%, 70%)
HSVhsv(292, 48%, 92%)
CMYKcmyk(6.4%, 47.9%, 0%, 8.2%)
CIE-LABlab(65.69, 54.26, -41.03)
CIE-LCHlch(65.69, 68.03, 322.90°)
OKLaboklab(72.66% 0.1454 -0.1132)
OKLCHoklch(72.66% 0.184 322.1)
XYZxyz(51.0226, 34.9218, 81.8789)
Luminance0.3492 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7AEA #89EA7A
analogous
#A37AEA #DB7AEA #EA7AC1
triadic
#DB7AEA #EADB7A #7AEADB
tetradic
#DB7AEA #EAA37A #89EA7A #7AC1EA
square
#DB7AEA #EAA37A #89EA7A #7AC1EA
split-complementary
#DB7AEA #C1EA7A #7AEAA3
monochromatic
#B320CA #CD45E2 #DB7AEA #E9AFF2 #F8E4FB

Accessibility & contrast

On white

2.63
#DB7AEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#DB7AEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7AEA
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7AEA#FFFFFF#000000##000000
##DB7AEA1.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A98EE
Deuteranopia (green-blind)
#86A3E7
Tritanopia (blue-blind)
#DE88A7
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #db7aea;
/* rgb */ color: rgb(219, 122, 234);
/* oklch */ color: oklch(72.7% 0.184 322.1);
Tailwind
colors: {
  custom: {
    50: '#e8a3f1',
    500: '#db7aea',
    950: '#000000',
  },
}
SCSS
$custom: #db7aea;
$custom-light: #e8a3f1;
$custom-dark: #000000;
JSON
{
  "hex": "#db7aea",
  "rgb": {
    "r": 219,
    "g": 122,
    "b": 234
  },
  "hsl": {
    "h": 291.964,
    "s": 72.727,
    "l": 69.804
  },
  "oklch": {
    "l": 0.72664,
    "c": 0.18431,
    "h": 322.1
  },
  "luminance": 0.3492
}

Semantic roles & 50–950 ramp

primary
#DB7AEA
secondary
#D4F0D0
accent
#D5112B
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #DB7AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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