#DB7ACC#DB7ACC

#DB7ACC is a light, vivid purple. Relative luminance 0.333; OKLCH L 71.3% C 0.157 H 333.0°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#DB7ACC
RGBrgb(219, 122, 204)
HSLhsl(309, 57%, 67%)
HSVhsv(309, 44%, 86%)
CMYKcmyk(0%, 44.3%, 6.8%, 14.1%)
CIE-LABlab(64.44, 48.88, -26.25)
CIE-LCHlch(64.44, 55.48, 331.76°)
OKLaboklab(71.32% 0.1398 -0.0711)
OKLCHoklch(71.32% 0.157 333)
XYZxyz(47.0718, 33.3415, 61.0712)
Luminance0.3334 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7ACC #7ADB89
analogous
#B97ADB #DB7ACC #DB7A9C
triadic
#DB7ACC #CCDB7A #7ACCDB
tetradic
#DB7ACC #DBB97A #7ADB89 #7A9CDB
square
#DB7ACC #DBB97A #7ADB89 #7A9CDB
split-complementary
#DB7ACC #9CDB7A #7ADBB9
monochromatic
#AC2F99 #CE4ABA #DB7ACC #E8AADE #F5DAF1

Accessibility & contrast

On white

2.74
#DB7ACC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#DB7ACC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7ACC
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7ACC#FFFFFF#000000##000000
##DB7ACC1.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7894CF
Deuteranopia (green-blind)
#93A1C9
Tritanopia (blue-blind)
#E3809A
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #db7acc;
/* rgb */ color: rgb(219, 122, 204);
/* oklch */ color: oklch(71.3% 0.157 333.0);
Tailwind
colors: {
  custom: {
    50: '#e8a3db',
    500: '#db7acc',
    950: '#000000',
  },
}
SCSS
$custom: #db7acc;
$custom-light: #e8a3db;
$custom-dark: #000000;
JSON
{
  "hex": "#db7acc",
  "rgb": {
    "r": 219,
    "g": 122,
    "b": 204
  },
  "hsl": {
    "h": 309.278,
    "s": 57.396,
    "l": 66.863
  },
  "oklch": {
    "l": 0.71322,
    "c": 0.15685,
    "h": 333
  },
  "luminance": 0.33339
}

Semantic roles & 50–950 ramp

primary
#DB7ACC
secondary
#C9E8CE
accent
#C53A21
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#160F15
muted
#847F83

Preview Lab

Preview with #DB7ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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