#DB8DFD#DB8DFD

#DB8DFD is a light, vivid purple. Relative luminance 0.412; OKLCH L 76.4% C 0.173 H 314.9°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#DB8DFD
RGBrgb(219, 141, 253)
HSLhsl(282, 97%, 77%)
HSVhsv(282, 44%, 99%)
CMYKcmyk(13.4%, 44.3%, 0%, 0.8%)
CIE-LABlab(70.32, 48.26, -44.20)
CIE-LCHlch(70.32, 65.45, 317.51°)
OKLaboklab(76.39% 0.1222 -0.1225)
OKLCHoklch(76.39% 0.173 314.9)
XYZxyz(56.4651, 41.2031, 97.8880)
Luminance0.4120 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB8DFD #AFFD8D
analogous
#A38DFD #DB8DFD #FD8DE7
triadic
#DB8DFD #FDDB8D #8DFDDB
tetradic
#DB8DFD #FDA38D #AFFD8D #8DE7FD
square
#DB8DFD #FDA38D #AFFD8D #8DE7FD
split-complementary
#DB8DFD #E7FD8D #8DFDA3
monochromatic
#B515FB #C851FC #DB8DFD #EEC9FE #F6E1FE

Accessibility & contrast

On white

2.27
#DB8DFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.24
#DB8DFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB8DFD
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB8DFD#FFFFFF#000000##000000
##DB8DFD1.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A7FF
Deuteranopia (green-blind)
#8DAEFA
Tritanopia (blue-blind)
#D99DB9
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #db8dfd;
/* rgb */ color: rgb(219, 141, 253);
/* oklch */ color: oklch(76.4% 0.173 314.9);
Tailwind
colors: {
  custom: {
    50: '#e8b0fe',
    500: '#db8dfd',
    950: '#000000',
  },
}
SCSS
$custom: #db8dfd;
$custom-light: #e8b0fe;
$custom-dark: #000000;
JSON
{
  "hex": "#db8dfd",
  "rgb": {
    "r": 219,
    "g": 141,
    "b": 253
  },
  "hsl": {
    "h": 281.786,
    "s": 96.552,
    "l": 77.255
  },
  "oklch": {
    "l": 0.76389,
    "c": 0.17304,
    "h": 314.9
  },
  "luminance": 0.41202
}

Semantic roles & 50–950 ramp

primary
#DB8DFD
secondary
#DFF7D4
accent
#E60046
background
#FEFAFF
surface
#FDF5FF
border
#D5CFD7
text
#161118
muted
#848086

Preview Lab

Preview with #DB8DFD

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

Preview Lab → · Contrast checker → · Palette generator →

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