#DB74DC#DB74DC

#DB74DC is a light, vivid purple. Relative luminance 0.327; OKLCH L 71.2% C 0.181 H 326.9°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#DB74DC
RGBrgb(219, 116, 220)
HSLhsl(299, 60%, 66%)
HSVhsv(299, 47%, 86%)
CMYKcmyk(0.5%, 47.3%, 0%, 13.7%)
CIE-LABlab(63.93, 54.67, -35.99)
CIE-LCHlch(63.93, 65.45, 326.64°)
OKLaboklab(71.16% 0.1515 -0.0987)
OKLCHoklch(71.16% 0.181 326.9)
XYZxyz(48.3762, 32.7207, 71.4639)
Luminance0.3272 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB74DC #75DC74
analogous
#A774DC #DB74DC #DC74A9
triadic
#DB74DC #DCDB74 #74DCDB
tetradic
#DB74DC #DCA774 #75DC74 #74A9DC
square
#DB74DC #DCA774 #75DC74 #74A9DC
split-complementary
#DB74DC #A9DC74 #74DCA7
monochromatic
#A92BAB #CE43D0 #DB74DC #E8A5E8 #F4D6F5

Accessibility & contrast

On white

2.78
#DB74DC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.54
#DB74DC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB74DC
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB74DC#FFFFFF#000000##000000
##DB74DC1.002.787.547.54
#FFFFFF2.781.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A92E0
Deuteranopia (green-blind)
#88A0D9
Tritanopia (blue-blind)
#E07F9E
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #db74dc;
/* rgb */ color: rgb(219, 116, 220);
/* oklch */ color: oklch(71.2% 0.181 326.9);
Tailwind
colors: {
  custom: {
    50: '#e89fe7',
    500: '#db74dc',
    950: '#000000',
  },
}
SCSS
$custom: #db74dc;
$custom-light: #e89fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#db74dc",
  "rgb": {
    "r": 219,
    "g": 116,
    "b": 220
  },
  "hsl": {
    "h": 299.423,
    "s": 59.77,
    "l": 65.882
  },
  "oklch": {
    "l": 0.71162,
    "c": 0.18081,
    "h": 326.9
  },
  "luminance": 0.32718
}

Semantic roles & 50–950 ramp

primary
#DB74DC
secondary
#C5E7C5
accent
#C71E20
background
#FEFAFE
surface
#FDF3FC
border
#D5CDD5
text
#160F16
muted
#847F84

Preview Lab

Preview with #DB74DC

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

Preview Lab → · Contrast checker → · Palette generator →

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