#DB7BF5#DB7BF5

#DB7BF5 is a light, vivid purple. Relative luminance 0.358; OKLCH L 73.3% C 0.194 H 318.8°. Best body text is #000000 at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#DB7BF5
RGBrgb(219, 123, 245)
HSLhsl(287, 86%, 72%)
HSVhsv(287, 50%, 96%)
CMYKcmyk(10.6%, 49.8%, 0%, 3.9%)
CIE-LABlab(66.38, 55.86, -46.01)
CIE-LCHlch(66.38, 72.37, 320.53°)
OKLaboklab(73.34% 0.1455 -0.1276)
OKLCHoklch(73.34% 0.194 318.8)
XYZxyz(52.7756, 35.8205, 90.5025)
Luminance0.3582 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7BF5 #95F57B
analogous
#9E7BF5 #DB7BF5 #F57BD2
triadic
#DB7BF5 #F5DB7B #7BF5DB
tetradic
#DB7BF5 #F59E7B #95F57B #7BD2F5
square
#DB7BF5 #F59E7B #95F57B #7BD2F5
split-complementary
#DB7BF5 #D2F57B #7BF59E
monochromatic
#B711E4 #CB42F1 #DB7BF5 #EBB4F9 #F7E3FD

Accessibility & contrast

On white

2.57
#DB7BF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.16
#DB7BF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7BF5
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7BF5#FFFFFF#000000##000000
##DB7BF51.002.578.168.16
#FFFFFF2.571.0021.0021.00
#0000008.1621.001.001.00
##0000008.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#659BF9
Deuteranopia (green-blind)
#82A5F2
Tritanopia (blue-blind)
#DB8CAD
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #db7bf5;
/* rgb */ color: rgb(219, 123, 245);
/* oklch */ color: oklch(73.3% 0.194 318.8);
Tailwind
colors: {
  custom: {
    50: '#e8a4f9',
    500: '#db7bf5',
    950: '#000000',
  },
}
SCSS
$custom: #db7bf5;
$custom-light: #e8a4f9;
$custom-dark: #000000;
JSON
{
  "hex": "#db7bf5",
  "rgb": {
    "r": 219,
    "g": 123,
    "b": 245
  },
  "hsl": {
    "h": 287.213,
    "s": 85.915,
    "l": 72.157
  },
  "oklch": {
    "l": 0.73343,
    "c": 0.19355,
    "h": 318.8
  },
  "luminance": 0.35819
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DB7BF5

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

Preview Lab → · Contrast checker → · Palette generator →

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