#DB7DFE#DB7DFE

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

Color values

HEX#DB7DFE
RGBrgb(219, 125, 254)
HSLhsl(284, 98%, 74%)
HSVhsv(284, 51%, 100%)
CMYKcmyk(13.8%, 50.8%, 0%, 0.4%)
CIE-LABlab(67.19, 56.64, -49.67)
CIE-LCHlch(67.19, 75.33, 318.75°)
OKLaboklab(74.08% 0.1439 -0.1382)
OKLCHoklch(74.08% 0.2 316.2)
XYZxyz(54.4337, 36.8848, 97.9988)
Luminance0.3688 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7DFE #A0FE7D
analogous
#9B7DFE #DB7DFE #FE7DE1
triadic
#DB7DFE #FEDB7D #7DFEDB
tetradic
#DB7DFE #FE9B7D #A0FE7D #7DE1FE
square
#DB7DFE #FE9B7D #A0FE7D #7DE1FE
split-complementary
#DB7DFE #E1FE7D #7DFE9B
monochromatic
#B904FD #CA40FE #DB7DFE #ECBAFE #F7E1FF

Accessibility & contrast

On white

2.51
#DB7DFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#DB7DFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7DFE
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7DFE#FFFFFF#000000##000000
##DB7DFE1.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#619EFF
Deuteranopia (green-blind)
#7FA6FB
Tritanopia (blue-blind)
#D991B2
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #db7dfe;
/* rgb */ color: rgb(219, 125, 254);
/* oklch */ color: oklch(74.1% 0.200 316.2);
Tailwind
colors: {
  custom: {
    50: '#e8a6ff',
    500: '#db7dfe',
    950: '#000000',
  },
}
SCSS
$custom: #db7dfe;
$custom-light: #e8a6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#db7dfe",
  "rgb": {
    "r": 219,
    "g": 125,
    "b": 254
  },
  "hsl": {
    "h": 283.721,
    "s": 98.473,
    "l": 74.314
  },
  "oklch": {
    "l": 0.7408,
    "c": 0.19952,
    "h": 316.2
  },
  "luminance": 0.36883
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DB7DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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