#DB7AFA#DB7AFA

#DB7AFA is a light, highly saturated purple. Relative luminance 0.359; OKLCH L 73.5% C 0.200 H 317.5°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).

Color values

HEX#DB7AFA
RGBrgb(219, 122, 250)
HSLhsl(285, 93%, 73%)
HSVhsv(285, 51%, 98%)
CMYKcmyk(12.4%, 51.2%, 0%, 2%)
CIE-LABlab(66.43, 57.34, -48.68)
CIE-LCHlch(66.43, 75.21, 319.67°)
OKLaboklab(73.46% 0.1474 -0.1353)
OKLCHoklch(73.46% 0.2 317.5)
XYZxyz(53.4258, 35.8831, 94.5358)
Luminance0.3588 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7AFA #99FA7A
analogous
#9B7AFA #DB7AFA #FA7AD9
triadic
#DB7AFA #FADB7A #7AFADB
tetradic
#DB7AFA #FA9B7A #99FA7A #7AD9FA
square
#DB7AFA #FA9B7A #99FA7A #7AD9FA
split-complementary
#DB7AFA #D9FA7A #7AFA9B
monochromatic
#B809F1 #CB3FF8 #DB7AFA #EBB5FC #F7E2FE

Accessibility & contrast

On white

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

On black

8.18
#DB7AFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7AFA
8.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7AFA#FFFFFF#000000##000000
##DB7AFA1.002.578.188.18
#FFFFFF2.571.0021.0021.00
#0000008.1821.001.001.00
##0000008.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#609BFE
Deuteranopia (green-blind)
#7EA5F7
Tritanopia (blue-blind)
#DA8DAF
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #db7afa;
/* rgb */ color: rgb(219, 122, 250);
/* oklch */ color: oklch(73.5% 0.200 317.5);
Tailwind
colors: {
  custom: {
    50: '#e9a4fc',
    500: '#db7afa',
    950: '#000000',
  },
}
SCSS
$custom: #db7afa;
$custom-light: #e9a4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#db7afa",
  "rgb": {
    "r": 219,
    "g": 122,
    "b": 250
  },
  "hsl": {
    "h": 285.469,
    "s": 92.754,
    "l": 72.941
  },
  "oklch": {
    "l": 0.73456,
    "c": 0.2001,
    "h": 317.5
  },
  "luminance": 0.35881
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DB7AFA

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

Preview Lab → · Contrast checker → · Palette generator →

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