#DB7EFD#DB7EFD

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

Color values

HEX#DB7EFD
RGBrgb(219, 126, 253)
HSLhsl(284, 97%, 74%)
HSVhsv(284, 50%, 99%)
CMYKcmyk(13.4%, 50.2%, 0%, 0.8%)
CIE-LABlab(67.33, 55.94, -48.90)
CIE-LCHlch(67.33, 74.30, 318.85°)
OKLaboklab(74.17% 0.1425 -0.136)
OKLCHoklch(74.17% 0.197 316.3)
XYZxyz(54.4013, 37.0753, 97.2000)
Luminance0.3707 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7EFD #A0FD7E
analogous
#9C7EFD #DB7EFD #FD7EE0
triadic
#DB7EFD #FDDB7E #7EFDDB
tetradic
#DB7EFD #FD9C7E #A0FD7E #7EE0FD
square
#DB7EFD #FD9C7E #A0FD7E #7EE0FD
split-complementary
#DB7EFD #E0FD7E #7EFD9C
monochromatic
#B905FB #CA42FC #DB7EFD #ECBAFE #F7E1FF

Accessibility & contrast

On white

2.50
#DB7EFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.41
#DB7EFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7EFD
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7EFD#FFFFFF#000000##000000
##DB7EFD1.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#649EFF
Deuteranopia (green-blind)
#80A7FA
Tritanopia (blue-blind)
#DA91B2
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #db7efd;
/* rgb */ color: rgb(219, 126, 253);
/* oklch */ color: oklch(74.2% 0.197 316.3);
Tailwind
colors: {
  custom: {
    50: '#e8a6fe',
    500: '#db7efd',
    950: '#000000',
  },
}
SCSS
$custom: #db7efd;
$custom-light: #e8a6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#db7efd",
  "rgb": {
    "r": 219,
    "g": 126,
    "b": 253
  },
  "hsl": {
    "h": 283.937,
    "s": 96.947,
    "l": 74.314
  },
  "oklch": {
    "l": 0.7417,
    "c": 0.19694,
    "h": 316.3
  },
  "luminance": 0.37074
}

Semantic roles & 50–950 ramp

primary
#DB7EFD
secondary
#DDF7D4
accent
#E6003D
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #DB7EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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