#DB7EF8#DB7EF8

#DB7EF8 is a light, vivid purple. Relative luminance 0.368; OKLCH L 73.9% C 0.192 H 317.7°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#DB7EF8
RGBrgb(219, 126, 248)
HSLhsl(286, 90%, 73%)
HSVhsv(286, 49%, 97%)
CMYKcmyk(11.7%, 49.2%, 0%, 2.7%)
CIE-LABlab(67.10, 54.95, -46.53)
CIE-LCHlch(67.10, 72.00, 319.74°)
OKLaboklab(73.92% 0.1419 -0.1291)
OKLCHoklch(73.92% 0.192 317.7)
XYZxyz(53.6152, 36.7609, 93.0600)
Luminance0.3676 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7EF8 #9BF87E
analogous
#9E7EF8 #DB7EF8 #F87ED8
triadic
#DB7EF8 #F8DB7E #7EF8DB
tetradic
#DB7EF8 #F89E7E #9BF87E #7ED8F8
square
#DB7EF8 #F89E7E #9BF87E #7ED8F8
split-complementary
#DB7EF8 #D8F87E #7EF89E
monochromatic
#B90DEF #CB44F5 #DB7EF8 #EBB8FB #F7E2FD

Accessibility & contrast

On white

2.51
#DB7EF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#DB7EF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7EF8
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7EF8#FFFFFF#000000##000000
##DB7EF81.002.518.358.35
#FFFFFF2.511.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#679DFC
Deuteranopia (green-blind)
#83A6F5
Tritanopia (blue-blind)
#DB90B0
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #db7ef8;
/* rgb */ color: rgb(219, 126, 248);
/* oklch */ color: oklch(73.9% 0.192 317.7);
Tailwind
colors: {
  custom: {
    50: '#e8a6fb',
    500: '#db7ef8',
    950: '#000000',
  },
}
SCSS
$custom: #db7ef8;
$custom-light: #e8a6fb;
$custom-dark: #000000;
JSON
{
  "hex": "#db7ef8",
  "rgb": {
    "r": 219,
    "g": 126,
    "b": 248
  },
  "hsl": {
    "h": 285.738,
    "s": 89.706,
    "l": 73.333
  },
  "oklch": {
    "l": 0.73918,
    "c": 0.19185,
    "h": 317.7
  },
  "luminance": 0.36759
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DB7EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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