#DB72F8#DB72F8

#DB72F8 is a light, highly saturated purple. Relative luminance 0.339; OKLCH L 72.3% C 0.210 H 318.5°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#DB72F8
RGBrgb(219, 114, 248)
HSLhsl(287, 91%, 71%)
HSVhsv(287, 54%, 97%)
CMYKcmyk(11.7%, 54%, 0%, 2.7%)
CIE-LABlab(64.86, 60.84, -50.05)
CIE-LCHlch(64.86, 78.79, 320.56°)
OKLaboklab(72.27% 0.1576 -0.1393)
OKLCHoklch(72.27% 0.21 318.5)
XYZxyz(52.1717, 33.8740, 92.5789)
Luminance0.3387 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB72F8 #8FF872
analogous
#9872F8 #DB72F8 #F872D2
triadic
#DB72F8 #F8DB72 #72F8DB
tetradic
#DB72F8 #F89872 #8FF872 #72D2F8
square
#DB72F8 #F89872 #8FF872 #72D2F8
split-complementary
#DB72F8 #D2F872 #72F898
monochromatic
#B50BE4 #CC38F5 #DB72F8 #EAACFB #F8E2FE

Accessibility & contrast

On white

2.70
#DB72F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#DB72F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB72F8
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB72F8#FFFFFF#000000##000000
##DB72F81.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5696FC
Deuteranopia (green-blind)
#79A1F4
Tritanopia (blue-blind)
#DB86AB
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #db72f8;
/* rgb */ color: rgb(219, 114, 248);
/* oklch */ color: oklch(72.3% 0.210 318.5);
Tailwind
colors: {
  custom: {
    50: '#e99ffb',
    500: '#db72f8',
    950: '#000000',
  },
}
SCSS
$custom: #db72f8;
$custom-light: #e99ffb;
$custom-dark: #000000;
JSON
{
  "hex": "#db72f8",
  "rgb": {
    "r": 219,
    "g": 114,
    "b": 248
  },
  "hsl": {
    "h": 287.015,
    "s": 90.541,
    "l": 70.98
  },
  "oklch": {
    "l": 0.7227,
    "c": 0.2103,
    "h": 318.5
  },
  "luminance": 0.33872
}

Semantic roles & 50–950 ramp

primary
#DB72F8
secondary
#D9F5D1
accent
#E60032
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#160F17
muted
#847F85

Preview Lab

Preview with #DB72F8

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

Preview Lab → · Contrast checker → · Palette generator →

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