#DB7BF9#DB7BF9

#DB7BF9 is a light, vivid purple. Relative luminance 0.361; OKLCH L 73.5% C 0.198 H 317.6°. Best body text is #000000 at 8.21:1 contrast (WCAG AA passes).

Color values

HEX#DB7BF9
RGBrgb(219, 123, 249)
HSLhsl(286, 91%, 73%)
HSVhsv(286, 51%, 98%)
CMYKcmyk(12%, 50.6%, 0%, 2.4%)
CIE-LABlab(66.57, 56.65, -47.91)
CIE-LCHlch(66.57, 74.19, 319.78°)
OKLaboklab(73.54% 0.146 -0.1331)
OKLCHoklch(73.54% 0.198 317.6)
XYZxyz(53.3929, 36.0674, 93.7533)
Luminance0.3607 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7BF9 #99F97B
analogous
#9C7BF9 #DB7BF9 #F97BD8
triadic
#DB7BF9 #F9DB7B #7BF9DB
tetradic
#DB7BF9 #F99C7B #99F97B #7BD8F9
square
#DB7BF9 #F99C7B #99F97B #7BD8F9
split-complementary
#DB7BF9 #D8F97B #7BF99C
monochromatic
#B80BEF #CB40F6 #DB7BF9 #EBB6FC #F7E2FE

Accessibility & contrast

On white

2.56
#DB7BF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.21
#DB7BF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7BF9
8.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7BF9#FFFFFF#000000##000000
##DB7BF91.002.568.218.21
#FFFFFF2.561.0021.0021.00
#0000008.2121.001.001.00
##0000008.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#629CFD
Deuteranopia (green-blind)
#80A5F6
Tritanopia (blue-blind)
#DB8EAF
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #db7bf9;
/* rgb */ color: rgb(219, 123, 249);
/* oklch */ color: oklch(73.5% 0.198 317.6);
Tailwind
colors: {
  custom: {
    50: '#e8a4fc',
    500: '#db7bf9',
    950: '#000000',
  },
}
SCSS
$custom: #db7bf9;
$custom-light: #e8a4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#db7bf9",
  "rgb": {
    "r": 219,
    "g": 123,
    "b": 249
  },
  "hsl": {
    "h": 285.714,
    "s": 91.304,
    "l": 72.941
  },
  "oklch": {
    "l": 0.73544,
    "c": 0.19756,
    "h": 317.6
  },
  "luminance": 0.36066
}

Semantic roles & 50–950 ramp

primary
#DB7BF9
secondary
#DDF6D5
accent
#E60037
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #DB7BF9

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

Preview Lab → · Contrast checker → · Palette generator →

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