#DB74E8#DB74E8

#DB74E8 is a light, vivid purple. Relative luminance 0.334; OKLCH L 71.7% C 0.192 H 323.0°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#DB74E8
RGBrgb(219, 116, 232)
HSLhsl(293, 72%, 68%)
HSVhsv(293, 50%, 91%)
CMYKcmyk(5.6%, 50%, 0%, 9%)
CIE-LABlab(64.47, 56.85, -41.84)
CIE-LCHlch(64.47, 70.58, 323.65°)
OKLaboklab(71.73% 0.1533 -0.1155)
OKLCHoklch(71.73% 0.192 323)
XYZxyz(50.0228, 33.3794, 80.1362)
Luminance0.3338 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB74E8 #81E874
analogous
#A174E8 #DB74E8 #E874BB
triadic
#DB74E8 #E8DB74 #74E8DB
tetradic
#DB74E8 #E8A174 #81E874 #74BBE8
square
#DB74E8 #E8A174 #81E874 #74BBE8
split-complementary
#DB74E8 #BBE874 #74E8A1
monochromatic
#AF20C2 #CD3FDF #DB74E8 #E9A9F1 #F6DDF9

Accessibility & contrast

On white

2.74
#DB74E8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#DB74E8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB74E8
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB74E8#FFFFFF#000000##000000
##DB74E81.002.747.687.68
#FFFFFF2.741.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6495EC
Deuteranopia (green-blind)
#83A1E5
Tritanopia (blue-blind)
#DE83A4
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #db74e8;
/* rgb */ color: rgb(219, 116, 232);
/* oklch */ color: oklch(71.7% 0.192 323.0);
Tailwind
colors: {
  custom: {
    50: '#e8a0f0',
    500: '#db74e8',
    950: '#000000',
  },
}
SCSS
$custom: #db74e8;
$custom-light: #e8a0f0;
$custom-dark: #000000;
JSON
{
  "hex": "#db74e8",
  "rgb": {
    "r": 219,
    "g": 116,
    "b": 232
  },
  "hsl": {
    "h": 293.276,
    "s": 71.605,
    "l": 68.235
  },
  "oklch": {
    "l": 0.71731,
    "c": 0.19192,
    "h": 323
  },
  "luminance": 0.33377
}

Semantic roles & 50–950 ramp

primary
#DB74E8
secondary
#CEEDCA
accent
#D41228
background
#FEFAFE
surface
#FDF3FD
border
#D5CDD5
text
#160F16
muted
#847F84

Preview Lab

Preview with #DB74E8

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

Preview Lab → · Contrast checker → · Palette generator →

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