#DB7EEA#DB7EEA

#DB7EEA is a light, vivid purple. Relative luminance 0.359; OKLCH L 73.2% C 0.178 H 321.9°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#DB7EEA
RGBrgb(219, 126, 234)
HSLhsl(292, 72%, 71%)
HSVhsv(292, 46%, 92%)
CMYKcmyk(6.4%, 46.2%, 0%, 8.2%)
CIE-LABlab(66.46, 52.25, -39.82)
CIE-LCHlch(66.46, 65.69, 322.69°)
OKLaboklab(73.24% 0.1399 -0.1098)
OKLCHoklch(73.24% 0.178 321.9)
XYZxyz(51.5239, 35.9244, 82.0460)
Luminance0.3592 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7EEA #8DEA7E
analogous
#A57EEA #DB7EEA #EA7EC3
triadic
#DB7EEA #EADB7E #7EEADB
tetradic
#DB7EEA #EAA57E #8DEA7E #7EC3EA
square
#DB7EEA #EAA57E #8DEA7E #7EC3EA
split-complementary
#DB7EEA #C3EA7E #7EEAA5
monochromatic
#B521CC #CC49E1 #DB7EEA #EAB3F3 #F8E5FB

Accessibility & contrast

On white

2.57
#DB7EEA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.18
#DB7EEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7EEA
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7EEA#FFFFFF#000000##000000
##DB7EEA1.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6F9BEE
Deuteranopia (green-blind)
#8AA5E7
Tritanopia (blue-blind)
#DD8BA9
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #db7eea;
/* rgb */ color: rgb(219, 126, 234);
/* oklch */ color: oklch(73.2% 0.178 321.9);
Tailwind
colors: {
  custom: {
    50: '#e8a6f1',
    500: '#db7eea',
    950: '#000000',
  },
}
SCSS
$custom: #db7eea;
$custom-light: #e8a6f1;
$custom-dark: #000000;
JSON
{
  "hex": "#db7eea",
  "rgb": {
    "r": 219,
    "g": 126,
    "b": 234
  },
  "hsl": {
    "h": 291.667,
    "s": 72,
    "l": 70.588
  },
  "oklch": {
    "l": 0.73239,
    "c": 0.17785,
    "h": 321.9
  },
  "luminance": 0.35922
}

Semantic roles & 50–950 ramp

primary
#DB7EEA
secondary
#D7F1D3
accent
#D4112C
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #DB7EEA

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

Preview Lab → · Contrast checker → · Palette generator →

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