#DB7AEF#DB7AEF

#DB7AEF is a light, vivid purple. Relative luminance 0.352; OKLCH L 72.9% C 0.189 H 320.6°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#DB7AEF
RGBrgb(219, 122, 239)
HSLhsl(290, 79%, 71%)
HSVhsv(290, 49%, 94%)
CMYKcmyk(8.4%, 49%, 0%, 6.3%)
CIE-LABlab(65.91, 55.21, -43.44)
CIE-LCHlch(65.91, 70.25, 321.80°)
OKLaboklab(72.91% 0.1461 -0.1202)
OKLCHoklch(72.91% 0.189 320.6)
XYZxyz(51.7511, 35.2132, 85.7154)
Luminance0.3521 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7AEF #8EEF7A
analogous
#A07AEF #DB7AEF #EF7AC8
triadic
#DB7AEF #EFDB7A #7AEFDB
tetradic
#DB7AEF #EFA07A #8EEF7A #7AC8EF
square
#DB7AEF #EFA07A #8EEF7A #7AC8EF
split-complementary
#DB7AEF #C8EF7A #7AEFA0
monochromatic
#B51AD5 #CC43E8 #DB7AEF #EAB1F6 #F8E4FC

Accessibility & contrast

On white

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

On black

8.04
#DB7AEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7AEF
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7AEF#FFFFFF#000000##000000
##DB7AEF1.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6799F3
Deuteranopia (green-blind)
#84A4EC
Tritanopia (blue-blind)
#DD8AAA
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #db7aef;
/* rgb */ color: rgb(219, 122, 239);
/* oklch */ color: oklch(72.9% 0.189 320.6);
Tailwind
colors: {
  custom: {
    50: '#e8a3f4',
    500: '#db7aef',
    950: '#000000',
  },
}
SCSS
$custom: #db7aef;
$custom-light: #e8a3f4;
$custom-dark: #000000;
JSON
{
  "hex": "#db7aef",
  "rgb": {
    "r": 219,
    "g": 122,
    "b": 239
  },
  "hsl": {
    "h": 289.744,
    "s": 78.523,
    "l": 70.784
  },
  "oklch": {
    "l": 0.72906,
    "c": 0.18919,
    "h": 320.6
  },
  "luminance": 0.35211
}

Semantic roles & 50–950 ramp

primary
#DB7AEF
secondary
#D8F2D3
accent
#DB0B2E
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #DB7AEF

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

Preview Lab → · Contrast checker → · Palette generator →

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