#DB74FE#DB74FE

#DB74FE is a light, highly saturated purple. Relative luminance 0.347; OKLCH L 72.9% C 0.213 H 316.8°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#DB74FE
RGBrgb(219, 116, 254)
HSLhsl(285, 99%, 73%)
HSVhsv(285, 54%, 100%)
CMYKcmyk(13.8%, 54.3%, 0%, 0.4%)
CIE-LABlab(65.52, 61.05, -52.31)
CIE-LCHlch(65.52, 80.40, 319.41°)
OKLaboklab(72.85% 0.1555 -0.1458)
OKLCHoklch(72.85% 0.213 316.8)
XYZxyz(53.3456, 34.7085, 97.6361)
Luminance0.3471 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB74FE #97FE74
analogous
#9674FE #DB74FE #FE74DC
triadic
#DB74FE #FEDB74 #74FEDB
tetradic
#DB74FE #FE9674 #97FE74 #74DCFE
square
#DB74FE #FE9674 #97FE74 #74DCFE
split-complementary
#DB74FE #DCFE74 #74FE96
monochromatic
#B802F6 #CB37FE #DB74FE #EBB1FE #F7E1FF

Accessibility & contrast

On white

2.64
#DB74FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#DB74FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB74FE
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB74FE#FFFFFF#000000##000000
##DB74FE1.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5499FF
Deuteranopia (green-blind)
#77A2FA
Tritanopia (blue-blind)
#DA8AAE
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #db74fe;
/* rgb */ color: rgb(219, 116, 254);
/* oklch */ color: oklch(72.9% 0.213 316.8);
Tailwind
colors: {
  custom: {
    50: '#e9a0ff',
    500: '#db74fe',
    950: '#000000',
  },
}
SCSS
$custom: #db74fe;
$custom-light: #e9a0ff;
$custom-dark: #000000;
JSON
{
  "hex": "#db74fe",
  "rgb": {
    "r": 219,
    "g": 116,
    "b": 254
  },
  "hsl": {
    "h": 284.783,
    "s": 98.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.7285,
    "c": 0.21318,
    "h": 316.8
  },
  "luminance": 0.34707
}

Semantic roles & 50–950 ramp

primary
#DB74FE
secondary
#DDF7D4
accent
#E6003A
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #DB74FE

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

Preview Lab → · Contrast checker → · Palette generator →

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