#DB76EC#DB76EC

#DB76EC is a light, vivid purple. Relative luminance 0.341; OKLCH L 72.2% C 0.193 H 321.7°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).

Color values

HEX#DB76EC
RGBrgb(219, 118, 236)
HSLhsl(291, 76%, 69%)
HSVhsv(291, 50%, 93%)
CMYKcmyk(7.2%, 50%, 0%, 7.5%)
CIE-LABlab(65.02, 56.62, -43.18)
CIE-LCHlch(65.02, 71.20, 322.67°)
OKLaboklab(72.2% 0.1511 -0.1194)
OKLCHoklch(72.2% 0.193 321.7)
XYZxyz(50.8305, 34.0753, 83.2403)
Luminance0.3407 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB76EC #87EC76
analogous
#A076EC #DB76EC #EC76C2
triadic
#DB76EC #ECDB76 #76ECDB
tetradic
#DB76EC #ECA076 #87EC76 #76C2EC
square
#DB76EC #ECA076 #87EC76 #76C2EC
split-complementary
#DB76EC #C2EC76 #76ECA0
monochromatic
#B21CCB #CD40E5 #DB76EC #E9ACF3 #F7E1FB

Accessibility & contrast

On white

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

On black

7.81
#DB76EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB76EC
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB76EC#FFFFFF#000000##000000
##DB76EC1.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6496F0
Deuteranopia (green-blind)
#82A2E9
Tritanopia (blue-blind)
#DD86A6
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #db76ec;
/* rgb */ color: rgb(219, 118, 236);
/* oklch */ color: oklch(72.2% 0.193 321.7);
Tailwind
colors: {
  custom: {
    50: '#e8a1f2',
    500: '#db76ec',
    950: '#000000',
  },
}
SCSS
$custom: #db76ec;
$custom-light: #e8a1f2;
$custom-dark: #000000;
JSON
{
  "hex": "#db76ec",
  "rgb": {
    "r": 219,
    "g": 118,
    "b": 236
  },
  "hsl": {
    "h": 291.356,
    "s": 75.641,
    "l": 69.412
  },
  "oklch": {
    "l": 0.72201,
    "c": 0.19259,
    "h": 321.7
  },
  "luminance": 0.34073
}

Semantic roles & 50–950 ramp

primary
#DB76EC
secondary
#D3F0CE
accent
#D80E2B
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #DB76EC

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

Preview Lab → · Contrast checker → · Palette generator →

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