#DB8EEF#DB8EEF

#DB8EEF is a light, vivid purple. Relative luminance 0.406; OKLCH L 75.9% C 0.156 H 319.2°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).

Color values

HEX#DB8EEF
RGBrgb(219, 142, 239)
HSLhsl(288, 75%, 75%)
HSVhsv(288, 41%, 94%)
CMYKcmyk(8.4%, 40.6%, 0%, 6.3%)
CIE-LABlab(69.92, 44.94, -37.17)
CIE-LCHlch(69.92, 58.32, 320.40°)
OKLaboklab(75.9% 0.1184 -0.1023)
OKLCHoklch(75.9% 0.156 319.2)
XYZxyz(54.4644, 40.6398, 86.6199)
Luminance0.4064 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB8EEF #A2EF8E
analogous
#AB8EEF #DB8EEF #EF8ED3
triadic
#DB8EEF #EFDB8E #8EEFDB
tetradic
#DB8EEF #EFAB8E #A2EF8E #8ED3EF
square
#DB8EEF #EFAB8E #A2EF8E #8ED3EF
split-complementary
#DB8EEF #D3EF8E #8EEFAB
monochromatic
#B923E0 #CA58E7 #DB8EEF #ECC4F7 #F6E4FB

Accessibility & contrast

On white

2.30
#DB8EEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.13
#DB8EEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB8EEF
9.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB8EEF#FFFFFF#000000##000000
##DB8EEF1.002.309.139.13
#FFFFFF2.301.0021.0021.00
#0000009.1321.001.001.00
##0000009.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A6F3
Deuteranopia (green-blind)
#94AEEC
Tritanopia (blue-blind)
#DC9AB3
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #db8eef;
/* rgb */ color: rgb(219, 142, 239);
/* oklch */ color: oklch(75.9% 0.156 319.2);
Tailwind
colors: {
  custom: {
    50: '#e7b0f4',
    500: '#db8eef',
    950: '#000000',
  },
}
SCSS
$custom: #db8eef;
$custom-light: #e7b0f4;
$custom-dark: #000000;
JSON
{
  "hex": "#db8eef",
  "rgb": {
    "r": 219,
    "g": 142,
    "b": 239
  },
  "hsl": {
    "h": 287.629,
    "s": 75.194,
    "l": 74.706
  },
  "oklch": {
    "l": 0.75895,
    "c": 0.15642,
    "h": 319.2
  },
  "luminance": 0.40638
}

Semantic roles & 50–950 ramp

primary
#DB8EEF
secondary
#DEF3D8
accent
#D70E38
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161117
muted
#848085

Preview Lab

Preview with #DB8EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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