#DB7BFC#DB7BFC

#DB7BFC is a light, highly saturated purple. Relative luminance 0.363; OKLCH L 73.7% C 0.201 H 316.8°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#DB7BFC
RGBrgb(219, 123, 252)
HSLhsl(285, 96%, 74%)
HSVhsv(285, 51%, 99%)
CMYKcmyk(13.1%, 51.2%, 0%, 1.2%)
CIE-LABlab(66.72, 57.24, -49.32)
CIE-LCHlch(66.72, 75.56, 319.25°)
OKLaboklab(73.7% 0.1463 -0.1372)
OKLCHoklch(73.7% 0.201 316.8)
XYZxyz(53.8645, 36.2560, 96.2373)
Luminance0.3625 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7BFC #9CFC7B
analogous
#9A7BFC #DB7BFC #FC7BDC
triadic
#DB7BFC #FCDB7B #7BFCDB
tetradic
#DB7BFC #FC9A7B #9CFC7B #7BDCFC
square
#DB7BFC #FC9A7B #9CFC7B #7BDCFC
split-complementary
#DB7BFC #DCFC7B #7BFC9A
monochromatic
#B906F7 #CB3FFB #DB7BFC #EBB7FD #F7E1FE

Accessibility & contrast

On white

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

On black

8.25
#DB7BFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7BFC
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7BFC#FFFFFF#000000##000000
##DB7BFC1.002.558.258.25
#FFFFFF2.551.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#609CFF
Deuteranopia (green-blind)
#7EA5F9
Tritanopia (blue-blind)
#DA8EB0
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #db7bfc;
/* rgb */ color: rgb(219, 123, 252);
/* oklch */ color: oklch(73.7% 0.201 316.8);
Tailwind
colors: {
  custom: {
    50: '#e9a4fe',
    500: '#db7bfc',
    950: '#000000',
  },
}
SCSS
$custom: #db7bfc;
$custom-light: #e9a4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#db7bfc",
  "rgb": {
    "r": 219,
    "g": 123,
    "b": 252
  },
  "hsl": {
    "h": 284.651,
    "s": 95.556,
    "l": 73.529
  },
  "oklch": {
    "l": 0.73697,
    "c": 0.20058,
    "h": 316.8
  },
  "luminance": 0.36254
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DB7BFC

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

Preview Lab → · Contrast checker → · Palette generator →

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