#DB74E2#DB74E2

#DB74E2 is a light, vivid purple. Relative luminance 0.330; OKLCH L 71.4% C 0.186 H 324.9°. Best body text is #000000 at 7.61:1 contrast (WCAG AA passes).

Color values

HEX#DB74E2
RGBrgb(219, 116, 226)
HSLhsl(296, 65%, 67%)
HSVhsv(296, 49%, 89%)
CMYKcmyk(3.1%, 48.7%, 0%, 11.4%)
CIE-LABlab(64.20, 55.75, -38.93)
CIE-LCHlch(64.20, 67.99, 325.07°)
OKLaboklab(71.44% 0.1524 -0.1071)
OKLCHoklch(71.44% 0.186 324.9)
XYZxyz(49.1851, 33.0443, 75.7242)
Luminance0.3304 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB74E2 #7BE274
analogous
#A474E2 #DB74E2 #E274B2
triadic
#DB74E2 #E2DB74 #74E2DB
tetradic
#DB74E2 #E2A474 #7BE274 #74B2E2
square
#DB74E2 #E2A474 #7BE274 #74B2E2
split-complementary
#DB74E2 #B2E274 #74E2A4
monochromatic
#AD26B6 #CE41D7 #DB74E2 #E8A7ED #F5D9F7

Accessibility & contrast

On white

2.76
#DB74E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.61
#DB74E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB74E2
7.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB74E2#FFFFFF#000000##000000
##DB74E21.002.767.617.61
#FFFFFF2.761.0021.0021.00
#0000007.6121.001.001.00
##0000007.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6793E6
Deuteranopia (green-blind)
#86A0DF
Tritanopia (blue-blind)
#DF81A1
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #db74e2;
/* rgb */ color: rgb(219, 116, 226);
/* oklch */ color: oklch(71.4% 0.186 324.9);
Tailwind
colors: {
  custom: {
    50: '#e89feb',
    500: '#db74e2',
    950: '#000000',
  },
}
SCSS
$custom: #db74e2;
$custom-light: #e89feb;
$custom-dark: #000000;
JSON
{
  "hex": "#db74e2",
  "rgb": {
    "r": 219,
    "g": 116,
    "b": 226
  },
  "hsl": {
    "h": 296.182,
    "s": 65.476,
    "l": 67.059
  },
  "oklch": {
    "l": 0.71443,
    "c": 0.18631,
    "h": 324.9
  },
  "luminance": 0.33042
}

Semantic roles & 50–950 ramp

primary
#DB74E2
secondary
#CAEAC7
accent
#CD1824
background
#FEFAFE
surface
#FDF3FD
border
#D5CDD5
text
#160F16
muted
#847F84

Preview Lab

Preview with #DB74E2

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

Preview Lab → · Contrast checker → · Palette generator →

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