#DB74FC#DB74FC

#DB74FC is a light, highly saturated purple. Relative luminance 0.346; OKLCH L 72.7% C 0.211 H 317.4°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#DB74FC
RGBrgb(219, 116, 252)
HSLhsl(285, 96%, 72%)
HSVhsv(285, 54%, 99%)
CMYKcmyk(13.1%, 54%, 0%, 1.2%)
CIE-LABlab(65.42, 60.66, -51.37)
CIE-LCHlch(65.42, 79.49, 319.74°)
OKLaboklab(72.75% 0.1553 -0.1431)
OKLCHoklch(72.75% 0.211 317.4)
XYZxyz(53.0270, 34.5810, 95.9581)
Luminance0.3458 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB74FC #95FC74
analogous
#9774FC #DB74FC #FC74D9
triadic
#DB74FC #FCDB74 #74FCDB
tetradic
#DB74FC #FC9774 #95FC74 #74D9FC
square
#DB74FC #FC9774 #95FC74 #74D9FC
split-complementary
#DB74FC #D9FC74 #74FC97
monochromatic
#B705F0 #CB38FB #DB74FC #EBB0FD #F7E1FE

Accessibility & contrast

On white

2.65
#DB74FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#DB74FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB74FC
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB74FC#FFFFFF#000000##000000
##DB74FC1.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #db74fc;
/* rgb */ color: rgb(219, 116, 252);
/* oklch */ color: oklch(72.7% 0.211 317.4);
Tailwind
colors: {
  custom: {
    50: '#e9a0fe',
    500: '#db74fc',
    950: '#000000',
  },
}
SCSS
$custom: #db74fc;
$custom-light: #e9a0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#db74fc",
  "rgb": {
    "r": 219,
    "g": 116,
    "b": 252
  },
  "hsl": {
    "h": 285.441,
    "s": 95.775,
    "l": 72.157
  },
  "oklch": {
    "l": 0.72745,
    "c": 0.21121,
    "h": 317.4
  },
  "luminance": 0.34579
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DB74FC

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

Preview Lab → · Contrast checker → · Palette generator →

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