#DB89F7#DB89F7

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

Color values

HEX#DB89F7
RGBrgb(219, 137, 247)
HSLhsl(285, 87%, 75%)
HSVhsv(285, 45%, 97%)
CMYKcmyk(11.3%, 44.5%, 0%, 3.1%)
CIE-LABlab(69.23, 49.14, -42.63)
CIE-LCHlch(69.23, 65.05, 319.06°)
OKLaboklab(75.49% 0.1268 -0.1179)
OKLCHoklch(75.49% 0.173 317.1)
XYZxyz(54.9452, 39.6684, 92.7401)
Luminance0.3967 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB89F7 #A5F789
analogous
#A489F7 #DB89F7 #F789DC
triadic
#DB89F7 #F7DB89 #89F7DB
tetradic
#DB89F7 #F7A489 #A5F789 #89DCF7
square
#DB89F7 #F7A489 #A5F789 #89DCF7
split-complementary
#DB89F7 #DCF789 #89F7A4
monochromatic
#B816EF #CA50F3 #DB89F7 #ECC2FB #F6E2FD

Accessibility & contrast

On white

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

On black

8.93
#DB89F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB89F7
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB89F7#FFFFFF#000000##000000
##DB89F71.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A4FB
Deuteranopia (green-blind)
#8CACF4
Tritanopia (blue-blind)
#DA98B4
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #db89f7;
/* rgb */ color: rgb(219, 137, 247);
/* oklch */ color: oklch(75.5% 0.173 317.1);
Tailwind
colors: {
  custom: {
    50: '#e8adfa',
    500: '#db89f7',
    950: '#000000',
  },
}
SCSS
$custom: #db89f7;
$custom-light: #e8adfa;
$custom-dark: #000000;
JSON
{
  "hex": "#db89f7",
  "rgb": {
    "r": 219,
    "g": 137,
    "b": 247
  },
  "hsl": {
    "h": 284.727,
    "s": 87.302,
    "l": 75.294
  },
  "oklch": {
    "l": 0.75491,
    "c": 0.17315,
    "h": 317.1
  },
  "luminance": 0.39667
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DB89F7

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

Preview Lab → · Contrast checker → · Palette generator →

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