#DB8DF5#DB8DF5

#DB8DF5 is a light, vivid purple. Relative luminance 0.407; OKLCH L 76.0% C 0.164 H 317.3°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#DB8DF5
RGBrgb(219, 141, 245)
HSLhsl(285, 84%, 76%)
HSVhsv(285, 42%, 96%)
CMYKcmyk(10.6%, 42.4%, 0%, 3.9%)
CIE-LABlab(69.97, 46.65, -40.39)
CIE-LCHlch(69.97, 61.71, 319.12°)
OKLaboklab(76.01% 0.1209 -0.1115)
OKLCHoklch(76.01% 0.164 317.3)
XYZxyz(55.2174, 40.7040, 91.3165)
Luminance0.4070 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB8DF5 #A7F58D
analogous
#A78DF5 #DB8DF5 #F58DDB
triadic
#DB8DF5 #F5DB8D #8DF5DB
tetradic
#DB8DF5 #F5A78D #A7F58D #8DDBF5
square
#DB8DF5 #F5A78D #A7F58D #8DDBF5
split-complementary
#DB8DF5 #DBF58D #8DF5A7
monochromatic
#B71CEB #C955F0 #DB8DF5 #EDC5FA #F6E3FD

Accessibility & contrast

On white

2.30
#DB8DF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.14
#DB8DF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB8DF5
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB8DF5#FFFFFF#000000##000000
##DB8DF51.002.309.149.14
#FFFFFF2.301.0021.0021.00
#0000009.1421.001.001.00
##0000009.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA6F9
Deuteranopia (green-blind)
#91AEF2
Tritanopia (blue-blind)
#DB9BB6
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #db8df5;
/* rgb */ color: rgb(219, 141, 245);
/* oklch */ color: oklch(76.0% 0.164 317.3);
Tailwind
colors: {
  custom: {
    50: '#e8b0f9',
    500: '#db8df5',
    950: '#000000',
  },
}
SCSS
$custom: #db8df5;
$custom-light: #e8b0f9;
$custom-dark: #000000;
JSON
{
  "hex": "#db8df5",
  "rgb": {
    "r": 219,
    "g": 141,
    "b": 245
  },
  "hsl": {
    "h": 285,
    "s": 83.871,
    "l": 75.686
  },
  "oklch": {
    "l": 0.76012,
    "c": 0.16444,
    "h": 317.3
  },
  "luminance": 0.40702
}

Semantic roles & 50–950 ramp

primary
#DB8DF5
secondary
#DEF4D7
accent
#E0053C
background
#FEFAFF
surface
#FDF5FF
border
#D5CFD7
text
#161117
muted
#848085

Preview Lab

Preview with #DB8DF5

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

Preview Lab → · Contrast checker → · Palette generator →

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