#DB8EFF#DB8EFF

#DB8EFF is a light, vivid purple. Relative luminance 0.416; OKLCH L 76.6% C 0.174 H 314.3°. Best body text is #000000 at 9.33:1 contrast (WCAG AA passes).

Color values

HEX#DB8EFF
RGBrgb(219, 142, 255)
HSLhsl(281, 100%, 78%)
HSVhsv(281, 44%, 100%)
CMYKcmyk(14.1%, 44.3%, 0%, 0%)
CIE-LABlab(70.61, 48.15, -44.83)
CIE-LCHlch(70.61, 65.79, 317.05°)
OKLaboklab(76.64% 0.1212 -0.1243)
OKLCHoklch(76.64% 0.174 314.3)
XYZxyz(56.9335, 41.6274, 99.6241)
Luminance0.4163 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB8EFF #B2FF8E
analogous
#A28EFF #DB8EFF #FF8EEA
triadic
#DB8EFF #FFDB8E #8EFFDB
tetradic
#DB8EFF #FFA28E #B2FF8E #8EEAFF
square
#DB8EFF #FFA28E #B2FF8E #8EEAFF
split-complementary
#DB8EFF #EAFF8E #8EFFA2
monochromatic
#B414FF #C851FF #DB8EFF #EECBFF #F5E0FF

Accessibility & contrast

On white

2.25
#DB8EFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.33
#DB8EFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB8EFF
9.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB8EFF#FFFFFF#000000##000000
##DB8EFF1.002.259.339.33
#FFFFFF2.251.0021.0021.00
#0000009.3321.001.001.00
##0000009.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A8FF
Deuteranopia (green-blind)
#8DAFFC
Tritanopia (blue-blind)
#D89EBB
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #db8eff;
/* rgb */ color: rgb(219, 142, 255);
/* oklch */ color: oklch(76.6% 0.174 314.3);
Tailwind
colors: {
  custom: {
    50: '#e8b1ff',
    500: '#db8eff',
    950: '#000000',
  },
}
SCSS
$custom: #db8eff;
$custom-light: #e8b1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#db8eff",
  "rgb": {
    "r": 219,
    "g": 142,
    "b": 255
  },
  "hsl": {
    "h": 280.885,
    "s": 100,
    "l": 77.843
  },
  "oklch": {
    "l": 0.76638,
    "c": 0.17358,
    "h": 314.3
  },
  "luminance": 0.41626
}

Semantic roles & 50–950 ramp

primary
#DB8EFF
secondary
#DFF7D4
accent
#E60049
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #DB8EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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