#DB7BEA#DB7BEA

#DB7BEA is a light, vivid purple. Relative luminance 0.352; OKLCH L 72.8% C 0.183 H 322.0°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#DB7BEA
RGBrgb(219, 123, 234)
HSLhsl(292, 73%, 70%)
HSVhsv(292, 47%, 92%)
CMYKcmyk(6.4%, 47.4%, 0%, 8.2%)
CIE-LABlab(65.88, 53.76, -40.73)
CIE-LCHlch(65.88, 67.45, 322.85°)
OKLaboklab(72.81% 0.1441 -0.1124)
OKLCHoklch(72.81% 0.183 322)
XYZxyz(51.1460, 35.1687, 81.9201)
Luminance0.3517 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7BEA #8AEA7B
analogous
#A47BEA #DB7BEA #EA7BC1
triadic
#DB7BEA #EADB7B #7BEADB
tetradic
#DB7BEA #EAA47B #8AEA7B #7BC1EA
square
#DB7BEA #EAA47B #8AEA7B #7BC1EA
split-complementary
#DB7BEA #C1EA7B #7BEAA4
monochromatic
#B320CA #CD46E2 #DB7BEA #E9B0F2 #F8E5FB

Accessibility & contrast

On white

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

On black

8.03
#DB7BEA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7BEA
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7BEA#FFFFFF#000000##000000
##DB7BEA1.002.618.038.03
#FFFFFF2.611.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B99EE
Deuteranopia (green-blind)
#87A4E7
Tritanopia (blue-blind)
#DE89A8
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #db7bea;
/* rgb */ color: rgb(219, 123, 234);
/* oklch */ color: oklch(72.8% 0.183 322.0);
Tailwind
colors: {
  custom: {
    50: '#e8a4f1',
    500: '#db7bea',
    950: '#000000',
  },
}
SCSS
$custom: #db7bea;
$custom-light: #e8a4f1;
$custom-dark: #000000;
JSON
{
  "hex": "#db7bea",
  "rgb": {
    "r": 219,
    "g": 123,
    "b": 234
  },
  "hsl": {
    "h": 291.892,
    "s": 72.549,
    "l": 70
  },
  "oklch": {
    "l": 0.72807,
    "c": 0.1827,
    "h": 322
  },
  "luminance": 0.35166
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DB7BEA

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

Preview Lab → · Contrast checker → · Palette generator →

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