#DB7AF0#DB7AF0

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

Color values

HEX#DB7AF0
RGBrgb(219, 122, 240)
HSLhsl(289, 80%, 71%)
HSVhsv(289, 49%, 94%)
CMYKcmyk(8.8%, 49.2%, 0%, 5.9%)
CIE-LABlab(65.96, 55.40, -43.92)
CIE-LCHlch(65.96, 70.69, 321.59°)
OKLaboklab(72.96% 0.1463 -0.1215)
OKLCHoklch(72.96% 0.19 320.3)
XYZxyz(51.8992, 35.2725, 86.4956)
Luminance0.3527 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7AF0 #8FF07A
analogous
#A07AF0 #DB7AF0 #F07ACA
triadic
#DB7AF0 #F0DB7A #7AF0DB
tetradic
#DB7AF0 #F0A07A #8FF07A #7ACAF0
square
#DB7AF0 #F0A07A #8FF07A #7ACAF0
split-complementary
#DB7AF0 #CAF07A #7AF0A0
monochromatic
#B518D7 #CC43EA #DB7AF0 #EAB1F6 #F8E4FC

Accessibility & contrast

On white

2.61
#DB7AF0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#DB7AF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7AF0
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7AF0#FFFFFF#000000##000000
##DB7AF01.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6699F4
Deuteranopia (green-blind)
#84A4ED
Tritanopia (blue-blind)
#DC8AAA
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #db7af0;
/* rgb */ color: rgb(219, 122, 240);
/* oklch */ color: oklch(73.0% 0.190 320.3);
Tailwind
colors: {
  custom: {
    50: '#e8a3f5',
    500: '#db7af0',
    950: '#000000',
  },
}
SCSS
$custom: #db7af0;
$custom-light: #e8a3f5;
$custom-dark: #000000;
JSON
{
  "hex": "#db7af0",
  "rgb": {
    "r": 219,
    "g": 122,
    "b": 240
  },
  "hsl": {
    "h": 289.322,
    "s": 79.73,
    "l": 70.98
  },
  "oklch": {
    "l": 0.72955,
    "c": 0.19017,
    "h": 320.3
  },
  "luminance": 0.3527
}

Semantic roles & 50–950 ramp

primary
#DB7AF0
secondary
#D9F3D3
accent
#DC092F
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#160F17
muted
#847F85

Preview Lab

Preview with #DB7AF0

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

Preview Lab → · Contrast checker → · Palette generator →

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