#DB7BF8#DB7BF8

#DB7BF8 is a light, vivid purple. Relative luminance 0.360; OKLCH L 73.5% C 0.197 H 317.9°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#DB7BF8
RGBrgb(219, 123, 248)
HSLhsl(286, 90%, 73%)
HSVhsv(286, 50%, 97%)
CMYKcmyk(11.7%, 50.4%, 0%, 2.7%)
CIE-LABlab(66.52, 56.45, -47.43)
CIE-LCHlch(66.52, 73.73, 319.96°)
OKLaboklab(73.49% 0.1459 -0.1317)
OKLCHoklch(73.49% 0.197 317.9)
XYZxyz(53.2373, 36.0052, 92.9341)
Luminance0.3600 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7BF8 #98F87B
analogous
#9C7BF8 #DB7BF8 #F87BD6
triadic
#DB7BF8 #F8DB7B #7BF8DB
tetradic
#DB7BF8 #F89C7B #98F87B #7BD6F8
square
#DB7BF8 #F89C7B #98F87B #7BD6F8
split-complementary
#DB7BF8 #D6F87B #7BF89C
monochromatic
#B80DEC #CB41F5 #DB7BF8 #EBB5FB #F7E2FD

Accessibility & contrast

On white

2.56
#DB7BF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#DB7BF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7BF8
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7BF8#FFFFFF#000000##000000
##DB7BF81.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#639BFC
Deuteranopia (green-blind)
#80A5F5
Tritanopia (blue-blind)
#DB8DAE
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #db7bf8;
/* rgb */ color: rgb(219, 123, 248);
/* oklch */ color: oklch(73.5% 0.197 317.9);
Tailwind
colors: {
  custom: {
    50: '#e8a4fb',
    500: '#db7bf8',
    950: '#000000',
  },
}
SCSS
$custom: #db7bf8;
$custom-light: #e8a4fb;
$custom-dark: #000000;
JSON
{
  "hex": "#db7bf8",
  "rgb": {
    "r": 219,
    "g": 123,
    "b": 248
  },
  "hsl": {
    "h": 286.08,
    "s": 89.928,
    "l": 72.745
  },
  "oklch": {
    "l": 0.73494,
    "c": 0.19655,
    "h": 317.9
  },
  "luminance": 0.36003
}

Semantic roles & 50–950 ramp

primary
#DB7BF8
secondary
#DDF6D5
accent
#E60035
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #DB7BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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