#DB72F7#DB72F7

#DB72F7 is a light, highly saturated purple. Relative luminance 0.338; OKLCH L 72.2% C 0.209 H 318.8°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#DB72F7
RGBrgb(219, 114, 247)
HSLhsl(287, 89%, 71%)
HSVhsv(287, 54%, 97%)
CMYKcmyk(11.3%, 53.8%, 0%, 3.1%)
CIE-LABlab(64.81, 60.65, -49.58)
CIE-LCHlch(64.81, 78.34, 320.73°)
OKLaboklab(72.22% 0.1575 -0.1379)
OKLCHoklch(72.22% 0.209 318.8)
XYZxyz(52.0170, 33.8121, 91.7640)
Luminance0.3381 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB72F7 #8EF772
analogous
#9872F7 #DB72F7 #F772D1
triadic
#DB72F7 #F7DB72 #72F7DB
tetradic
#DB72F7 #F79872 #8EF772 #72D1F7
square
#DB72F7 #F79872 #8EF772 #72D1F7
split-complementary
#DB72F7 #D1F772 #72F798
monochromatic
#B50DE2 #CC38F4 #DB72F7 #EAACFA #F8E2FD

Accessibility & contrast

On white

2.71
#DB72F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#DB72F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DB72F7
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB72F7#FFFFFF#000000##000000
##DB72F71.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5796FB
Deuteranopia (green-blind)
#7AA1F3
Tritanopia (blue-blind)
#DB86AA
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #db72f7;
/* rgb */ color: rgb(219, 114, 247);
/* oklch */ color: oklch(72.2% 0.209 318.8);
Tailwind
colors: {
  custom: {
    50: '#e99ffa',
    500: '#db72f7',
    950: '#000000',
  },
}
SCSS
$custom: #db72f7;
$custom-light: #e99ffa;
$custom-dark: #000000;
JSON
{
  "hex": "#db72f7",
  "rgb": {
    "r": 219,
    "g": 114,
    "b": 247
  },
  "hsl": {
    "h": 287.368,
    "s": 89.262,
    "l": 70.784
  },
  "oklch": {
    "l": 0.72218,
    "c": 0.20934,
    "h": 318.8
  },
  "luminance": 0.3381
}

Semantic roles & 50–950 ramp

primary
#DB72F7
secondary
#D8F4D1
accent
#E60030
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#160F17
muted
#847F85

Preview Lab

Preview with #DB72F7

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

Preview Lab → · Contrast checker → · Palette generator →

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