#DB77EC#DB77EC

#DB77EC is a light, vivid purple. Relative luminance 0.343; OKLCH L 72.3% C 0.191 H 321.6°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#DB77EC
RGBrgb(219, 119, 236)
HSLhsl(291, 75%, 70%)
HSVhsv(291, 50%, 93%)
CMYKcmyk(7.2%, 49.6%, 0%, 7.5%)
CIE-LABlab(65.21, 56.12, -42.89)
CIE-LCHlch(65.21, 70.63, 322.61°)
OKLaboklab(72.34% 0.1498 -0.1185)
OKLCHoklch(72.34% 0.191 321.6)
XYZxyz(50.9489, 34.3120, 83.2798)
Luminance0.3431 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB77EC #88EC77
analogous
#A177EC #DB77EC #EC77C3
triadic
#DB77EC #ECDB77 #77ECDB
tetradic
#DB77EC #ECA177 #88EC77 #77C3EC
square
#DB77EC #ECA177 #88EC77 #77C3EC
split-complementary
#DB77EC #C3EC77 #77ECA1
monochromatic
#B31DCC #CD41E4 #DB77EC #E9ADF4 #F7E2FB

Accessibility & contrast

On white

2.67
#DB77EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#DB77EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB77EC
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB77EC#FFFFFF#000000##000000
##DB77EC1.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6597F0
Deuteranopia (green-blind)
#83A2E9
Tritanopia (blue-blind)
#DD86A7
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #db77ec;
/* rgb */ color: rgb(219, 119, 236);
/* oklch */ color: oklch(72.3% 0.191 321.6);
Tailwind
colors: {
  custom: {
    50: '#e8a2f2',
    500: '#db77ec',
    950: '#000000',
  },
}
SCSS
$custom: #db77ec;
$custom-light: #e8a2f2;
$custom-dark: #000000;
JSON
{
  "hex": "#db77ec",
  "rgb": {
    "r": 219,
    "g": 119,
    "b": 236
  },
  "hsl": {
    "h": 291.282,
    "s": 75.484,
    "l": 69.608
  },
  "oklch": {
    "l": 0.7234,
    "c": 0.19102,
    "h": 321.6
  },
  "luminance": 0.3431
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DB77EC

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

Preview Lab → · Contrast checker → · Palette generator →

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