#DB7BED#DB7BED

#DB7BED is a light, vivid purple. Relative luminance 0.353; OKLCH L 73.0% C 0.186 H 321.1°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#DB7BED
RGBrgb(219, 123, 237)
HSLhsl(291, 76%, 71%)
HSVhsv(291, 48%, 93%)
CMYKcmyk(7.6%, 48.1%, 0%, 7.1%)
CIE-LABlab(66.01, 54.33, -42.18)
CIE-LCHlch(66.01, 68.78, 322.18°)
OKLaboklab(72.95% 0.1445 -0.1165)
OKLCHoklch(72.95% 0.186 321.1)
XYZxyz(51.5807, 35.3425, 84.2091)
Luminance0.3534 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7BED #8DED7B
analogous
#A27BED #DB7BED #ED7BC6
triadic
#DB7BED #EDDB7B #7BEDDB
tetradic
#DB7BED #EDA27B #8DED7B #7BC6ED
square
#DB7BED #EDA27B #8DED7B #7BC6ED
split-complementary
#DB7BED #C6ED7B #7BEDA2
monochromatic
#B51DD1 #CC45E6 #DB7BED #EAB1F4 #F8E4FB

Accessibility & contrast

On white

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

On black

8.07
#DB7BED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7BED
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7BED#FFFFFF#000000##000000
##DB7BED1.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9AF1
Deuteranopia (green-blind)
#86A4EA
Tritanopia (blue-blind)
#DD8AA9
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #db7bed;
/* rgb */ color: rgb(219, 123, 237);
/* oklch */ color: oklch(73.0% 0.186 321.1);
Tailwind
colors: {
  custom: {
    50: '#e8a4f3',
    500: '#db7bed',
    950: '#000000',
  },
}
SCSS
$custom: #db7bed;
$custom-light: #e8a4f3;
$custom-dark: #000000;
JSON
{
  "hex": "#db7bed",
  "rgb": {
    "r": 219,
    "g": 123,
    "b": 237
  },
  "hsl": {
    "h": 290.526,
    "s": 76,
    "l": 70.588
  },
  "oklch": {
    "l": 0.7295,
    "c": 0.18563,
    "h": 321.1
  },
  "luminance": 0.3534
}

Semantic roles & 50–950 ramp

primary
#DB7BED
secondary
#D7F1D2
accent
#D80D2D
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#160F17
muted
#847F85

Preview Lab

Preview with #DB7BED

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

Preview Lab → · Contrast checker → · Palette generator →

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