#DB7AF1#DB7AF1

#DB7AF1 is a light, vivid purple. Relative luminance 0.353; OKLCH L 73.0% C 0.191 H 320.0°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#DB7AF1
RGBrgb(219, 122, 241)
HSLhsl(289, 81%, 71%)
HSVhsv(289, 49%, 95%)
CMYKcmyk(9.1%, 49.4%, 0%, 5.5%)
CIE-LABlab(66.01, 55.59, -44.40)
CIE-LCHlch(66.01, 71.14, 321.39°)
OKLaboklab(73% 0.1464 -0.1229)
OKLCHoklch(73% 0.191 320)
XYZxyz(52.0482, 35.3320, 87.2801)
Luminance0.3533 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7AF1 #90F17A
analogous
#9F7AF1 #DB7AF1 #F17ACB
triadic
#DB7AF1 #F1DB7A #7AF1DB
tetradic
#DB7AF1 #F19F7A #90F17A #7ACBF1
square
#DB7AF1 #F19F7A #90F17A #7ACBF1
split-complementary
#DB7AF1 #CBF17A #7AF19F
monochromatic
#B617DA #CC43EB #DB7AF1 #EAB1F7 #F8E3FC

Accessibility & contrast

On white

2.60
#DB7AF1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#DB7AF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7AF1
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7AF1#FFFFFF#000000##000000
##DB7AF11.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#669AF5
Deuteranopia (green-blind)
#83A4EE
Tritanopia (blue-blind)
#DC8AAB
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #db7af1;
/* rgb */ color: rgb(219, 122, 241);
/* oklch */ color: oklch(73.0% 0.191 320.0);
Tailwind
colors: {
  custom: {
    50: '#e8a3f6',
    500: '#db7af1',
    950: '#000000',
  },
}
SCSS
$custom: #db7af1;
$custom-light: #e8a3f6;
$custom-dark: #000000;
JSON
{
  "hex": "#db7af1",
  "rgb": {
    "r": 219,
    "g": 122,
    "b": 241
  },
  "hsl": {
    "h": 288.908,
    "s": 80.952,
    "l": 71.176
  },
  "oklch": {
    "l": 0.73004,
    "c": 0.19115,
    "h": 320
  },
  "luminance": 0.3533
}

Semantic roles & 50–950 ramp

primary
#DB7AF1
secondary
#DAF3D4
accent
#DD0830
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#160F17
muted
#847F85

Preview Lab

Preview with #DB7AF1

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

Preview Lab → · Contrast checker → · Palette generator →

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