#DB8DEF#DB8DEF

#DB8DEF is a light, vivid purple. Relative luminance 0.403; OKLCH L 75.7% C 0.158 H 319.2°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#DB8DEF
RGBrgb(219, 141, 239)
HSLhsl(288, 75%, 75%)
HSVhsv(288, 41%, 94%)
CMYKcmyk(8.4%, 41%, 0%, 6.3%)
CIE-LABlab(69.71, 45.47, -37.50)
CIE-LCHlch(69.71, 58.94, 320.49°)
OKLaboklab(75.74% 0.1198 -0.1032)
OKLCHoklch(75.74% 0.158 319.2)
XYZxyz(54.3162, 40.3436, 86.5705)
Luminance0.4034 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB8DEF #A1EF8D
analogous
#AA8DEF #DB8DEF #EF8DD2
triadic
#DB8DEF #EFDB8D #8DEFDB
tetradic
#DB8DEF #EFAA8D #A1EF8D #8DD2EF
square
#DB8DEF #EFAA8D #A1EF8D #8DD2EF
split-complementary
#DB8DEF #D2EF8D #8DEFAA
monochromatic
#B922E0 #CA57E7 #DB8DEF #ECC3F7 #F7E4FB

Accessibility & contrast

On white

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

On black

9.07
#DB8DEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB8DEF
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB8DEF#FFFFFF#000000##000000
##DB8DEF1.002.329.079.07
#FFFFFF2.321.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA5F3
Deuteranopia (green-blind)
#93ADEC
Tritanopia (blue-blind)
#DC99B3
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #db8def;
/* rgb */ color: rgb(219, 141, 239);
/* oklch */ color: oklch(75.7% 0.158 319.2);
Tailwind
colors: {
  custom: {
    50: '#e8b0f4',
    500: '#db8def',
    950: '#000000',
  },
}
SCSS
$custom: #db8def;
$custom-light: #e8b0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#db8def",
  "rgb": {
    "r": 219,
    "g": 141,
    "b": 239
  },
  "hsl": {
    "h": 287.755,
    "s": 75.385,
    "l": 74.51
  },
  "oklch": {
    "l": 0.75738,
    "c": 0.1581,
    "h": 319.2
  },
  "luminance": 0.40342
}

Semantic roles & 50–950 ramp

primary
#DB8DEF
secondary
#DEF3D8
accent
#D80E37
background
#FEFAFE
surface
#FDF5FD
border
#D5CFD5
text
#161117
muted
#848085

Preview Lab

Preview with #DB8DEF

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

Preview Lab → · Contrast checker → · Palette generator →

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