#DB7BFB#DB7BFB

#DB7BFB is a light, vivid purple. Relative luminance 0.362; OKLCH L 73.6% C 0.200 H 317.1°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).

Color values

HEX#DB7BFB
RGBrgb(219, 123, 251)
HSLhsl(285, 94%, 73%)
HSVhsv(285, 51%, 98%)
CMYKcmyk(12.7%, 51%, 0%, 1.6%)
CIE-LABlab(66.67, 57.04, -48.85)
CIE-LCHlch(66.67, 75.10, 319.42°)
OKLaboklab(73.65% 0.1462 -0.1358)
OKLCHoklch(73.65% 0.2 317.1)
XYZxyz(53.7065, 36.1928, 95.4049)
Luminance0.3619 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7BFB #9BFB7B
analogous
#9B7BFB #DB7BFB #FB7BDB
triadic
#DB7BFB #FBDB7B #7BFBDB
tetradic
#DB7BFB #FB9B7B #9BFB7B #7BDBFB
square
#DB7BFB #FB9B7B #9BFB7B #7BDBFB
split-complementary
#DB7BFB #DBFB7B #7BFB9B
monochromatic
#B907F4 #CB40F9 #DB7BFB #EBB6FD #F7E1FE

Accessibility & contrast

On white

2.55
#DB7BFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.24
#DB7BFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7BFB
8.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7BFB#FFFFFF#000000##000000
##DB7BFB1.002.558.248.24
#FFFFFF2.551.0021.0021.00
#0000008.2421.001.001.00
##0000008.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#619CFF
Deuteranopia (green-blind)
#7FA5F8
Tritanopia (blue-blind)
#DA8EB0
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #db7bfb;
/* rgb */ color: rgb(219, 123, 251);
/* oklch */ color: oklch(73.6% 0.200 317.1);
Tailwind
colors: {
  custom: {
    50: '#e8a4fd',
    500: '#db7bfb',
    950: '#000000',
  },
}
SCSS
$custom: #db7bfb;
$custom-light: #e8a4fd;
$custom-dark: #000000;
JSON
{
  "hex": "#db7bfb",
  "rgb": {
    "r": 219,
    "g": 123,
    "b": 251
  },
  "hsl": {
    "h": 285,
    "s": 94.118,
    "l": 73.333
  },
  "oklch": {
    "l": 0.73646,
    "c": 0.19957,
    "h": 317.1
  },
  "luminance": 0.36191
}

Semantic roles & 50–950 ramp

primary
#DB7BFB
secondary
#DDF6D5
accent
#E60039
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #DB7BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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