#DB74EC#DB74EC

#DB74EC is a light, vivid purple. Relative luminance 0.336; OKLCH L 71.9% C 0.196 H 321.8°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#DB74EC
RGBrgb(219, 116, 236)
HSLhsl(292, 76%, 69%)
HSVhsv(292, 51%, 93%)
CMYKcmyk(7.2%, 50.8%, 0%, 7.5%)
CIE-LABlab(64.65, 57.59, -43.76)
CIE-LCHlch(64.65, 72.34, 322.77°)
OKLaboklab(71.93% 0.1538 -0.1211)
OKLCHoklch(71.93% 0.196 321.8)
XYZxyz(50.5975, 33.6092, 83.1626)
Luminance0.3361 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB74EC #85EC74
analogous
#9F74EC #DB74EC #EC74C1
triadic
#DB74EC #ECDB74 #74ECDB
tetradic
#DB74EC #EC9F74 #85EC74 #74C1EC
square
#DB74EC #EC9F74 #85EC74 #74C1EC
split-complementary
#DB74EC #C1EC74 #74EC9F
monochromatic
#B11CCA #CD3EE5 #DB74EC #E9AAF3 #F7E0FB

Accessibility & contrast

On white

2.72
#DB74EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#DB74EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB74EC
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB74EC#FFFFFF#000000##000000
##DB74EC1.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6195F0
Deuteranopia (green-blind)
#81A1E9
Tritanopia (blue-blind)
#DD84A6
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #db74ec;
/* rgb */ color: rgb(219, 116, 236);
/* oklch */ color: oklch(71.9% 0.196 321.8);
Tailwind
colors: {
  custom: {
    50: '#e8a0f2',
    500: '#db74ec',
    950: '#000000',
  },
}
SCSS
$custom: #db74ec;
$custom-light: #e8a0f2;
$custom-dark: #000000;
JSON
{
  "hex": "#db74ec",
  "rgb": {
    "r": 219,
    "g": 116,
    "b": 236
  },
  "hsl": {
    "h": 291.5,
    "s": 75.949,
    "l": 69.02
  },
  "oklch": {
    "l": 0.71927,
    "c": 0.19572,
    "h": 321.8
  },
  "luminance": 0.33607
}

Semantic roles & 50–950 ramp

primary
#DB74EC
secondary
#D1EFCC
accent
#D80D2A
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #DB74EC

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

Preview Lab → · Contrast checker → · Palette generator →

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