#DB7FFB#DB7FFB

#DB7FFB is a light, vivid purple. Relative luminance 0.372; OKLCH L 74.2% C 0.193 H 316.8°. Best body text is #000000 at 8.44:1 contrast (WCAG AA passes).

Color values

HEX#DB7FFB
RGBrgb(219, 127, 251)
HSLhsl(285, 94%, 74%)
HSVhsv(285, 49%, 98%)
CMYKcmyk(12.7%, 49.4%, 0%, 1.6%)
CIE-LABlab(67.43, 55.04, -47.65)
CIE-LCHlch(67.43, 72.80, 319.12°)
OKLaboklab(74.21% 0.1409 -0.1324)
OKLCHoklch(74.21% 0.193 316.8)
XYZxyz(54.2128, 37.2056, 95.5737)
Luminance0.3720 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB7FFB #9FFB7F
analogous
#9D7FFB #DB7FFB #FB7FDD
triadic
#DB7FFB #FBDB7F #7FFBDB
tetradic
#DB7FFB #FB9D7F #9FFB7F #7FDDFB
square
#DB7FFB #FB9D7F #9FFB7F #7FDDFB
split-complementary
#DB7FFB #DDFB7F #7FFB9D
monochromatic
#BA08F7 #CA44F9 #DB7FFB #ECBAFD #F7E1FE

Accessibility & contrast

On white

2.49
#DB7FFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.44
#DB7FFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB7FFB
8.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB7FFB#FFFFFF#000000##000000
##DB7FFB1.002.498.448.44
#FFFFFF2.491.0021.0021.00
#0000008.4421.001.001.00
##0000008.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#669EFF
Deuteranopia (green-blind)
#82A7F8
Tritanopia (blue-blind)
#DA91B2
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #db7ffb;
/* rgb */ color: rgb(219, 127, 251);
/* oklch */ color: oklch(74.2% 0.193 316.8);
Tailwind
colors: {
  custom: {
    50: '#e8a7fd',
    500: '#db7ffb',
    950: '#000000',
  },
}
SCSS
$custom: #db7ffb;
$custom-light: #e8a7fd;
$custom-dark: #000000;
JSON
{
  "hex": "#db7ffb",
  "rgb": {
    "r": 219,
    "g": 127,
    "b": 251
  },
  "hsl": {
    "h": 284.516,
    "s": 93.939,
    "l": 74.118
  },
  "oklch": {
    "l": 0.74211,
    "c": 0.19333,
    "h": 316.8
  },
  "luminance": 0.37204
}

Semantic roles & 50–950 ramp

primary
#DB7FFB
secondary
#DDF6D5
accent
#E6003B
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #DB7FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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