#DB77F8#DB77F8

#DB77F8 is a light, highly saturated purple. Relative luminance 0.350; OKLCH L 72.9% C 0.203 H 318.2°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#DB77F8
RGBrgb(219, 119, 248)
HSLhsl(287, 90%, 72%)
HSVhsv(287, 52%, 97%)
CMYKcmyk(11.7%, 52%, 0%, 2.7%)
CIE-LABlab(65.77, 58.42, -48.61)
CIE-LCHlch(65.77, 76.00, 320.24°)
OKLaboklab(72.94% 0.1511 -0.1351)
OKLCHoklch(72.94% 0.203 318.2)
XYZxyz(52.7512, 35.0330, 92.7721)
Luminance0.3503 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB77F8 #94F877
analogous
#9B77F8 #DB77F8 #F877D4
triadic
#DB77F8 #F8DB77 #77F8DB
tetradic
#DB77F8 #F89B77 #94F877 #77D4F8
square
#DB77F8 #F89B77 #94F877 #77D4F8
split-complementary
#DB77F8 #D4F877 #77F89B
monochromatic
#B70CE9 #CC3DF5 #DB77F8 #EAB1FB #F7E2FE

Accessibility & contrast

On white

2.62
#DB77F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#DB77F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB77F8
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB77F8#FFFFFF#000000##000000
##DB77F81.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D99FC
Deuteranopia (green-blind)
#7DA3F5
Tritanopia (blue-blind)
#DB8AAD
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #db77f8;
/* rgb */ color: rgb(219, 119, 248);
/* oklch */ color: oklch(72.9% 0.203 318.2);
Tailwind
colors: {
  custom: {
    50: '#e9a2fb',
    500: '#db77f8',
    950: '#000000',
  },
}
SCSS
$custom: #db77f8;
$custom-light: #e9a2fb;
$custom-dark: #000000;
JSON
{
  "hex": "#db77f8",
  "rgb": {
    "r": 219,
    "g": 119,
    "b": 248
  },
  "hsl": {
    "h": 286.512,
    "s": 90.21,
    "l": 71.961
  },
  "oklch": {
    "l": 0.72941,
    "c": 0.20273,
    "h": 318.2
  },
  "luminance": 0.35031
}

Semantic roles & 50–950 ramp

primary
#DB77F8
secondary
#DDF6D5
accent
#E60034
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #DB77F8

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

Preview Lab → · Contrast checker → · Palette generator →

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