#DB77E2#DB77E2

#DB77E2 is a light, vivid purple. Relative luminance 0.337; OKLCH L 71.9% C 0.182 H 324.8°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#DB77E2
RGBrgb(219, 119, 226)
HSLhsl(296, 65%, 68%)
HSVhsv(296, 47%, 89%)
CMYKcmyk(3.1%, 47.3%, 0%, 11.4%)
CIE-LABlab(64.76, 54.27, -38.04)
CIE-LCHlch(64.76, 66.27, 324.97°)
OKLaboklab(71.86% 0.1483 -0.1046)
OKLCHoklch(71.86% 0.182 324.8)
XYZxyz(49.5365, 33.7471, 75.8413)
Luminance0.3375 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB77E2 #7EE277
analogous
#A677E2 #DB77E2 #E277B3
triadic
#DB77E2 #E2DB77 #77E2DB
tetradic
#DB77E2 #E2A677 #7EE277 #77B3E2
square
#DB77E2 #E2A677 #7EE277 #77B3E2
split-complementary
#DB77E2 #B3E277 #77E2A6
monochromatic
#AE27B7 #CE45D7 #DB77E2 #E8A9ED #F6DCF8

Accessibility & contrast

On white

2.71
#DB77E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#DB77E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB77E2
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB77E2#FFFFFF#000000##000000
##DB77E21.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B95E6
Deuteranopia (green-blind)
#88A1DF
Tritanopia (blue-blind)
#DF83A2
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #db77e2;
/* rgb */ color: rgb(219, 119, 226);
/* oklch */ color: oklch(71.9% 0.182 324.8);
Tailwind
colors: {
  custom: {
    50: '#e8a1eb',
    500: '#db77e2',
    950: '#000000',
  },
}
SCSS
$custom: #db77e2;
$custom-light: #e8a1eb;
$custom-dark: #000000;
JSON
{
  "hex": "#db77e2",
  "rgb": {
    "r": 219,
    "g": 119,
    "b": 226
  },
  "hsl": {
    "h": 296.075,
    "s": 64.848,
    "l": 67.647
  },
  "oklch": {
    "l": 0.71861,
    "c": 0.18151,
    "h": 324.8
  },
  "luminance": 0.33745
}

Semantic roles & 50–950 ramp

primary
#DB77E2
secondary
#CCEBCA
accent
#CD1925
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #DB77E2

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

Preview Lab → · Contrast checker → · Palette generator →

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