#DB7BF7#DB7BF7

#DB7BF7 is a light, vivid purple. Relative luminance 0.359; OKLCH L 73.4% C 0.196 H 318.2°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#DB7BF7
RGBrgb(219, 123, 247)
HSLhsl(286, 89%, 73%)
HSVhsv(286, 50%, 97%)
CMYKcmyk(11.3%, 50.2%, 0%, 3.1%)
CIE-LABlab(66.48, 56.25, -46.96)
CIE-LCHlch(66.48, 73.28, 320.15°)
OKLaboklab(73.44% 0.1458 -0.1303)
OKLCHoklch(73.44% 0.196 318.2)
XYZxyz(53.0826, 35.9433, 92.1192)
Luminance0.3594 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7BF7 #97F77B
analogous
#9D7BF7 #DB7BF7 #F77BD5
triadic
#DB7BF7 #F7DB7B #7BF7DB
tetradic
#DB7BF7 #F79D7B #97F77B #7BD5F7
square
#DB7BF7 #F79D7B #97F77B #7BD5F7
split-complementary
#DB7BF7 #D5F77B #7BF79D
monochromatic
#B80EE9 #CB41F4 #DB7BF7 #EBB5FA #F7E2FD

Accessibility & contrast

On white

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

On black

8.19
#DB7BF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7BF7
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7BF7#FFFFFF#000000##000000
##DB7BF71.002.568.198.19
#FFFFFF2.561.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#639BFB
Deuteranopia (green-blind)
#81A5F4
Tritanopia (blue-blind)
#DB8DAE
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #db7bf7;
/* rgb */ color: rgb(219, 123, 247);
/* oklch */ color: oklch(73.4% 0.196 318.2);
Tailwind
colors: {
  custom: {
    50: '#e8a4fa',
    500: '#db7bf7',
    950: '#000000',
  },
}
SCSS
$custom: #db7bf7;
$custom-light: #e8a4fa;
$custom-dark: #000000;
JSON
{
  "hex": "#db7bf7",
  "rgb": {
    "r": 219,
    "g": 123,
    "b": 247
  },
  "hsl": {
    "h": 286.452,
    "s": 88.571,
    "l": 72.549
  },
  "oklch": {
    "l": 0.73443,
    "c": 0.19555,
    "h": 318.2
  },
  "luminance": 0.35941
}

Semantic roles & 50–950 ramp

primary
#DB7BF7
secondary
#DDF5D6
accent
#E50034
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #DB7BF7

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

Preview Lab → · Contrast checker → · Palette generator →

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