#DB77DC#DB77DC

#DB77DC is a light, vivid purple. Relative luminance 0.334; OKLCH L 71.6% C 0.176 H 326.9°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#DB77DC
RGBrgb(219, 119, 220)
HSLhsl(299, 59%, 66%)
HSVhsv(299, 46%, 86%)
CMYKcmyk(0.5%, 45.9%, 0%, 13.7%)
CIE-LABlab(64.50, 53.18, -35.11)
CIE-LCHlch(64.50, 63.72, 326.57°)
OKLaboklab(71.58% 0.1473 -0.0962)
OKLCHoklch(71.58% 0.176 326.9)
XYZxyz(48.7276, 33.4235, 71.5810)
Luminance0.3342 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB77DC #78DC77
analogous
#A977DC #DB77DC #DC77AB
triadic
#DB77DC #DCDB77 #77DCDB
tetradic
#DB77DC #DCA977 #78DC77 #77ABDC
square
#DB77DC #DCA977 #78DC77 #77ABDC
split-complementary
#DB77DC #ABDC77 #77DCA9
monochromatic
#AB2CAC #CE46CF #DB77DC #E8A8E9 #F5D8F5

Accessibility & contrast

On white

2.73
#DB77DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#DB77DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB77DC
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB77DC#FFFFFF#000000##000000
##DB77DC1.002.737.687.68
#FFFFFF2.731.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E94DF
Deuteranopia (green-blind)
#8AA1D9
Tritanopia (blue-blind)
#E0829F
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #db77dc;
/* rgb */ color: rgb(219, 119, 220);
/* oklch */ color: oklch(71.6% 0.176 326.9);
Tailwind
colors: {
  custom: {
    50: '#e8a1e7',
    500: '#db77dc',
    950: '#000000',
  },
}
SCSS
$custom: #db77dc;
$custom-light: #e8a1e7;
$custom-dark: #000000;
JSON
{
  "hex": "#db77dc",
  "rgb": {
    "r": 219,
    "g": 119,
    "b": 220
  },
  "hsl": {
    "h": 299.406,
    "s": 59.064,
    "l": 66.471
  },
  "oklch": {
    "l": 0.71584,
    "c": 0.17596,
    "h": 326.9
  },
  "luminance": 0.33421
}

Semantic roles & 50–950 ramp

primary
#DB77DC
secondary
#C7E8C7
accent
#C71F20
background
#FEFAFE
surface
#FDF4FC
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #DB77DC

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

Preview Lab → · Contrast checker → · Palette generator →

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