#DB76F2#DB76F2

#DB76F2 is a light, vivid purple. Relative luminance 0.344; OKLCH L 72.5% C 0.198 H 319.9°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#DB76F2
RGBrgb(219, 118, 242)
HSLhsl(289, 83%, 71%)
HSVhsv(289, 51%, 95%)
CMYKcmyk(9.5%, 51.2%, 0%, 5.1%)
CIE-LABlab(65.30, 57.75, -46.06)
CIE-LCHlch(65.30, 73.87, 321.43°)
OKLaboklab(72.5% 0.1518 -0.1277)
OKLCHoklch(72.5% 0.198 319.9)
XYZxyz(51.7169, 34.4298, 87.9086)
Luminance0.3443 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB76F2 #8DF276
analogous
#9D76F2 #DB76F2 #F276CB
triadic
#DB76F2 #F2DB76 #76F2DB
tetradic
#DB76F2 #F29D76 #8DF276 #76CBF2
square
#DB76F2 #F29D76 #8DF276 #76CBF2
split-complementary
#DB76F2 #CBF276 #76F29D
monochromatic
#B515D9 #CC3EED #DB76F2 #EAAEF7 #F8E3FC

Accessibility & contrast

On white

2.66
#DB76F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#DB76F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB76F2
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB76F2#FFFFFF#000000##000000
##DB76F21.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6097F6
Deuteranopia (green-blind)
#7FA2EF
Tritanopia (blue-blind)
#DC87A9
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #db76f2;
/* rgb */ color: rgb(219, 118, 242);
/* oklch */ color: oklch(72.5% 0.198 319.9);
Tailwind
colors: {
  custom: {
    50: '#e8a1f7',
    500: '#db76f2',
    950: '#000000',
  },
}
SCSS
$custom: #db76f2;
$custom-light: #e8a1f7;
$custom-dark: #000000;
JSON
{
  "hex": "#db76f2",
  "rgb": {
    "r": 219,
    "g": 118,
    "b": 242
  },
  "hsl": {
    "h": 288.871,
    "s": 82.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.72499,
    "c": 0.19839,
    "h": 319.9
  },
  "luminance": 0.34428
}

Semantic roles & 50–950 ramp

primary
#DB76F2
secondary
#D7F3D1
accent
#DF062F
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #DB76F2

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

Preview Lab → · Contrast checker → · Palette generator →

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