#DB7DF5#DB7DF5

#DB7DF5 is a light, vivid purple. Relative luminance 0.363; OKLCH L 73.6% C 0.190 H 318.6°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).

Color values

HEX#DB7DF5
RGBrgb(219, 125, 245)
HSLhsl(287, 86%, 73%)
HSVhsv(287, 49%, 96%)
CMYKcmyk(10.6%, 49%, 0%, 3.9%)
CIE-LABlab(66.77, 54.87, -45.41)
CIE-LCHlch(66.77, 71.22, 320.39°)
OKLaboklab(73.63% 0.1429 -0.1259)
OKLCHoklch(73.63% 0.19 318.6)
XYZxyz(53.0263, 36.3218, 90.5861)
Luminance0.3632 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7DF5 #97F57D
analogous
#9F7DF5 #DB7DF5 #F57DD3
triadic
#DB7DF5 #F5DB7D #7DF5DB
tetradic
#DB7DF5 #F59F7D #97F57D #7DD3F5
square
#DB7DF5 #F59F7D #97F57D #7DD3F5
split-complementary
#DB7DF5 #D3F57D #7DF59F
monochromatic
#B812E6 #CB44F1 #DB7DF5 #EBB6F9 #F7E3FD

Accessibility & contrast

On white

2.54
#DB7DF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.26
#DB7DF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7DF5
8.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7DF5#FFFFFF#000000##000000
##DB7DF51.002.548.268.26
#FFFFFF2.541.0021.0021.00
#0000008.2621.001.001.00
##0000008.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#679CF9
Deuteranopia (green-blind)
#83A6F2
Tritanopia (blue-blind)
#DB8EAE
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #db7df5;
/* rgb */ color: rgb(219, 125, 245);
/* oklch */ color: oklch(73.6% 0.190 318.6);
Tailwind
colors: {
  custom: {
    50: '#e8a5f9',
    500: '#db7df5',
    950: '#000000',
  },
}
SCSS
$custom: #db7df5;
$custom-light: #e8a5f9;
$custom-dark: #000000;
JSON
{
  "hex": "#db7df5",
  "rgb": {
    "r": 219,
    "g": 125,
    "b": 245
  },
  "hsl": {
    "h": 287,
    "s": 85.714,
    "l": 72.549
  },
  "oklch": {
    "l": 0.73626,
    "c": 0.1904,
    "h": 318.6
  },
  "luminance": 0.3632
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DB7DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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