#DB81F2#DB81F2

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

Color values

HEX#DB81F2
RGBrgb(219, 129, 242)
HSLhsl(288, 81%, 73%)
HSVhsv(288, 47%, 95%)
CMYKcmyk(9.5%, 46.7%, 0%, 5.1%)
CIE-LABlab(67.41, 52.26, -42.75)
CIE-LCHlch(67.41, 67.52, 320.72°)
OKLaboklab(74.06% 0.137 -0.1182)
OKLCHoklch(74.06% 0.181 319.2)
XYZxyz(53.0886, 37.1733, 88.3658)
Luminance0.3717 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB81F2 #98F281
analogous
#A381F2 #DB81F2 #F281D0
triadic
#DB81F2 #F2DB81 #81F2DB
tetradic
#DB81F2 #F2A381 #98F281 #81D0F2
square
#DB81F2 #F2A381 #98F281 #81D0F2
split-complementary
#DB81F2 #D0F281 #81F2A3
monochromatic
#B817E1 #CB4AEC #DB81F2 #EBB8F8 #F7E3FC

Accessibility & contrast

On white

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

On black

8.43
#DB81F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB81F2
8.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB81F2#FFFFFF#000000##000000
##DB81F21.002.498.438.43
#FFFFFF2.491.0021.0021.00
#0000008.4321.001.001.00
##0000008.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6E9EF6
Deuteranopia (green-blind)
#88A7EF
Tritanopia (blue-blind)
#DC90AE
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #db81f2;
/* rgb */ color: rgb(219, 129, 242);
/* oklch */ color: oklch(74.1% 0.181 319.2);
Tailwind
colors: {
  custom: {
    50: '#e8a8f7',
    500: '#db81f2',
    950: '#000000',
  },
}
SCSS
$custom: #db81f2;
$custom-light: #e8a8f7;
$custom-dark: #000000;
JSON
{
  "hex": "#db81f2",
  "rgb": {
    "r": 219,
    "g": 129,
    "b": 242
  },
  "hsl": {
    "h": 287.788,
    "s": 81.295,
    "l": 72.745
  },
  "oklch": {
    "l": 0.74058,
    "c": 0.18097,
    "h": 319.2
  },
  "luminance": 0.37171
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DB81F2

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

Preview Lab → · Contrast checker → · Palette generator →

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