#DB89F8#DB89F8

#DB89F8 is a light, vivid purple. Relative luminance 0.397; OKLCH L 75.5% C 0.174 H 316.8°. Best body text is #000000 at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#DB89F8
RGBrgb(219, 137, 248)
HSLhsl(284, 89%, 75%)
HSVhsv(284, 45%, 97%)
CMYKcmyk(11.7%, 44.8%, 0%, 2.7%)
CIE-LABlab(69.28, 49.34, -43.11)
CIE-LCHlch(69.28, 65.51, 318.85°)
OKLaboklab(75.54% 0.127 -0.1193)
OKLCHoklch(75.54% 0.174 316.8)
XYZxyz(55.0999, 39.7303, 93.5549)
Luminance0.3973 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB89F8 #A6F889
analogous
#A389F8 #DB89F8 #F889DE
triadic
#DB89F8 #F8DB89 #89F8DB
tetradic
#DB89F8 #F8A389 #A6F889 #89DEF8
square
#DB89F8 #F8A389 #A6F889 #89DEF8
split-complementary
#DB89F8 #DEF889 #89F8A3
monochromatic
#B815F1 #C94FF5 #DB89F8 #EDC3FB #F6E2FD

Accessibility & contrast

On white

2.35
#DB89F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.95
#DB89F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB89F8
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB89F8#FFFFFF#000000##000000
##DB89F81.002.358.958.95
#FFFFFF2.351.0021.0021.00
#0000008.9521.001.001.00
##0000008.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#75A4FC
Deuteranopia (green-blind)
#8CACF5
Tritanopia (blue-blind)
#DA98B5
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #db89f8;
/* rgb */ color: rgb(219, 137, 248);
/* oklch */ color: oklch(75.5% 0.174 316.8);
Tailwind
colors: {
  custom: {
    50: '#e8adfb',
    500: '#db89f8',
    950: '#000000',
  },
}
SCSS
$custom: #db89f8;
$custom-light: #e8adfb;
$custom-dark: #000000;
JSON
{
  "hex": "#db89f8",
  "rgb": {
    "r": 219,
    "g": 137,
    "b": 248
  },
  "hsl": {
    "h": 284.324,
    "s": 88.8,
    "l": 75.49
  },
  "oklch": {
    "l": 0.75538,
    "c": 0.17421,
    "h": 316.8
  },
  "luminance": 0.39729
}

Semantic roles & 50–950 ramp

primary
#DB89F8
secondary
#DEF5D6
accent
#E5003C
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #DB89F8

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

Preview Lab → · Contrast checker → · Palette generator →

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