#DB77F1#DB77F1

#DB77F1 is a light, vivid purple. Relative luminance 0.346; OKLCH L 72.6% C 0.196 H 320.2°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#DB77F1
RGBrgb(219, 119, 241)
HSLhsl(289, 81%, 71%)
HSVhsv(289, 51%, 95%)
CMYKcmyk(9.1%, 50.6%, 0%, 5.5%)
CIE-LABlab(65.44, 57.07, -45.28)
CIE-LCHlch(65.44, 72.86, 321.57°)
OKLaboklab(72.59% 0.1504 -0.1255)
OKLCHoklch(72.59% 0.196 320.2)
XYZxyz(51.6855, 34.6067, 87.1592)
Luminance0.3461 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB77F1 #8DF177
analogous
#9E77F1 #DB77F1 #F177CA
triadic
#DB77F1 #F1DB77 #77F1DB
tetradic
#DB77F1 #F19E77 #8DF177 #77CAF1
square
#DB77F1 #F19E77 #8DF177 #77CAF1
split-complementary
#DB77F1 #CAF177 #77F19E
monochromatic
#B516D7 #CC40EB #DB77F1 #EAAEF7 #F8E3FC

Accessibility & contrast

On white

2.65
#DB77F1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#DB77F1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB77F1
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB77F1#FFFFFF#000000##000000
##DB77F11.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6298F5
Deuteranopia (green-blind)
#81A3EE
Tritanopia (blue-blind)
#DC88A9
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #db77f1;
/* rgb */ color: rgb(219, 119, 241);
/* oklch */ color: oklch(72.6% 0.196 320.2);
Tailwind
colors: {
  custom: {
    50: '#e8a2f6',
    500: '#db77f1',
    950: '#000000',
  },
}
SCSS
$custom: #db77f1;
$custom-light: #e8a2f6;
$custom-dark: #000000;
JSON
{
  "hex": "#db77f1",
  "rgb": {
    "r": 219,
    "g": 119,
    "b": 241
  },
  "hsl": {
    "h": 289.18,
    "s": 81.333,
    "l": 70.588
  },
  "oklch": {
    "l": 0.72587,
    "c": 0.19586,
    "h": 320.2
  },
  "luminance": 0.34605
}

Semantic roles & 50–950 ramp

primary
#DB77F1
secondary
#D7F2D1
accent
#DE082E
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#160F17
muted
#847F85

Preview Lab

Preview with #DB77F1

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

Preview Lab → · Contrast checker → · Palette generator →

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