#DB7EE8#DB7EE8

#DB7EE8 is a light, vivid purple. Relative luminance 0.358; OKLCH L 73.1% C 0.176 H 322.5°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#DB7EE8
RGBrgb(219, 126, 232)
HSLhsl(293, 70%, 70%)
HSVhsv(293, 46%, 91%)
CMYKcmyk(5.6%, 45.7%, 0%, 9%)
CIE-LABlab(66.37, 51.87, -38.85)
CIE-LCHlch(66.37, 64.81, 323.17°)
OKLaboklab(73.15% 0.1396 -0.107)
OKLCHoklch(73.15% 0.176 322.5)
XYZxyz(51.2382, 35.8101, 80.5414)
Luminance0.3581 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7EE8 #8BE87E
analogous
#A67EE8 #DB7EE8 #E87EC0
triadic
#DB7EE8 #E8DB7E #7EE8DB
tetradic
#DB7EE8 #E8A67E #8BE87E #7EC0E8
square
#DB7EE8 #E8A67E #8BE87E #7EC0E8
split-complementary
#DB7EE8 #C0E87E #7EE8A6
monochromatic
#B424C8 #CD4ADF #DB7EE8 #E9B2F1 #F8E5FA

Accessibility & contrast

On white

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

On black

8.16
#DB7EE8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7EE8
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7EE8#FFFFFF#000000##000000
##DB7EE81.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#709AEC
Deuteranopia (green-blind)
#8AA5E5
Tritanopia (blue-blind)
#DE8BA8
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #db7ee8;
/* rgb */ color: rgb(219, 126, 232);
/* oklch */ color: oklch(73.1% 0.176 322.5);
Tailwind
colors: {
  custom: {
    50: '#e8a6ef',
    500: '#db7ee8',
    950: '#000000',
  },
}
SCSS
$custom: #db7ee8;
$custom-light: #e8a6ef;
$custom-dark: #000000;
JSON
{
  "hex": "#db7ee8",
  "rgb": {
    "r": 219,
    "g": 126,
    "b": 232
  },
  "hsl": {
    "h": 292.642,
    "s": 69.737,
    "l": 70.196
  },
  "oklch": {
    "l": 0.73145,
    "c": 0.17589,
    "h": 322.5
  },
  "luminance": 0.35808
}

Semantic roles & 50–950 ramp

primary
#DB7EE8
secondary
#D6F0D2
accent
#D2142B
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #DB7EE8

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

Preview Lab → · Contrast checker → · Palette generator →

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