#DB7EEB#DB7EEB

#DB7EEB is a light, vivid purple. Relative luminance 0.360; OKLCH L 73.3% C 0.179 H 321.6°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#DB7EEB
RGBrgb(219, 126, 235)
HSLhsl(291, 73%, 71%)
HSVhsv(291, 46%, 92%)
CMYKcmyk(6.8%, 46.4%, 0%, 7.8%)
CIE-LABlab(66.51, 52.44, -40.30)
CIE-LCHlch(66.51, 66.14, 322.45°)
OKLaboklab(73.29% 0.1401 -0.1111)
OKLCHoklch(73.29% 0.179 321.6)
XYZxyz(51.6680, 35.9820, 82.8048)
Luminance0.3598 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7EEB #8EEB7E
analogous
#A47EEB #DB7EEB #EB7EC4
triadic
#DB7EEB #EBDB7E #7EEBDB
tetradic
#DB7EEB #EBA47E #8EEB7E #7EC4EB
square
#DB7EEB #EBA47E #8EEB7E #7EC4EB
split-complementary
#DB7EEB #C4EB7E #7EEBA4
monochromatic
#B520CF #CC49E3 #DB7EEB #EAB3F3 #F8E5FB

Accessibility & contrast

On white

2.56
#DB7EEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#DB7EEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7EEB
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7EEB#FFFFFF#000000##000000
##DB7EEB1.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9BEF
Deuteranopia (green-blind)
#89A5E8
Tritanopia (blue-blind)
#DD8CAA
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #db7eeb;
/* rgb */ color: rgb(219, 126, 235);
/* oklch */ color: oklch(73.3% 0.179 321.6);
Tailwind
colors: {
  custom: {
    50: '#e8a6f2',
    500: '#db7eeb',
    950: '#000000',
  },
}
SCSS
$custom: #db7eeb;
$custom-light: #e8a6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#db7eeb",
  "rgb": {
    "r": 219,
    "g": 126,
    "b": 235
  },
  "hsl": {
    "h": 291.193,
    "s": 73.154,
    "l": 70.784
  },
  "oklch": {
    "l": 0.73286,
    "c": 0.17884,
    "h": 321.6
  },
  "luminance": 0.3598
}

Semantic roles & 50–950 ramp

primary
#DB7EEB
secondary
#D8F1D4
accent
#D5102D
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #DB7EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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