#DB77F2#DB77F2

#DB77F2 is a light, vivid purple. Relative luminance 0.347; OKLCH L 72.6% C 0.197 H 319.9°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#DB77F2
RGBrgb(219, 119, 242)
HSLhsl(289, 83%, 71%)
HSVhsv(289, 51%, 95%)
CMYKcmyk(9.5%, 50.8%, 0%, 5.1%)
CIE-LABlab(65.49, 57.26, -45.76)
CIE-LCHlch(65.49, 73.30, 321.37°)
OKLaboklab(72.64% 0.1505 -0.1268)
OKLCHoklch(72.64% 0.197 319.9)
XYZxyz(51.8353, 34.6666, 87.9481)
Luminance0.3467 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB77F2 #8EF277
analogous
#9D77F2 #DB77F2 #F277CC
triadic
#DB77F2 #F2DB77 #77F2DB
tetradic
#DB77F2 #F29D77 #8EF277 #77CCF2
square
#DB77F2 #F29D77 #8EF277 #77CCF2
split-complementary
#DB77F2 #CCF277 #77F29D
monochromatic
#B515DA #CC3FED #DB77F2 #EAAFF7 #F8E3FC

Accessibility & contrast

On white

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

On black

7.93
#DB77F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB77F2
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB77F2#FFFFFF#000000##000000
##DB77F21.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6198F6
Deuteranopia (green-blind)
#80A3EF
Tritanopia (blue-blind)
#DC88AA
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #db77f2;
/* rgb */ color: rgb(219, 119, 242);
/* oklch */ color: oklch(72.6% 0.197 319.9);
Tailwind
colors: {
  custom: {
    50: '#e8a2f7',
    500: '#db77f2',
    950: '#000000',
  },
}
SCSS
$custom: #db77f2;
$custom-light: #e8a2f7;
$custom-dark: #000000;
JSON
{
  "hex": "#db77f2",
  "rgb": {
    "r": 219,
    "g": 119,
    "b": 242
  },
  "hsl": {
    "h": 288.78,
    "s": 82.55,
    "l": 70.784
  },
  "oklch": {
    "l": 0.72637,
    "c": 0.19684,
    "h": 319.9
  },
  "luminance": 0.34665
}

Semantic roles & 50–950 ramp

primary
#DB77F2
secondary
#D8F3D2
accent
#DF072F
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #DB77F2

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

Preview Lab → · Contrast checker → · Palette generator →

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