#DB76EB#DB76EB

#DB76EB is a light, vivid purple. Relative luminance 0.340; OKLCH L 72.2% C 0.192 H 322.0°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#DB76EB
RGBrgb(219, 118, 235)
HSLhsl(292, 75%, 69%)
HSVhsv(292, 50%, 92%)
CMYKcmyk(6.8%, 49.8%, 0%, 7.8%)
CIE-LABlab(64.98, 56.43, -42.70)
CIE-LCHlch(64.98, 70.76, 322.88°)
OKLaboklab(72.15% 0.151 -0.118)
OKLCHoklch(72.15% 0.192 322)
XYZxyz(50.6856, 34.0173, 82.4773)
Luminance0.3402 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB76EB #86EB76
analogous
#A176EB #DB76EB #EB76C1
triadic
#DB76EB #EBDB76 #76EBDB
tetradic
#DB76EB #EBA176 #86EB76 #76C1EB
square
#DB76EB #EBA176 #86EB76 #76C1EB
split-complementary
#DB76EB #C1EB76 #76EBA1
monochromatic
#B21DC9 #CD41E3 #DB76EB #E9ABF3 #F7E1FB

Accessibility & contrast

On white

2.69
#DB76EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#DB76EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB76EB
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB76EB#FFFFFF#000000##000000
##DB76EB1.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6496EF
Deuteranopia (green-blind)
#83A2E8
Tritanopia (blue-blind)
#DE85A6
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #db76eb;
/* rgb */ color: rgb(219, 118, 235);
/* oklch */ color: oklch(72.2% 0.192 322.0);
Tailwind
colors: {
  custom: {
    50: '#e8a1f2',
    500: '#db76eb',
    950: '#000000',
  },
}
SCSS
$custom: #db76eb;
$custom-light: #e8a1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#db76eb",
  "rgb": {
    "r": 219,
    "g": 118,
    "b": 235
  },
  "hsl": {
    "h": 291.795,
    "s": 74.522,
    "l": 69.216
  },
  "oklch": {
    "l": 0.72152,
    "c": 0.19163,
    "h": 322
  },
  "luminance": 0.34015
}

Semantic roles & 50–950 ramp

primary
#DB76EB
secondary
#D2EFCD
accent
#D70F2A
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #DB76EB

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

Preview Lab → · Contrast checker → · Palette generator →

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