#DB82F2#DB82F2

#DB82F2 is a light, vivid purple. Relative luminance 0.374; OKLCH L 74.2% C 0.179 H 319.1°. Best body text is #000000 at 8.49:1 contrast (WCAG AA passes).

Color values

HEX#DB82F2
RGBrgb(219, 130, 242)
HSLhsl(288, 81%, 73%)
HSVhsv(288, 46%, 95%)
CMYKcmyk(9.5%, 46.3%, 0%, 5.1%)
CIE-LABlab(67.60, 51.75, -42.44)
CIE-LCHlch(67.60, 66.93, 320.65°)
OKLaboklab(74.21% 0.1357 -0.1173)
OKLCHoklch(74.21% 0.179 319.1)
XYZxyz(53.2210, 37.4380, 88.4100)
Luminance0.3744 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB82F2 #99F282
analogous
#A382F2 #DB82F2 #F282D1
triadic
#DB82F2 #F2DB82 #82F2DB
tetradic
#DB82F2 #F2A382 #99F282 #82D1F2
square
#DB82F2 #F2A382 #99F282 #82D1F2
split-complementary
#DB82F2 #D1F282 #82F2A3
monochromatic
#B818E2 #CB4BEC #DB82F2 #EBB9F8 #F7E3FC

Accessibility & contrast

On white

2.47
#DB82F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.49
#DB82F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB82F2
8.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB82F2#FFFFFF#000000##000000
##DB82F21.002.478.498.49
#FFFFFF2.471.0021.0021.00
#0000008.4921.001.001.00
##0000008.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#709FF6
Deuteranopia (green-blind)
#89A8EF
Tritanopia (blue-blind)
#DC91AF
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #db82f2;
/* rgb */ color: rgb(219, 130, 242);
/* oklch */ color: oklch(74.2% 0.179 319.1);
Tailwind
colors: {
  custom: {
    50: '#e8a9f7',
    500: '#db82f2',
    950: '#000000',
  },
}
SCSS
$custom: #db82f2;
$custom-light: #e8a9f7;
$custom-dark: #000000;
JSON
{
  "hex": "#db82f2",
  "rgb": {
    "r": 219,
    "g": 130,
    "b": 242
  },
  "hsl": {
    "h": 287.679,
    "s": 81.159,
    "l": 72.941
  },
  "oklch": {
    "l": 0.74205,
    "c": 0.17936,
    "h": 319.1
  },
  "luminance": 0.37436
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DB82F2

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

Preview Lab → · Contrast checker → · Palette generator →

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