#DB7FE4#DB7FE4

#DB7FE4 is a light, vivid purple. Relative luminance 0.358; OKLCH L 73.1% C 0.170 H 323.8°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#DB7FE4
RGBrgb(219, 127, 228)
HSLhsl(295, 65%, 70%)
HSVhsv(295, 44%, 89%)
CMYKcmyk(3.9%, 44.3%, 0%, 10.6%)
CIE-LABlab(66.40, 50.61, -36.60)
CIE-LCHlch(66.40, 62.46, 324.13°)
OKLaboklab(73.11% 0.1375 -0.1005)
OKLCHoklch(73.11% 0.17 323.8)
XYZxyz(50.8050, 35.8425, 77.6259)
Luminance0.3584 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7FE4 #88E47F
analogous
#A87FE4 #DB7FE4 #E47FBB
triadic
#DB7FE4 #E4DB7F #7FE4DB
tetradic
#DB7FE4 #E4A87F #88E47F #7FBBE4
square
#DB7FE4 #E4A87F #88E47F #7FBBE4
split-complementary
#DB7FE4 #BBE47F #7FE4A8
monochromatic
#B329C0 #CD4CD9 #DB7FE4 #E9B2EF #F7E4F9

Accessibility & contrast

On white

2.57
#DB7FE4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#DB7FE4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7FE4
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7FE4#FFFFFF#000000##000000
##DB7FE41.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#739AE8
Deuteranopia (green-blind)
#8DA5E1
Tritanopia (blue-blind)
#DF8BA7
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #db7fe4;
/* rgb */ color: rgb(219, 127, 228);
/* oklch */ color: oklch(73.1% 0.170 323.8);
Tailwind
colors: {
  custom: {
    50: '#e8a6ed',
    500: '#db7fe4',
    950: '#000000',
  },
}
SCSS
$custom: #db7fe4;
$custom-light: #e8a6ed;
$custom-dark: #000000;
JSON
{
  "hex": "#db7fe4",
  "rgb": {
    "r": 219,
    "g": 127,
    "b": 228
  },
  "hsl": {
    "h": 294.653,
    "s": 65.161,
    "l": 69.608
  },
  "oklch": {
    "l": 0.73107,
    "c": 0.17035,
    "h": 323.8
  },
  "luminance": 0.3584
}

Semantic roles & 50–950 ramp

primary
#DB7FE4
secondary
#D4EED1
accent
#CD1929
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161016
muted
#847F84

Preview Lab

Preview with #DB7FE4

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

Preview Lab → · Contrast checker → · Palette generator →

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