#DB74F8#DB74F8

#DB74F8 is a light, highly saturated purple. Relative luminance 0.343; OKLCH L 72.5% C 0.207 H 318.4°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#DB74F8
RGBrgb(219, 116, 248)
HSLhsl(287, 90%, 71%)
HSVhsv(287, 53%, 97%)
CMYKcmyk(11.7%, 53.2%, 0%, 2.7%)
CIE-LABlab(65.22, 59.88, -49.48)
CIE-LCHlch(65.22, 77.68, 320.43°)
OKLaboklab(72.54% 0.155 -0.1376)
OKLCHoklch(72.54% 0.207 318.4)
XYZxyz(52.3998, 34.3301, 92.6549)
Luminance0.3433 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB74F8 #91F874
analogous
#9974F8 #DB74F8 #F874D3
triadic
#DB74F8 #F8DB74 #74F8DB
tetradic
#DB74F8 #F89974 #91F874 #74D3F8
square
#DB74F8 #F89974 #91F874 #74D3F8
split-complementary
#DB74F8 #D3F874 #74F899
monochromatic
#B60CE6 #CC3AF5 #DB74F8 #EAAEFB #F7E2FE

Accessibility & contrast

On white

2.67
#DB74F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#DB74F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB74F8
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB74F8#FFFFFF#000000##000000
##DB74F81.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5997FC
Deuteranopia (green-blind)
#7BA2F4
Tritanopia (blue-blind)
#DB88AB
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #db74f8;
/* rgb */ color: rgb(219, 116, 248);
/* oklch */ color: oklch(72.5% 0.207 318.4);
Tailwind
colors: {
  custom: {
    50: '#e9a0fb',
    500: '#db74f8',
    950: '#000000',
  },
}
SCSS
$custom: #db74f8;
$custom-light: #e9a0fb;
$custom-dark: #000000;
JSON
{
  "hex": "#db74f8",
  "rgb": {
    "r": 219,
    "g": 116,
    "b": 248
  },
  "hsl": {
    "h": 286.818,
    "s": 90.411,
    "l": 71.373
  },
  "oklch": {
    "l": 0.72535,
    "c": 0.2073,
    "h": 318.4
  },
  "luminance": 0.34328
}

Semantic roles & 50–950 ramp

primary
#DB74F8
secondary
#DAF5D3
accent
#E60032
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #DB74F8

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

Preview Lab → · Contrast checker → · Palette generator →

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