#DB7BFA#DB7BFA

#DB7BFA is a light, vivid purple. Relative luminance 0.361; OKLCH L 73.6% C 0.199 H 317.4°. Best body text is #000000 at 8.23:1 contrast (WCAG AA passes).

Color values

HEX#DB7BFA
RGBrgb(219, 123, 250)
HSLhsl(285, 93%, 73%)
HSVhsv(285, 51%, 98%)
CMYKcmyk(12.4%, 50.8%, 0%, 2%)
CIE-LABlab(66.62, 56.84, -48.38)
CIE-LCHlch(66.62, 74.64, 319.60°)
OKLaboklab(73.6% 0.1461 -0.1345)
OKLCHoklch(73.6% 0.199 317.4)
XYZxyz(53.5492, 36.1299, 94.5769)
Luminance0.3613 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7BFA #9AFA7B
analogous
#9B7BFA #DB7BFA #FA7BDA
triadic
#DB7BFA #FADB7B #7BFADB
tetradic
#DB7BFA #FA9B7B #9AFA7B #7BDAFA
square
#DB7BFA #FA9B7B #9AFA7B #7BDAFA
split-complementary
#DB7BFA #DAFA7B #7BFA9B
monochromatic
#B909F1 #CB40F8 #DB7BFA #EBB6FC #F7E2FE

Accessibility & contrast

On white

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

On black

8.23
#DB7BFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7BFA
8.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7BFA#FFFFFF#000000##000000
##DB7BFA1.002.558.238.23
#FFFFFF2.551.0021.0021.00
#0000008.2321.001.001.00
##0000008.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#619CFE
Deuteranopia (green-blind)
#7FA5F7
Tritanopia (blue-blind)
#DA8EAF
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #db7bfa;
/* rgb */ color: rgb(219, 123, 250);
/* oklch */ color: oklch(73.6% 0.199 317.4);
Tailwind
colors: {
  custom: {
    50: '#e8a4fc',
    500: '#db7bfa',
    950: '#000000',
  },
}
SCSS
$custom: #db7bfa;
$custom-light: #e8a4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#db7bfa",
  "rgb": {
    "r": 219,
    "g": 123,
    "b": 250
  },
  "hsl": {
    "h": 285.354,
    "s": 92.701,
    "l": 73.137
  },
  "oklch": {
    "l": 0.73595,
    "c": 0.19856,
    "h": 317.4
  },
  "luminance": 0.36128
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DB7BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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