#DB7AF4#DB7AF4

#DB7AF4 is a light, vivid purple. Relative luminance 0.355; OKLCH L 73.2% C 0.194 H 319.1°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#DB7AF4
RGBrgb(219, 122, 244)
HSLhsl(288, 85%, 72%)
HSVhsv(288, 50%, 96%)
CMYKcmyk(10.2%, 50%, 0%, 4.3%)
CIE-LABlab(66.15, 56.17, -45.83)
CIE-LCHlch(66.15, 72.49, 320.79°)
OKLaboklab(73.15% 0.1468 -0.1271)
OKLCHoklch(73.15% 0.194 319.1)
XYZxyz(52.5000, 35.5128, 89.6596)
Luminance0.3551 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7AF4 #93F47A
analogous
#9E7AF4 #DB7AF4 #F47AD0
triadic
#DB7AF4 #F4DB7A #7AF4DB
tetradic
#DB7AF4 #F49E7A #93F47A #7AD0F4
square
#DB7AF4 #F49E7A #93F47A #7AD0F4
split-complementary
#DB7AF4 #D0F47A #7AF49E
monochromatic
#B713E1 #CC41EF #DB7AF4 #EAB3F9 #F7E3FD

Accessibility & contrast

On white

2.59
#DB7AF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#DB7AF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7AF4
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7AF4#FFFFFF#000000##000000
##DB7AF41.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#649AF8
Deuteranopia (green-blind)
#82A4F1
Tritanopia (blue-blind)
#DC8BAC
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #db7af4;
/* rgb */ color: rgb(219, 122, 244);
/* oklch */ color: oklch(73.2% 0.194 319.1);
Tailwind
colors: {
  custom: {
    50: '#e8a4f8',
    500: '#db7af4',
    950: '#000000',
  },
}
SCSS
$custom: #db7af4;
$custom-light: #e8a4f8;
$custom-dark: #000000;
JSON
{
  "hex": "#db7af4",
  "rgb": {
    "r": 219,
    "g": 122,
    "b": 244
  },
  "hsl": {
    "h": 287.705,
    "s": 84.722,
    "l": 71.765
  },
  "oklch": {
    "l": 0.73153,
    "c": 0.19413,
    "h": 319.1
  },
  "luminance": 0.35511
}

Semantic roles & 50–950 ramp

primary
#DB7AF4
secondary
#DCF4D5
accent
#E10432
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #DB7AF4

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

Preview Lab → · Contrast checker → · Palette generator →

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