#DB74EE#DB74EE

#DB74EE is a light, vivid purple. Relative luminance 0.337; OKLCH L 72.0% C 0.198 H 321.2°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#DB74EE
RGBrgb(219, 116, 238)
HSLhsl(291, 78%, 69%)
HSVhsv(291, 51%, 93%)
CMYKcmyk(8%, 51.3%, 0%, 6.7%)
CIE-LABlab(64.74, 57.97, -44.72)
CIE-LCHlch(64.74, 73.22, 322.35°)
OKLaboklab(72.03% 0.154 -0.1238)
OKLCHoklch(72.03% 0.198 321.2)
XYZxyz(50.8897, 33.7261, 84.7015)
Luminance0.3372 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB74EE #87EE74
analogous
#9E74EE #DB74EE #EE74C4
triadic
#DB74EE #EEDB74 #74EEDB
tetradic
#DB74EE #EE9E74 #87EE74 #74C4EE
square
#DB74EE #EE9E74 #87EE74 #74C4EE
split-complementary
#DB74EE #C4EE74 #74EE9E
monochromatic
#B219CE #CD3DE7 #DB74EE #E9ABF5 #F7E1FB

Accessibility & contrast

On white

2.71
#DB74EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#DB74EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB74EE
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB74EE#FFFFFF#000000##000000
##DB74EE1.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6096F2
Deuteranopia (green-blind)
#80A1EB
Tritanopia (blue-blind)
#DD85A7
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #db74ee;
/* rgb */ color: rgb(219, 116, 238);
/* oklch */ color: oklch(72.0% 0.198 321.2);
Tailwind
colors: {
  custom: {
    50: '#e8a0f4',
    500: '#db74ee',
    950: '#000000',
  },
}
SCSS
$custom: #db74ee;
$custom-light: #e8a0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#db74ee",
  "rgb": {
    "r": 219,
    "g": 116,
    "b": 238
  },
  "hsl": {
    "h": 290.656,
    "s": 78.205,
    "l": 69.412
  },
  "oklch": {
    "l": 0.72027,
    "c": 0.19763,
    "h": 321.2
  },
  "luminance": 0.33724
}

Semantic roles & 50–950 ramp

primary
#DB74EE
secondary
#D3F0CD
accent
#DA0B2B
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #DB74EE

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

Preview Lab → · Contrast checker → · Palette generator →

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