#DB7DF8#DB7DF8

#DB7DF8 is a light, vivid purple. Relative luminance 0.365; OKLCH L 73.8% C 0.193 H 317.8°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#DB7DF8
RGBrgb(219, 125, 248)
HSLhsl(286, 90%, 73%)
HSVhsv(286, 50%, 97%)
CMYKcmyk(11.7%, 49.6%, 0%, 2.7%)
CIE-LABlab(66.91, 55.45, -46.83)
CIE-LCHlch(66.91, 72.58, 319.82°)
OKLaboklab(73.78% 0.1432 -0.13)
OKLCHoklch(73.78% 0.193 317.8)
XYZxyz(53.4879, 36.5064, 93.0176)
Luminance0.3650 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7DF8 #9AF87D
analogous
#9D7DF8 #DB7DF8 #F87DD7
triadic
#DB7DF8 #F8DB7D #7DF8DB
tetradic
#DB7DF8 #F89D7D #9AF87D #7DD7F8
square
#DB7DF8 #F89D7D #9AF87D #7DD7F8
split-complementary
#DB7DF8 #D7F87D #7DF89D
monochromatic
#B90DEE #CB43F5 #DB7DF8 #EBB7FB #F7E2FD

Accessibility & contrast

On white

2.53
#DB7DF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#DB7DF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7DF8
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7DF8#FFFFFF#000000##000000
##DB7DF81.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#659DFC
Deuteranopia (green-blind)
#82A6F5
Tritanopia (blue-blind)
#DB8FAF
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #db7df8;
/* rgb */ color: rgb(219, 125, 248);
/* oklch */ color: oklch(73.8% 0.193 317.8);
Tailwind
colors: {
  custom: {
    50: '#e8a5fb',
    500: '#db7df8',
    950: '#000000',
  },
}
SCSS
$custom: #db7df8;
$custom-light: #e8a5fb;
$custom-dark: #000000;
JSON
{
  "hex": "#db7df8",
  "rgb": {
    "r": 219,
    "g": 125,
    "b": 248
  },
  "hsl": {
    "h": 285.854,
    "s": 89.781,
    "l": 73.137
  },
  "oklch": {
    "l": 0.73776,
    "c": 0.19342,
    "h": 317.8
  },
  "luminance": 0.36505
}

Semantic roles & 50–950 ramp

primary
#DB7DF8
secondary
#DDF6D5
accent
#E60036
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #DB7DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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