#DB7EF4#DB7EF4

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

Color values

HEX#DB7EF4
RGBrgb(219, 126, 244)
HSLhsl(287, 84%, 73%)
HSVhsv(287, 48%, 96%)
CMYKcmyk(10.2%, 48.4%, 0%, 4.3%)
CIE-LABlab(66.91, 54.17, -44.63)
CIE-LCHlch(66.91, 70.18, 320.52°)
OKLaboklab(73.72% 0.1414 -0.1236)
OKLCHoklch(73.72% 0.188 318.8)
XYZxyz(53.0012, 36.5153, 89.8267)
Luminance0.3651 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7EF4 #97F47E
analogous
#A07EF4 #DB7EF4 #F47ED2
triadic
#DB7EF4 #F4DB7E #7EF4DB
tetradic
#DB7EF4 #F4A07E #97F47E #7ED2F4
square
#DB7EF4 #F4A07E #97F47E #7ED2F4
split-complementary
#DB7EF4 #D2F47E #7EF4A0
monochromatic
#B813E4 #CB46EF #DB7EF4 #EBB6F9 #F7E3FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DB7EF4#FFFFFF#000000##000000
##DB7EF41.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)
#699DF8
Deuteranopia (green-blind)
#85A6F1
Tritanopia (blue-blind)
#DB8EAE
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #db7ef4;
/* rgb */ color: rgb(219, 126, 244);
/* oklch */ color: oklch(73.7% 0.188 318.8);
Tailwind
colors: {
  custom: {
    50: '#e8a6f8',
    500: '#db7ef4',
    950: '#000000',
  },
}
SCSS
$custom: #db7ef4;
$custom-light: #e8a6f8;
$custom-dark: #000000;
JSON
{
  "hex": "#db7ef4",
  "rgb": {
    "r": 219,
    "g": 126,
    "b": 244
  },
  "hsl": {
    "h": 287.288,
    "s": 84.286,
    "l": 72.549
  },
  "oklch": {
    "l": 0.7372,
    "c": 0.1878,
    "h": 318.8
  },
  "luminance": 0.36513
}

Semantic roles & 50–950 ramp

primary
#DB7EF4
secondary
#DDF5D6
accent
#E10533
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #DB7EF4

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

Preview Lab → · Contrast checker → · Palette generator →

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