#DB7EFB#DB7EFB

#DB7EFB is a light, vivid purple. Relative luminance 0.369; OKLCH L 74.1% C 0.195 H 316.9°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#DB7EFB
RGBrgb(219, 126, 251)
HSLhsl(285, 94%, 74%)
HSVhsv(285, 50%, 98%)
CMYKcmyk(12.7%, 49.8%, 0%, 1.6%)
CIE-LABlab(67.24, 55.54, -47.95)
CIE-LCHlch(67.24, 73.38, 319.20°)
OKLaboklab(74.07% 0.1422 -0.1332)
OKLCHoklch(74.07% 0.195 316.9)
XYZxyz(54.0843, 36.9486, 95.5309)
Luminance0.3695 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7EFB #9EFB7E
analogous
#9D7EFB #DB7EFB #FB7EDD
triadic
#DB7EFB #FBDB7E #7EFBDB
tetradic
#DB7EFB #FB9D7E #9EFB7E #7EDDFB
square
#DB7EFB #FB9D7E #9EFB7E #7EDDFB
split-complementary
#DB7EFB #DDFB7E #7EFB9D
monochromatic
#BA08F7 #CA43F9 #DB7EFB #ECB9FD #F7E1FE

Accessibility & contrast

On white

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

On black

8.39
#DB7EFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7EFB
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7EFB#FFFFFF#000000##000000
##DB7EFB1.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#659EFF
Deuteranopia (green-blind)
#81A7F8
Tritanopia (blue-blind)
#DA91B1
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #db7efb;
/* rgb */ color: rgb(219, 126, 251);
/* oklch */ color: oklch(74.1% 0.195 316.9);
Tailwind
colors: {
  custom: {
    50: '#e8a6fd',
    500: '#db7efb',
    950: '#000000',
  },
}
SCSS
$custom: #db7efb;
$custom-light: #e8a6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#db7efb",
  "rgb": {
    "r": 219,
    "g": 126,
    "b": 251
  },
  "hsl": {
    "h": 284.64,
    "s": 93.985,
    "l": 73.922
  },
  "oklch": {
    "l": 0.74068,
    "c": 0.1949,
    "h": 316.9
  },
  "luminance": 0.36947
}

Semantic roles & 50–950 ramp

primary
#DB7EFB
secondary
#DDF6D5
accent
#E6003B
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #DB7EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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