#DB7AEB#DB7AEB

#DB7AEB is a light, vivid purple. Relative luminance 0.350; OKLCH L 72.7% C 0.185 H 321.8°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#DB7AEB
RGBrgb(219, 122, 235)
HSLhsl(292, 74%, 70%)
HSVhsv(292, 48%, 92%)
CMYKcmyk(6.8%, 48.1%, 0%, 7.8%)
CIE-LABlab(65.73, 54.45, -41.51)
CIE-LCHlch(65.73, 68.47, 322.68°)
OKLaboklab(72.71% 0.1456 -0.1146)
OKLCHoklch(72.71% 0.185 321.8)
XYZxyz(51.1667, 34.9795, 82.6377)
Luminance0.3498 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7AEB #8AEB7A
analogous
#A27AEB #DB7AEB #EB7AC3
triadic
#DB7AEB #EBDB7A #7AEBDB
tetradic
#DB7AEB #EBA27A #8AEB7A #7AC3EB
square
#DB7AEB #EBA27A #8AEB7A #7AC3EB
split-complementary
#DB7AEB #C3EB7A #7AEBA2
monochromatic
#B31FCC #CD45E3 #DB7AEB #E9AFF3 #F8E4FB

Accessibility & contrast

On white

2.63
#DB7AEB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#DB7AEB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7AEB
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7AEB#FFFFFF#000000##000000
##DB7AEB1.002.638.008.00
#FFFFFF2.631.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6999EF
Deuteranopia (green-blind)
#86A3E8
Tritanopia (blue-blind)
#DD89A8
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #db7aeb;
/* rgb */ color: rgb(219, 122, 235);
/* oklch */ color: oklch(72.7% 0.185 321.8);
Tailwind
colors: {
  custom: {
    50: '#e8a3f2',
    500: '#db7aeb',
    950: '#000000',
  },
}
SCSS
$custom: #db7aeb;
$custom-light: #e8a3f2;
$custom-dark: #000000;
JSON
{
  "hex": "#db7aeb",
  "rgb": {
    "r": 219,
    "g": 122,
    "b": 235
  },
  "hsl": {
    "h": 291.504,
    "s": 73.856,
    "l": 70
  },
  "oklch": {
    "l": 0.72712,
    "c": 0.18528,
    "h": 321.8
  },
  "luminance": 0.34977
}

Semantic roles & 50–950 ramp

primary
#DB7AEB
secondary
#D5F0D1
accent
#D6102C
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #DB7AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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