#DB77FE#DB77FE

#DB77FE is a light, highly saturated purple. Relative luminance 0.354; OKLCH L 73.3% C 0.209 H 316.6°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#DB77FE
RGBrgb(219, 119, 254)
HSLhsl(284, 99%, 73%)
HSVhsv(284, 53%, 100%)
CMYKcmyk(13.8%, 53.1%, 0%, 0.4%)
CIE-LABlab(66.07, 59.60, -51.44)
CIE-LCHlch(66.07, 78.73, 319.20°)
OKLaboklab(73.25% 0.1517 -0.1433)
OKLCHoklch(73.25% 0.209 316.6)
XYZxyz(53.6970, 35.4113, 97.7532)
Luminance0.3541 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB77FE #9AFE77
analogous
#9777FE #DB77FE #FE77DE
triadic
#DB77FE #FEDB77 #77FEDB
tetradic
#DB77FE #FE9777 #9AFE77 #77DEFE
square
#DB77FE #FE9777 #9AFE77 #77DEFE
split-complementary
#DB77FE #DEFE77 #77FE97
monochromatic
#B902F9 #CB3AFE #DB77FE #EBB4FE #F7E1FF

Accessibility & contrast

On white

2.60
#DB77FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.08
#DB77FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB77FE
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB77FE#FFFFFF#000000##000000
##DB77FE1.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#599AFF
Deuteranopia (green-blind)
#7AA4FA
Tritanopia (blue-blind)
#DA8CB0
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #db77fe;
/* rgb */ color: rgb(219, 119, 254);
/* oklch */ color: oklch(73.3% 0.209 316.6);
Tailwind
colors: {
  custom: {
    50: '#e9a2ff',
    500: '#db77fe',
    950: '#000000',
  },
}
SCSS
$custom: #db77fe;
$custom-light: #e9a2ff;
$custom-dark: #000000;
JSON
{
  "hex": "#db77fe",
  "rgb": {
    "r": 219,
    "g": 119,
    "b": 254
  },
  "hsl": {
    "h": 284.444,
    "s": 98.54,
    "l": 73.137
  },
  "oklch": {
    "l": 0.73252,
    "c": 0.20869,
    "h": 316.6
  },
  "luminance": 0.35409
}

Semantic roles & 50–950 ramp

primary
#DB77FE
secondary
#DDF7D4
accent
#E6003C
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #DB77FE

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

Preview Lab → · Contrast checker → · Palette generator →

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