#DB7BEF#DB7BEF

#DB7BEF is a light, vivid purple. Relative luminance 0.355; OKLCH L 73.0% C 0.188 H 320.5°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#DB7BEF
RGBrgb(219, 123, 239)
HSLhsl(290, 78%, 71%)
HSVhsv(290, 49%, 94%)
CMYKcmyk(8.4%, 48.5%, 0%, 6.3%)
CIE-LABlab(66.11, 54.71, -43.14)
CIE-LCHlch(66.11, 69.67, 321.74°)
OKLaboklab(73.05% 0.1448 -0.1193)
OKLCHoklch(73.05% 0.188 320.5)
XYZxyz(51.8745, 35.4600, 85.7566)
Luminance0.3546 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7BEF #8FEF7B
analogous
#A17BEF #DB7BEF #EF7BC9
triadic
#DB7BEF #EFDB7B #7BEFDB
tetradic
#DB7BEF #EFA17B #8FEF7B #7BC9EF
square
#DB7BEF #EFA17B #8FEF7B #7BC9EF
split-complementary
#DB7BEF #C9EF7B #7BEFA1
monochromatic
#B51AD6 #CC44E8 #DB7BEF #EAB2F6 #F8E4FC

Accessibility & contrast

On white

2.60
#DB7BEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#DB7BEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7BEF
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7BEF#FFFFFF#000000##000000
##DB7BEF1.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#689AF3
Deuteranopia (green-blind)
#85A4EC
Tritanopia (blue-blind)
#DD8BAA
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #db7bef;
/* rgb */ color: rgb(219, 123, 239);
/* oklch */ color: oklch(73.0% 0.188 320.5);
Tailwind
colors: {
  custom: {
    50: '#e8a4f4',
    500: '#db7bef',
    950: '#000000',
  },
}
SCSS
$custom: #db7bef;
$custom-light: #e8a4f4;
$custom-dark: #000000;
JSON
{
  "hex": "#db7bef",
  "rgb": {
    "r": 219,
    "g": 123,
    "b": 239
  },
  "hsl": {
    "h": 289.655,
    "s": 78.378,
    "l": 70.98
  },
  "oklch": {
    "l": 0.73047,
    "c": 0.1876,
    "h": 320.5
  },
  "luminance": 0.35458
}

Semantic roles & 50–950 ramp

primary
#DB7BEF
secondary
#D9F2D3
accent
#DB0B2F
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #DB7BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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