#DB74FB#DB74FB

#DB74FB is a light, highly saturated purple. Relative luminance 0.345; OKLCH L 72.7% C 0.210 H 317.6°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#DB74FB
RGBrgb(219, 116, 251)
HSLhsl(286, 94%, 72%)
HSVhsv(286, 54%, 98%)
CMYKcmyk(12.7%, 53.8%, 0%, 1.6%)
CIE-LABlab(65.37, 60.46, -50.90)
CIE-LCHlch(65.37, 79.04, 319.91°)
OKLaboklab(72.69% 0.1553 -0.1417)
OKLCHoklch(72.69% 0.21 317.6)
XYZxyz(52.8689, 34.5178, 95.1258)
Luminance0.3452 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB74FB #94FB74
analogous
#9874FB #DB74FB #FB74D7
triadic
#DB74FB #FBDB74 #74FBDB
tetradic
#DB74FB #FB9874 #94FB74 #74D7FB
square
#DB74FB #FB9874 #94FB74 #74D7FB
split-complementary
#DB74FB #D7FB74 #74FB98
monochromatic
#B707EE #CC39F9 #DB74FB #EAAFFD #F7E1FE

Accessibility & contrast

On white

2.66
#DB74FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#DB74FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB74FB
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB74FB#FFFFFF#000000##000000
##DB74FB1.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5698FF
Deuteranopia (green-blind)
#79A2F7
Tritanopia (blue-blind)
#DA89AD
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #db74fb;
/* rgb */ color: rgb(219, 116, 251);
/* oklch */ color: oklch(72.7% 0.210 317.6);
Tailwind
colors: {
  custom: {
    50: '#e9a0fd',
    500: '#db74fb',
    950: '#000000',
  },
}
SCSS
$custom: #db74fb;
$custom-light: #e9a0fd;
$custom-dark: #000000;
JSON
{
  "hex": "#db74fb",
  "rgb": {
    "r": 219,
    "g": 116,
    "b": 251
  },
  "hsl": {
    "h": 285.778,
    "s": 94.406,
    "l": 71.961
  },
  "oklch": {
    "l": 0.72692,
    "c": 0.21024,
    "h": 317.6
  },
  "luminance": 0.34516
}

Semantic roles & 50–950 ramp

primary
#DB74FB
secondary
#DDF6D4
accent
#E60036
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #DB74FB

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

Preview Lab → · Contrast checker → · Palette generator →

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