#DB74CD#DB74CD

#DB74CD is a light, vivid purple. Relative luminance 0.320; OKLCH L 70.5% C 0.168 H 332.5°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#DB74CD
RGBrgb(219, 116, 205)
HSLhsl(308, 59%, 66%)
HSVhsv(308, 47%, 86%)
CMYKcmyk(0%, 47%, 6.4%, 14.1%)
CIE-LABlab(63.31, 52.06, -28.55)
CIE-LCHlch(63.31, 59.38, 331.26°)
OKLaboklab(70.49% 0.1487 -0.0775)
OKLCHoklch(70.49% 0.168 332.5)
XYZxyz(46.4780, 31.9614, 61.4669)
Luminance0.3196 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB74CD #74DB82
analogous
#B574DB #DB74CD #DB7499
triadic
#DB74CD #CDDB74 #74CDDB
tetradic
#DB74CD #DBB574 #74DB82 #7499DB
square
#DB74CD #DBB574 #74DB82 #7499DB
split-complementary
#DB74CD #99DB74 #74DBB5
monochromatic
#A92C98 #CE43BC #DB74CD #E8A5DE #F4D5F0

Accessibility & contrast

On white

2.84
#DB74CD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#DB74CD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB74CD
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB74CD#FFFFFF#000000##000000
##DB74CD1.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7190D0
Deuteranopia (green-blind)
#8E9FCA
Tritanopia (blue-blind)
#E37B97
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #db74cd;
/* rgb */ color: rgb(219, 116, 205);
/* oklch */ color: oklch(70.5% 0.168 332.5);
Tailwind
colors: {
  custom: {
    50: '#e89fdc',
    500: '#db74cd',
    950: '#000000',
  },
}
SCSS
$custom: #db74cd;
$custom-light: #e89fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#db74cd",
  "rgb": {
    "r": 219,
    "g": 116,
    "b": 205
  },
  "hsl": {
    "h": 308.155,
    "s": 58.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.70495,
    "c": 0.16768,
    "h": 332.5
  },
  "luminance": 0.31959
}

Semantic roles & 50–950 ramp

primary
#DB74CD
secondary
#C4E7C9
accent
#C6361F
background
#FEFAFD
surface
#FDF3FB
border
#D5CDD4
text
#160F15
muted
#847F83

Preview Lab

Preview with #DB74CD

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

Preview Lab → · Contrast checker → · Palette generator →

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