#DB7DFB#DB7DFB

#DB7DFB is a light, vivid purple. Relative luminance 0.367; OKLCH L 73.9% C 0.196 H 317.0°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#DB7DFB
RGBrgb(219, 125, 251)
HSLhsl(285, 94%, 74%)
HSVhsv(285, 50%, 98%)
CMYKcmyk(12.7%, 50.2%, 0%, 1.6%)
CIE-LABlab(67.05, 56.05, -48.25)
CIE-LCHlch(67.05, 73.96, 319.27°)
OKLaboklab(73.93% 0.1436 -0.1341)
OKLCHoklch(73.93% 0.196 317)
XYZxyz(53.9571, 36.6941, 95.4885)
Luminance0.3669 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7DFB #9DFB7D
analogous
#9C7DFB #DB7DFB #FB7DDC
triadic
#DB7DFB #FBDB7D #7DFBDB
tetradic
#DB7DFB #FB9C7D #9DFB7D #7DDCFB
square
#DB7DFB #FB9C7D #9DFB7D #7DDCFB
split-complementary
#DB7DFB #DCFB7D #7DFB9C
monochromatic
#B908F6 #CB42F9 #DB7DFB #EBB8FD #F7E1FE

Accessibility & contrast

On white

2.52
#DB7DFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#DB7DFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7DFB
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7DFB#FFFFFF#000000##000000
##DB7DFB1.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#649DFF
Deuteranopia (green-blind)
#80A6F8
Tritanopia (blue-blind)
#DA90B1
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #db7dfb;
/* rgb */ color: rgb(219, 125, 251);
/* oklch */ color: oklch(73.9% 0.196 317.0);
Tailwind
colors: {
  custom: {
    50: '#e8a6fd',
    500: '#db7dfb',
    950: '#000000',
  },
}
SCSS
$custom: #db7dfb;
$custom-light: #e8a6fd;
$custom-dark: #000000;
JSON
{
  "hex": "#db7dfb",
  "rgb": {
    "r": 219,
    "g": 125,
    "b": 251
  },
  "hsl": {
    "h": 284.762,
    "s": 94.03,
    "l": 73.725
  },
  "oklch": {
    "l": 0.73927,
    "c": 0.19646,
    "h": 317
  },
  "luminance": 0.36692
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DB7DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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