#DB81F3#DB81F3

#DB81F3 is a light, vivid purple. Relative luminance 0.372; OKLCH L 74.1% C 0.182 H 318.9°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#DB81F3
RGBrgb(219, 129, 243)
HSLhsl(287, 83%, 73%)
HSVhsv(287, 47%, 95%)
CMYKcmyk(9.9%, 46.9%, 0%, 4.7%)
CIE-LABlab(67.45, 52.46, -43.23)
CIE-LCHlch(67.45, 67.97, 320.51°)
OKLaboklab(74.11% 0.1372 -0.1196)
OKLCHoklch(74.11% 0.182 318.9)
XYZxyz(53.2392, 37.2335, 89.1590)
Luminance0.3723 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB81F3 #99F381
analogous
#A281F3 #DB81F3 #F381D2
triadic
#DB81F3 #F3DB81 #81F3DB
tetradic
#DB81F3 #F3A281 #99F381 #81D2F3
square
#DB81F3 #F3A281 #99F381 #81D2F3
split-complementary
#DB81F3 #D2F381 #81F3A2
monochromatic
#B816E4 #CB49EE #DB81F3 #EBB9F8 #F7E3FC

Accessibility & contrast

On white

2.49
#DB81F3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#DB81F3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB81F3
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB81F3#FFFFFF#000000##000000
##DB81F31.002.498.458.45
#FFFFFF2.491.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9EF7
Deuteranopia (green-blind)
#88A7F0
Tritanopia (blue-blind)
#DC91AF
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #db81f3;
/* rgb */ color: rgb(219, 129, 243);
/* oklch */ color: oklch(74.1% 0.182 318.9);
Tailwind
colors: {
  custom: {
    50: '#e8a8f7',
    500: '#db81f3',
    950: '#000000',
  },
}
SCSS
$custom: #db81f3;
$custom-light: #e8a8f7;
$custom-dark: #000000;
JSON
{
  "hex": "#db81f3",
  "rgb": {
    "r": 219,
    "g": 129,
    "b": 243
  },
  "hsl": {
    "h": 287.368,
    "s": 82.609,
    "l": 72.941
  },
  "oklch": {
    "l": 0.74106,
    "c": 0.182,
    "h": 318.9
  },
  "luminance": 0.37232
}

Semantic roles & 50–950 ramp

primary
#DB81F3
secondary
#DDF4D7
accent
#DF0634
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #DB81F3

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

Preview Lab → · Contrast checker → · Palette generator →

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