#DB7ACD#DB7ACD

#DB7ACD is a light, vivid purple. Relative luminance 0.334; OKLCH L 71.4% C 0.158 H 332.6°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#DB7ACD
RGBrgb(219, 122, 205)
HSLhsl(309, 57%, 67%)
HSVhsv(309, 44%, 86%)
CMYKcmyk(0%, 44.3%, 6.4%, 14.1%)
CIE-LABlab(64.48, 49.05, -26.76)
CIE-LCHlch(64.48, 55.87, 331.39°)
OKLaboklab(71.36% 0.14 -0.0725)
OKLCHoklch(71.36% 0.158 332.6)
XYZxyz(47.1921, 33.3896, 61.7049)
Luminance0.3339 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7ACD #7ADB88
analogous
#B97ADB #DB7ACD #DB7A9D
triadic
#DB7ACD #CDDB7A #7ACDDB
tetradic
#DB7ACD #DBB97A #7ADB88 #7A9DDB
square
#DB7ACD #DBB97A #7ADB88 #7A9DDB
split-complementary
#DB7ACD #9DDB7A #7ADBB9
monochromatic
#AC2F9A #CE4ABB #DB7ACD #E8AADF #F5DAF1

Accessibility & contrast

On white

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

On black

7.68
#DB7ACD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7ACD
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7ACD#FFFFFF#000000##000000
##DB7ACD1.002.747.687.68
#FFFFFF2.741.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7894D0
Deuteranopia (green-blind)
#92A1CA
Tritanopia (blue-blind)
#E3809A
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #db7acd;
/* rgb */ color: rgb(219, 122, 205);
/* oklch */ color: oklch(71.4% 0.158 332.6);
Tailwind
colors: {
  custom: {
    50: '#e8a3dc',
    500: '#db7acd',
    950: '#000000',
  },
}
SCSS
$custom: #db7acd;
$custom-light: #e8a3dc;
$custom-dark: #000000;
JSON
{
  "hex": "#db7acd",
  "rgb": {
    "r": 219,
    "g": 122,
    "b": 205
  },
  "hsl": {
    "h": 308.66,
    "s": 57.396,
    "l": 66.863
  },
  "oklch": {
    "l": 0.71364,
    "c": 0.15769,
    "h": 332.6
  },
  "luminance": 0.33387
}

Semantic roles & 50–950 ramp

primary
#DB7ACD
secondary
#C9E8CD
accent
#C53821
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#160F15
muted
#847F83

Preview Lab

Preview with #DB7ACD

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

Preview Lab → · Contrast checker → · Palette generator →

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