#DB8EF8#DB8EF8

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

Color values

HEX#DB8EF8
RGBrgb(219, 142, 248)
HSLhsl(284, 88%, 76%)
HSVhsv(284, 43%, 97%)
CMYKcmyk(11.7%, 42.7%, 0%, 2.7%)
CIE-LABlab(70.31, 46.73, -41.50)
CIE-LCHlch(70.31, 62.50, 318.39°)
OKLaboklab(76.31% 0.12 -0.1147)
OKLCHoklch(76.31% 0.166 316.3)
XYZxyz(55.8272, 41.1849, 93.7974)
Luminance0.4118 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB8EF8 #ABF88E
analogous
#A68EF8 #DB8EF8 #F88EE0
triadic
#DB8EF8 #F8DB8E #8EF8DB
tetradic
#DB8EF8 #F8A68E #ABF88E #8EE0F8
square
#DB8EF8 #F8A68E #ABF88E #8EE0F8
split-complementary
#DB8EF8 #E0F88E #8EF8A6
monochromatic
#B61BF1 #C954F4 #DB8EF8 #EDC8FC #F6E2FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##DB8EF8#FFFFFF#000000##000000
##DB8EF81.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)
#7CA7FC
Deuteranopia (green-blind)
#90AEF5
Tritanopia (blue-blind)
#DA9CB7
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #db8ef8;
/* rgb */ color: rgb(219, 142, 248);
/* oklch */ color: oklch(76.3% 0.166 316.3);
Tailwind
colors: {
  custom: {
    50: '#e8b1fb',
    500: '#db8ef8',
    950: '#000000',
  },
}
SCSS
$custom: #db8ef8;
$custom-light: #e8b1fb;
$custom-dark: #000000;
JSON
{
  "hex": "#db8ef8",
  "rgb": {
    "r": 219,
    "g": 142,
    "b": 248
  },
  "hsl": {
    "h": 283.585,
    "s": 88.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.76307,
    "c": 0.166,
    "h": 316.3
  },
  "luminance": 0.41183
}

Semantic roles & 50–950 ramp

primary
#DB8EF8
secondary
#DEF5D6
accent
#E5013F
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #DB8EF8

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

Preview Lab → · Contrast checker → · Palette generator →

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