#DB7BEE#DB7BEE

#DB7BEE is a light, vivid purple. Relative luminance 0.354; OKLCH L 73.0% C 0.187 H 320.8°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#DB7BEE
RGBrgb(219, 123, 238)
HSLhsl(290, 77%, 71%)
HSVhsv(290, 48%, 93%)
CMYKcmyk(8%, 48.3%, 0%, 6.7%)
CIE-LABlab(66.06, 54.52, -42.66)
CIE-LCHlch(66.06, 69.22, 321.96°)
OKLaboklab(73% 0.1446 -0.1179)
OKLCHoklch(73% 0.187 320.8)
XYZxyz(51.7272, 35.4011, 84.9807)
Luminance0.3540 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7BEE #8EEE7B
analogous
#A17BEE #DB7BEE #EE7BC7
triadic
#DB7BEE #EEDB7B #7BEEDB
tetradic
#DB7BEE #EEA17B #8EEE7B #7BC7EE
square
#DB7BEE #EEA17B #8EEE7B #7BC7EE
split-complementary
#DB7BEE #C7EE7B #7BEEA1
monochromatic
#B51BD3 #CC45E7 #DB7BEE #EAB1F5 #F8E4FC

Accessibility & contrast

On white

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

On black

8.08
#DB7BEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7BEE
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7BEE#FFFFFF#000000##000000
##DB7BEE1.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#699AF2
Deuteranopia (green-blind)
#85A4EB
Tritanopia (blue-blind)
#DD8AAA
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #db7bee;
/* rgb */ color: rgb(219, 123, 238);
/* oklch */ color: oklch(73.0% 0.187 320.8);
Tailwind
colors: {
  custom: {
    50: '#e8a4f4',
    500: '#db7bee',
    950: '#000000',
  },
}
SCSS
$custom: #db7bee;
$custom-light: #e8a4f4;
$custom-dark: #000000;
JSON
{
  "hex": "#db7bee",
  "rgb": {
    "r": 219,
    "g": 123,
    "b": 238
  },
  "hsl": {
    "h": 290.087,
    "s": 77.181,
    "l": 70.784
  },
  "oklch": {
    "l": 0.72999,
    "c": 0.18661,
    "h": 320.8
  },
  "luminance": 0.35399
}

Semantic roles & 50–950 ramp

primary
#DB7BEE
secondary
#D8F2D3
accent
#D90C2E
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #DB7BEE

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

Preview Lab → · Contrast checker → · Palette generator →

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