#DB7BFE#DB7BFE

#DB7BFE is a light, highly saturated purple. Relative luminance 0.364; OKLCH L 73.8% C 0.203 H 316.3°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#DB7BFE
RGBrgb(219, 123, 254)
HSLhsl(284, 98%, 74%)
HSVhsv(284, 52%, 100%)
CMYKcmyk(13.8%, 51.6%, 0%, 0.4%)
CIE-LABlab(66.81, 57.64, -50.27)
CIE-LCHlch(66.81, 76.48, 318.91°)
OKLaboklab(73.8% 0.1465 -0.1399)
OKLCHoklch(73.8% 0.203 316.3)
XYZxyz(54.1831, 36.3835, 97.9152)
Luminance0.3638 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7BFE #9EFE7B
analogous
#9A7BFE #DB7BFE #FE7BE0
triadic
#DB7BFE #FEDB7B #7BFEDB
tetradic
#DB7BFE #FE9A7B #9EFE7B #7BE0FE
square
#DB7BFE #FE9A7B #9EFE7B #7BE0FE
split-complementary
#DB7BFE #E0FE7B #7BFE9A
monochromatic
#BA02FD #CA3EFE #DB7BFE #ECB8FE #F7E1FF

Accessibility & contrast

On white

2.54
#DB7BFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#DB7BFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7BFE
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7BFE#FFFFFF#000000##000000
##DB7BFE1.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9DFF
Deuteranopia (green-blind)
#7DA5FB
Tritanopia (blue-blind)
#D98FB1
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #db7bfe;
/* rgb */ color: rgb(219, 123, 254);
/* oklch */ color: oklch(73.8% 0.203 316.3);
Tailwind
colors: {
  custom: {
    50: '#e9a4ff',
    500: '#db7bfe',
    950: '#000000',
  },
}
SCSS
$custom: #db7bfe;
$custom-light: #e9a4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#db7bfe",
  "rgb": {
    "r": 219,
    "g": 123,
    "b": 254
  },
  "hsl": {
    "h": 283.969,
    "s": 98.496,
    "l": 73.922
  },
  "oklch": {
    "l": 0.738,
    "c": 0.2026,
    "h": 316.3
  },
  "luminance": 0.36382
}

Semantic roles & 50–950 ramp

primary
#DB7BFE
secondary
#DDF7D4
accent
#E6003D
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #DB7BFE

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

Preview Lab → · Contrast checker → · Palette generator →

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