#DB7AFD#DB7AFD

#DB7AFD is a light, highly saturated purple. Relative luminance 0.361; OKLCH L 73.6% C 0.203 H 316.7°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#DB7AFD
RGBrgb(219, 122, 253)
HSLhsl(284, 97%, 74%)
HSVhsv(284, 52%, 99%)
CMYKcmyk(13.4%, 51.8%, 0%, 0.8%)
CIE-LABlab(66.58, 57.93, -50.09)
CIE-LCHlch(66.58, 76.59, 319.15°)
OKLaboklab(73.61% 0.1477 -0.1394)
OKLCHoklch(73.61% 0.203 316.7)
XYZxyz(53.9000, 36.0728, 97.0329)
Luminance0.3607 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7AFD #9CFD7A
analogous
#997AFD #DB7AFD #FD7ADE
triadic
#DB7AFD #FDDB7A #7AFDDB
tetradic
#DB7AFD #FD997A #9CFD7A #7ADEFD
square
#DB7AFD #FD997A #9CFD7A #7ADEFD
split-complementary
#DB7AFD #DEFD7A #7AFD99
monochromatic
#B904F9 #CB3EFC #DB7AFD #EBB6FE #F7E1FF

Accessibility & contrast

On white

2.56
#DB7AFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#DB7AFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7AFD
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7AFD#FFFFFF#000000##000000
##DB7AFD1.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9CFF
Deuteranopia (green-blind)
#7DA5FA
Tritanopia (blue-blind)
#DA8EB0
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #db7afd;
/* rgb */ color: rgb(219, 122, 253);
/* oklch */ color: oklch(73.6% 0.203 316.7);
Tailwind
colors: {
  custom: {
    50: '#e9a4fe',
    500: '#db7afd',
    950: '#000000',
  },
}
SCSS
$custom: #db7afd;
$custom-light: #e9a4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#db7afd",
  "rgb": {
    "r": 219,
    "g": 122,
    "b": 253
  },
  "hsl": {
    "h": 284.427,
    "s": 97.037,
    "l": 73.529
  },
  "oklch": {
    "l": 0.7361,
    "c": 0.20312,
    "h": 316.7
  },
  "luminance": 0.36071
}

Semantic roles & 50–950 ramp

primary
#DB7AFD
secondary
#DDF7D4
accent
#E6003C
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #DB7AFD

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

Preview Lab → · Contrast checker → · Palette generator →

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