#DB77FC#DB77FC

#DB77FC is a light, highly saturated purple. Relative luminance 0.353; OKLCH L 73.1% C 0.207 H 317.1°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#DB77FC
RGBrgb(219, 119, 252)
HSLhsl(285, 96%, 73%)
HSVhsv(285, 53%, 99%)
CMYKcmyk(13.1%, 52.8%, 0%, 1.2%)
CIE-LABlab(65.97, 59.21, -50.50)
CIE-LCHlch(65.97, 77.82, 319.54°)
OKLaboklab(73.15% 0.1515 -0.1406)
OKLCHoklch(73.15% 0.207 317.1)
XYZxyz(53.3784, 35.2838, 96.0753)
Luminance0.3528 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB77FC #98FC77
analogous
#9977FC #DB77FC #FC77DA
triadic
#DB77FC #FCDB77 #77FCDB
tetradic
#DB77FC #FC9977 #98FC77 #77DAFC
square
#DB77FC #FC9977 #98FC77 #77DAFC
split-complementary
#DB77FC #DAFC77 #77FC99
monochromatic
#B805F3 #CB3BFB #DB77FC #EBB3FD #F7E1FE

Accessibility & contrast

On white

2.61
#DB77FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#DB77FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB77FC
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB77FC#FFFFFF#000000##000000
##DB77FC1.002.618.068.06
#FFFFFF2.611.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A9AFF
Deuteranopia (green-blind)
#7BA3F8
Tritanopia (blue-blind)
#DA8BAF
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #db77fc;
/* rgb */ color: rgb(219, 119, 252);
/* oklch */ color: oklch(73.1% 0.207 317.1);
Tailwind
colors: {
  custom: {
    50: '#e9a2fe',
    500: '#db77fc',
    950: '#000000',
  },
}
SCSS
$custom: #db77fc;
$custom-light: #e9a2fe;
$custom-dark: #000000;
JSON
{
  "hex": "#db77fc",
  "rgb": {
    "r": 219,
    "g": 119,
    "b": 252
  },
  "hsl": {
    "h": 285.113,
    "s": 95.683,
    "l": 72.745
  },
  "oklch": {
    "l": 0.73147,
    "c": 0.2067,
    "h": 317.1
  },
  "luminance": 0.35282
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DB77FC

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

Preview Lab → · Contrast checker → · Palette generator →

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