#DB8BF8#DB8BF8

#DB8BF8 is a light, vivid purple. Relative luminance 0.403; OKLCH L 75.8% C 0.171 H 316.6°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#DB8BF8
RGBrgb(219, 139, 248)
HSLhsl(284, 89%, 76%)
HSVhsv(284, 44%, 97%)
CMYKcmyk(11.7%, 44%, 0%, 2.7%)
CIE-LABlab(69.69, 48.30, -42.47)
CIE-LCHlch(69.69, 64.31, 318.67°)
OKLaboklab(75.84% 0.1242 -0.1175)
OKLCHoklch(75.84% 0.171 316.6)
XYZxyz(55.3868, 40.3042, 93.6506)
Luminance0.4030 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB8BF8 #A8F88B
analogous
#A48BF8 #DB8BF8 #F88BDE
triadic
#DB8BF8 #F8DB8B #8BF8DB
tetradic
#DB8BF8 #F8A48B #A8F88B #8BDEF8
square
#DB8BF8 #F8A48B #A8F88B #8BDEF8
split-complementary
#DB8BF8 #DEF88B #8BF8A4
monochromatic
#B718F1 #C951F5 #DB8BF8 #EDC5FB #F6E2FD

Accessibility & contrast

On white

2.32
#DB8BF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.06
#DB8BF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB8BF8
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB8BF8#FFFFFF#000000##000000
##DB8BF81.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A5FC
Deuteranopia (green-blind)
#8DADF5
Tritanopia (blue-blind)
#DA9AB6
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #db8bf8;
/* rgb */ color: rgb(219, 139, 248);
/* oklch */ color: oklch(75.8% 0.171 316.6);
Tailwind
colors: {
  custom: {
    50: '#e8affb',
    500: '#db8bf8',
    950: '#000000',
  },
}
SCSS
$custom: #db8bf8;
$custom-light: #e8affb;
$custom-dark: #000000;
JSON
{
  "hex": "#db8bf8",
  "rgb": {
    "r": 219,
    "g": 139,
    "b": 248
  },
  "hsl": {
    "h": 284.037,
    "s": 88.618,
    "l": 75.882
  },
  "oklch": {
    "l": 0.75844,
    "c": 0.17093,
    "h": 316.6
  },
  "luminance": 0.40303
}

Semantic roles & 50–950 ramp

primary
#DB8BF8
secondary
#DEF5D6
accent
#E5003D
background
#FEFAFF
surface
#FDF5FF
border
#D5CFD7
text
#161017
muted
#847F85

Preview Lab

Preview with #DB8BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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