#DB89F2#DB89F2

#DB89F2 is a light, vivid purple. Relative luminance 0.394; OKLCH L 75.3% C 0.168 H 318.6°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#DB89F2
RGBrgb(219, 137, 242)
HSLhsl(287, 80%, 74%)
HSVhsv(287, 43%, 95%)
CMYKcmyk(9.5%, 43.4%, 0%, 5.1%)
CIE-LABlab(69.01, 48.15, -40.23)
CIE-LCHlch(69.01, 62.74, 320.11°)
OKLaboklab(75.26% 0.126 -0.111)
OKLCHoklch(75.26% 0.168 318.6)
XYZxyz(54.1839, 39.3639, 88.7310)
Luminance0.3936 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB89F2 #A0F289
analogous
#A789F2 #DB89F2 #F289D5
triadic
#DB89F2 #F2DB89 #89F2DB
tetradic
#DB89F2 #F2A789 #A0F289 #89D5F2
square
#DB89F2 #F2A789 #A0F289 #89D5F2
split-complementary
#DB89F2 #D5F289 #89F2A7
monochromatic
#B91BE6 #CA52EC #DB89F2 #ECC0F8 #F7E3FC

Accessibility & contrast

On white

2.37
#DB89F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#DB89F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB89F2
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB89F2#FFFFFF#000000##000000
##DB89F21.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A3F6
Deuteranopia (green-blind)
#8FABEF
Tritanopia (blue-blind)
#DB97B2
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #db89f2;
/* rgb */ color: rgb(219, 137, 242);
/* oklch */ color: oklch(75.3% 0.168 318.6);
Tailwind
colors: {
  custom: {
    50: '#e8adf6',
    500: '#db89f2',
    950: '#000000',
  },
}
SCSS
$custom: #db89f2;
$custom-light: #e8adf6;
$custom-dark: #000000;
JSON
{
  "hex": "#db89f2",
  "rgb": {
    "r": 219,
    "g": 137,
    "b": 242
  },
  "hsl": {
    "h": 286.857,
    "s": 80.153,
    "l": 74.314
  },
  "oklch": {
    "l": 0.75256,
    "c": 0.16791,
    "h": 318.6
  },
  "luminance": 0.39362
}

Semantic roles & 50–950 ramp

primary
#DB89F2
secondary
#DDF4D7
accent
#DC0937
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#161017
muted
#847F85

Preview Lab

Preview with #DB89F2

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

Preview Lab → · Contrast checker → · Palette generator →

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