#DB7AE2#DB7AE2

#DB7AE2 is a light, vivid purple. Relative luminance 0.345; OKLCH L 72.3% C 0.177 H 324.7°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#DB7AE2
RGBrgb(219, 122, 226)
HSLhsl(296, 64%, 68%)
HSVhsv(296, 46%, 89%)
CMYKcmyk(3.1%, 46%, 0%, 11.4%)
CIE-LABlab(65.34, 52.77, -37.15)
CIE-LCHlch(65.34, 64.53, 324.86°)
OKLaboklab(72.29% 0.1442 -0.1021)
OKLCHoklch(72.29% 0.177 324.7)
XYZxyz(49.8992, 34.4725, 75.9622)
Luminance0.3447 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7AE2 #81E27A
analogous
#A77AE2 #DB7AE2 #E27AB5
triadic
#DB7AE2 #E2DB7A #7AE2DB
tetradic
#DB7AE2 #E2A77A #81E27A #7AB5E2
square
#DB7AE2 #E2A77A #81E27A #7AB5E2
split-complementary
#DB7AE2 #B5E27A #7AE2A7
monochromatic
#AF28B9 #CD48D7 #DB7AE2 #E9ACED #F6DEF8

Accessibility & contrast

On white

2.66
#DB7AE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#DB7AE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7AE2
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7AE2#FFFFFF#000000##000000
##DB7AE21.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E97E6
Deuteranopia (green-blind)
#8AA3DF
Tritanopia (blue-blind)
#DF86A4
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #db7ae2;
/* rgb */ color: rgb(219, 122, 226);
/* oklch */ color: oklch(72.3% 0.177 324.7);
Tailwind
colors: {
  custom: {
    50: '#e8a3eb',
    500: '#db7ae2',
    950: '#000000',
  },
}
SCSS
$custom: #db7ae2;
$custom-light: #e8a3eb;
$custom-dark: #000000;
JSON
{
  "hex": "#db7ae2",
  "rgb": {
    "r": 219,
    "g": 122,
    "b": 226
  },
  "hsl": {
    "h": 295.962,
    "s": 64.198,
    "l": 68.235
  },
  "oklch": {
    "l": 0.72288,
    "c": 0.17665,
    "h": 324.7
  },
  "luminance": 0.3447
}

Semantic roles & 50–950 ramp

primary
#DB7AE2
secondary
#CEECCC
accent
#CC1926
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F16
muted
#847F84

Preview Lab

Preview with #DB7AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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