#DB7EFE#DB7EFE

#DB7EFE is a light, vivid purple. Relative luminance 0.371; OKLCH L 74.2% C 0.198 H 316.1°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).

Color values

HEX#DB7EFE
RGBrgb(219, 126, 254)
HSLhsl(284, 98%, 75%)
HSVhsv(284, 50%, 100%)
CMYKcmyk(13.8%, 50.4%, 0%, 0.4%)
CIE-LABlab(67.38, 56.14, -49.37)
CIE-LCHlch(67.38, 74.76, 318.67°)
OKLaboklab(74.22% 0.1426 -0.1373)
OKLCHoklch(74.22% 0.198 316.1)
XYZxyz(54.5610, 37.1392, 98.0412)
Luminance0.3714 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7EFE #A1FE7E
analogous
#9B7EFE #DB7EFE #FE7EE1
triadic
#DB7EFE #FEDB7E #7EFEDB
tetradic
#DB7EFE #FE9B7E #A1FE7E #7EE1FE
square
#DB7EFE #FE9B7E #A1FE7E #7EE1FE
split-complementary
#DB7EFE #E1FE7E #7EFE9B
monochromatic
#B905FD #CA41FE #DB7EFE #ECBBFE #F7E1FF

Accessibility & contrast

On white

2.49
#DB7EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.43
#DB7EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7EFE
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7EFE#FFFFFF#000000##000000
##DB7EFE1.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#639EFF
Deuteranopia (green-blind)
#7FA7FB
Tritanopia (blue-blind)
#D991B3
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #db7efe;
/* rgb */ color: rgb(219, 126, 254);
/* oklch */ color: oklch(74.2% 0.198 316.1);
Tailwind
colors: {
  custom: {
    50: '#e8a6ff',
    500: '#db7efe',
    950: '#000000',
  },
}
SCSS
$custom: #db7efe;
$custom-light: #e8a6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#db7efe",
  "rgb": {
    "r": 219,
    "g": 126,
    "b": 254
  },
  "hsl": {
    "h": 283.594,
    "s": 98.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.74221,
    "c": 0.19797,
    "h": 316.1
  },
  "luminance": 0.37138
}

Semantic roles & 50–950 ramp

primary
#DB7EFE
secondary
#DEF7D4
accent
#E6003F
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #DB7EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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