#DB74FA#DB74FA

#DB74FA is a light, highly saturated purple. Relative luminance 0.345; OKLCH L 72.6% C 0.209 H 317.9°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#DB74FA
RGBrgb(219, 116, 250)
HSLhsl(286, 93%, 72%)
HSVhsv(286, 54%, 98%)
CMYKcmyk(12.4%, 53.6%, 0%, 2%)
CIE-LABlab(65.32, 60.27, -50.43)
CIE-LCHlch(65.32, 78.58, 320.08°)
OKLaboklab(72.64% 0.1552 -0.1404)
OKLCHoklch(72.64% 0.209 317.9)
XYZxyz(52.7117, 34.4549, 94.2978)
Luminance0.3445 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB74FA #93FA74
analogous
#9874FA #DB74FA #FA74D6
triadic
#DB74FA #FADB74 #74FADB
tetradic
#DB74FA #FA9874 #93FA74 #74D6FA
square
#DB74FA #FA9874 #93FA74 #74D6FA
split-complementary
#DB74FA #D6FA74 #74FA98
monochromatic
#B708EB #CC39F8 #DB74FA #EAAFFC #F7E1FE

Accessibility & contrast

On white

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

On black

7.89
#DB74FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB74FA
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB74FA#FFFFFF#000000##000000
##DB74FA1.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5798FE
Deuteranopia (green-blind)
#79A2F6
Tritanopia (blue-blind)
#DB88AC
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #db74fa;
/* rgb */ color: rgb(219, 116, 250);
/* oklch */ color: oklch(72.6% 0.209 317.9);
Tailwind
colors: {
  custom: {
    50: '#e9a0fc',
    500: '#db74fa',
    950: '#000000',
  },
}
SCSS
$custom: #db74fa;
$custom-light: #e9a0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#db74fa",
  "rgb": {
    "r": 219,
    "g": 116,
    "b": 250
  },
  "hsl": {
    "h": 286.119,
    "s": 93.056,
    "l": 71.765
  },
  "oklch": {
    "l": 0.7264,
    "c": 0.20926,
    "h": 317.9
  },
  "luminance": 0.34453
}

Semantic roles & 50–950 ramp

primary
#DB74FA
secondary
#DCF6D4
accent
#E60035
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #DB74FA

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

Preview Lab → · Contrast checker → · Palette generator →

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