#DB48E7#DB48E7

#DB48E7 is a light, highly saturated purple. Relative luminance 0.255; OKLCH L 66.7% C 0.251 H 324.7°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#DB48E7
RGBrgb(219, 72, 231)
HSLhsl(295, 77%, 59%)
HSVhsv(295, 69%, 91%)
CMYKcmyk(5.2%, 68.8%, 0%, 9.4%)
CIE-LABlab(57.53, 75.50, -52.24)
CIE-LCHlch(57.53, 91.81, 325.32°)
OKLaboklab(66.66% 0.2051 -0.1453)
OKLCHoklch(66.66% 0.251 324.7)
XYZxyz(45.9534, 25.4672, 78.0810)
Luminance0.2546 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB48E7 #54E748
analogous
#8C48E7 #DB48E7 #E748A3
triadic
#DB48E7 #E7DB48 #48E7DB
tetradic
#DB48E7 #E78C48 #54E748 #48A3E7
square
#DB48E7 #E78C48 #54E748 #48A3E7
split-complementary
#DB48E7 #A3E748 #48E78C
monochromatic
#9515A0 #C81CD6 #DB48E7 #E67EEE #F0B4F5

Accessibility & contrast

On white

3.45
#DB48E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#DB48E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB48E7
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB48E7#FFFFFF#000000##000000
##DB48E71.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D7FEC
Deuteranopia (green-blind)
#6690E3
Tritanopia (blue-blind)
#DF6293
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #db48e7;
/* rgb */ color: rgb(219, 72, 231);
/* oklch */ color: oklch(66.7% 0.251 324.7);
Tailwind
colors: {
  custom: {
    50: '#ea87ef',
    500: '#db48e7',
    950: '#000000',
  },
}
SCSS
$custom: #db48e7;
$custom-light: #ea87ef;
$custom-dark: #000000;
JSON
{
  "hex": "#db48e7",
  "rgb": {
    "r": 219,
    "g": 72,
    "b": 231
  },
  "hsl": {
    "h": 295.472,
    "s": 76.812,
    "l": 59.412
  },
  "oklch": {
    "l": 0.66661,
    "c": 0.25137,
    "h": 324.7
  },
  "luminance": 0.25464
}

Semantic roles & 50–950 ramp

primary
#DB48E7
secondary
#ABE4A6
accent
#F33443
background
#FEF8FE
surface
#FDF0FD
border
#D5CBD5
text
#170C16
muted
#857D84

Preview Lab

Preview with #DB48E7

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

Preview Lab → · Contrast checker → · Palette generator →

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