#DB7AF9#DB7AF9

#DB7AF9 is a light, vivid purple. Relative luminance 0.358; OKLCH L 73.4% C 0.199 H 317.7°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#DB7AF9
RGBrgb(219, 122, 249)
HSLhsl(286, 91%, 73%)
HSVhsv(286, 51%, 98%)
CMYKcmyk(12%, 51%, 0%, 2.4%)
CIE-LABlab(66.38, 57.14, -48.20)
CIE-LCHlch(66.38, 74.76, 319.85°)
OKLaboklab(73.41% 0.1473 -0.1339)
OKLCHoklch(73.41% 0.199 317.7)
XYZxyz(53.2694, 35.8206, 93.7122)
Luminance0.3582 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7AF9 #98F97A
analogous
#9C7AF9 #DB7AF9 #F97AD7
triadic
#DB7AF9 #F9DB7A #7AF9DB
tetradic
#DB7AF9 #F99C7A #98F97A #7AD7F9
square
#DB7AF9 #F99C7A #98F97A #7AD7F9
split-complementary
#DB7AF9 #D7F97A #7AF99C
monochromatic
#B80BEE #CB3FF6 #DB7AF9 #EBB5FC #F7E2FE

Accessibility & contrast

On white

2.57
#DB7AF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#DB7AF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7AF9
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7AF9#FFFFFF#000000##000000
##DB7AF91.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#619BFD
Deuteranopia (green-blind)
#7FA5F6
Tritanopia (blue-blind)
#DB8DAE
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #db7af9;
/* rgb */ color: rgb(219, 122, 249);
/* oklch */ color: oklch(73.4% 0.199 317.7);
Tailwind
colors: {
  custom: {
    50: '#e8a4fc',
    500: '#db7af9',
    950: '#000000',
  },
}
SCSS
$custom: #db7af9;
$custom-light: #e8a4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#db7af9",
  "rgb": {
    "r": 219,
    "g": 122,
    "b": 249
  },
  "hsl": {
    "h": 285.827,
    "s": 91.367,
    "l": 72.745
  },
  "oklch": {
    "l": 0.73405,
    "c": 0.19911,
    "h": 317.7
  },
  "luminance": 0.35819
}

Semantic roles & 50–950 ramp

primary
#DB7AF9
secondary
#DDF6D5
accent
#E60036
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #DB7AF9

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

Preview Lab → · Contrast checker → · Palette generator →

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