#DB76FC#DB76FC

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

Color values

HEX#DB76FC
RGBrgb(219, 118, 252)
HSLhsl(285, 96%, 73%)
HSVhsv(285, 53%, 99%)
CMYKcmyk(13.1%, 53.2%, 0%, 1.2%)
CIE-LABlab(65.79, 59.69, -50.79)
CIE-LCHlch(65.79, 78.38, 319.61°)
OKLaboklab(73.01% 0.1528 -0.1414)
OKLCHoklch(73.01% 0.208 317.2)
XYZxyz(53.2600, 35.0471, 96.0358)
Luminance0.3504 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB76FC #97FC76
analogous
#9876FC #DB76FC #FC76DA
triadic
#DB76FC #FCDB76 #76FCDB
tetradic
#DB76FC #FC9876 #97FC76 #76DAFC
square
#DB76FC #FC9876 #97FC76 #76DAFC
split-complementary
#DB76FC #DAFC76 #76FC98
monochromatic
#B805F2 #CB3AFB #DB76FC #EBB2FD #F7E1FE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DB76FC#FFFFFF#000000##000000
##DB76FC1.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)
#5999FF
Deuteranopia (green-blind)
#7AA3F8
Tritanopia (blue-blind)
#DA8BAE
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #db76fc;
/* rgb */ color: rgb(219, 118, 252);
/* oklch */ color: oklch(73.0% 0.208 317.2);
Tailwind
colors: {
  custom: {
    50: '#e9a1fe',
    500: '#db76fc',
    950: '#000000',
  },
}
SCSS
$custom: #db76fc;
$custom-light: #e9a1fe;
$custom-dark: #000000;
JSON
{
  "hex": "#db76fc",
  "rgb": {
    "r": 219,
    "g": 118,
    "b": 252
  },
  "hsl": {
    "h": 285.224,
    "s": 95.714,
    "l": 72.549
  },
  "oklch": {
    "l": 0.73012,
    "c": 0.20821,
    "h": 317.2
  },
  "luminance": 0.35045
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DB76FC

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

Preview Lab → · Contrast checker → · Palette generator →

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