#DB8DF8#DB8DF8

#DB8DF8 is a light, vivid purple. Relative luminance 0.409; OKLCH L 76.2% C 0.168 H 316.4°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).

Color values

HEX#DB8DF8
RGBrgb(219, 141, 248)
HSLhsl(284, 88%, 76%)
HSVhsv(284, 43%, 97%)
CMYKcmyk(11.7%, 43.1%, 0%, 2.7%)
CIE-LABlab(70.10, 47.25, -41.82)
CIE-LCHlch(70.10, 63.10, 318.49°)
OKLaboklab(76.15% 0.1214 -0.1156)
OKLCHoklch(76.15% 0.168 316.4)
XYZxyz(55.6791, 40.8887, 93.7480)
Luminance0.4089 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB8DF8 #AAF88D
analogous
#A68DF8 #DB8DF8 #F88DE0
triadic
#DB8DF8 #F8DB8D #8DF8DB
tetradic
#DB8DF8 #F8A68D #AAF88D #8DE0F8
square
#DB8DF8 #F8A68D #AAF88D #8DE0F8
split-complementary
#DB8DF8 #E0F88D #8DF8A6
monochromatic
#B71AF1 #C953F4 #DB8DF8 #EDC7FC #F6E2FD

Accessibility & contrast

On white

2.29
#DB8DF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.18
#DB8DF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB8DF8
9.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB8DF8#FFFFFF#000000##000000
##DB8DF81.002.299.189.18
#FFFFFF2.291.0021.0021.00
#0000009.1821.001.001.00
##0000009.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA6FC
Deuteranopia (green-blind)
#8FAEF5
Tritanopia (blue-blind)
#DA9CB7
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #db8df8;
/* rgb */ color: rgb(219, 141, 248);
/* oklch */ color: oklch(76.2% 0.168 316.4);
Tailwind
colors: {
  custom: {
    50: '#e8b0fb',
    500: '#db8df8',
    950: '#000000',
  },
}
SCSS
$custom: #db8df8;
$custom-light: #e8b0fb;
$custom-dark: #000000;
JSON
{
  "hex": "#db8df8",
  "rgb": {
    "r": 219,
    "g": 141,
    "b": 248
  },
  "hsl": {
    "h": 283.738,
    "s": 88.43,
    "l": 76.275
  },
  "oklch": {
    "l": 0.76152,
    "c": 0.16766,
    "h": 316.4
  },
  "luminance": 0.40887
}

Semantic roles & 50–950 ramp

primary
#DB8DF8
secondary
#DEF5D6
accent
#E5003E
background
#FEFAFF
surface
#FDF5FF
border
#D5CFD7
text
#161117
muted
#848085

Preview Lab

Preview with #DB8DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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