#DB7BEB#DB7BEB

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

Color values

HEX#DB7BEB
RGBrgb(219, 123, 235)
HSLhsl(291, 74%, 70%)
HSVhsv(291, 48%, 92%)
CMYKcmyk(6.8%, 47.7%, 0%, 7.8%)
CIE-LABlab(65.92, 53.95, -41.21)
CIE-LCHlch(65.92, 67.89, 322.62°)
OKLaboklab(72.85% 0.1442 -0.1137)
OKLCHoklch(72.85% 0.184 321.7)
XYZxyz(51.2901, 35.2263, 82.6788)
Luminance0.3522 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7BEB #8BEB7B
analogous
#A37BEB #DB7BEB #EB7BC3
triadic
#DB7BEB #EBDB7B #7BEBDB
tetradic
#DB7BEB #EBA37B #8BEB7B #7BC3EB
square
#DB7BEB #EBA37B #8BEB7B #7BC3EB
split-complementary
#DB7BEB #C3EB7B #7BEBA3
monochromatic
#B41FCD #CD46E3 #DB7BEB #E9B0F3 #F8E4FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DB7BEB#FFFFFF#000000##000000
##DB7BEB1.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)
#6B99EF
Deuteranopia (green-blind)
#87A4E8
Tritanopia (blue-blind)
#DD89A8
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #db7beb;
/* rgb */ color: rgb(219, 123, 235);
/* oklch */ color: oklch(72.9% 0.184 321.7);
Tailwind
colors: {
  custom: {
    50: '#e8a4f2',
    500: '#db7beb',
    950: '#000000',
  },
}
SCSS
$custom: #db7beb;
$custom-light: #e8a4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#db7beb",
  "rgb": {
    "r": 219,
    "g": 123,
    "b": 235
  },
  "hsl": {
    "h": 291.429,
    "s": 73.684,
    "l": 70.196
  },
  "oklch": {
    "l": 0.72854,
    "c": 0.18368,
    "h": 321.7
  },
  "luminance": 0.35224
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DB7BEB

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

Preview Lab → · Contrast checker → · Palette generator →

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