#DB89EC#DB89EC

#DB89EC is a light, vivid purple. Relative luminance 0.390; OKLCH L 75.0% C 0.162 H 320.6°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#DB89EC
RGBrgb(219, 137, 236)
HSLhsl(290, 72%, 73%)
HSVhsv(290, 42%, 93%)
CMYKcmyk(7.2%, 41.9%, 0%, 7.5%)
CIE-LABlab(68.76, 46.98, -37.34)
CIE-LCHlch(68.76, 60.01, 321.52°)
OKLaboklab(74.98% 0.1249 -0.1027)
OKLCHoklch(74.98% 0.162 320.6)
XYZxyz(53.2976, 39.0094, 84.0627)
Luminance0.3901 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB89EC #9AEC89
analogous
#A989EC #DB89EC #EC89CB
triadic
#DB89EC #ECDB89 #89ECDB
tetradic
#DB89EC #ECA989 #9AEC89 #89CBEC
square
#DB89EC #ECA989 #9AEC89 #89CBEC
split-complementary
#DB89EC #CBEC89 #89ECA9
monochromatic
#B923D8 #CB54E4 #DB89EC #EBBEF4 #F7E5FB

Accessibility & contrast

On white

2.39
#DB89EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.80
#DB89EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB89EC
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB89EC#FFFFFF#000000##000000
##DB89EC1.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA2F0
Deuteranopia (green-blind)
#91ABE9
Tritanopia (blue-blind)
#DD95AF
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #db89ec;
/* rgb */ color: rgb(219, 137, 236);
/* oklch */ color: oklch(75.0% 0.162 320.6);
Tailwind
colors: {
  custom: {
    50: '#e8adf2',
    500: '#db89ec',
    950: '#000000',
  },
}
SCSS
$custom: #db89ec;
$custom-light: #e8adf2;
$custom-dark: #000000;
JSON
{
  "hex": "#db89ec",
  "rgb": {
    "r": 219,
    "g": 137,
    "b": 236
  },
  "hsl": {
    "h": 289.697,
    "s": 72.263,
    "l": 73.137
  },
  "oklch": {
    "l": 0.7498,
    "c": 0.16169,
    "h": 320.6
  },
  "luminance": 0.39008
}

Semantic roles & 50–950 ramp

primary
#DB89EC
secondary
#DDF2D9
accent
#D41133
background
#FEFAFE
surface
#FDF4FD
border
#D5CED5
text
#161017
muted
#847F85

Preview Lab

Preview with #DB89EC

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

Preview Lab → · Contrast checker → · Palette generator →

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