#DB48E1#DB48E1

#DB48E1 is a light, highly saturated purple. Relative luminance 0.251; OKLCH L 66.3% C 0.247 H 326.3°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#DB48E1
RGBrgb(219, 72, 225)
HSLhsl(298, 72%, 58%)
HSVhsv(298, 68%, 88%)
CMYKcmyk(2.7%, 68%, 0%, 11.8%)
CIE-LABlab(57.21, 74.50, -49.38)
CIE-LCHlch(57.21, 89.38, 326.46°)
OKLaboklab(66.33% 0.2051 -0.137)
OKLCHoklch(66.33% 0.247 326.3)
XYZxyz(45.1205, 25.1340, 73.6944)
Luminance0.2513 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB48E1 #4EE148
analogous
#8E48E1 #DB48E1 #E1489A
triadic
#DB48E1 #E1DB48 #48E1DB
tetradic
#DB48E1 #E18E48 #4EE148 #489AE1
square
#DB48E1 #E18E48 #4EE148 #489AE1
split-complementary
#DB48E1 #9AE148 #48E18E
monochromatic
#911996 #C421CB #DB48E1 #E57DEA #F0B1F2

Accessibility & contrast

On white

3.48
#DB48E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#DB48E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB48E1
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB48E1#FFFFFF#000000##000000
##DB48E11.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#297DE5
Deuteranopia (green-blind)
#6A90DD
Tritanopia (blue-blind)
#E16090
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #db48e1;
/* rgb */ color: rgb(219, 72, 225);
/* oklch */ color: oklch(66.3% 0.247 326.3);
Tailwind
colors: {
  custom: {
    50: '#ea87eb',
    500: '#db48e1',
    950: '#000000',
  },
}
SCSS
$custom: #db48e1;
$custom-light: #ea87eb;
$custom-dark: #000000;
JSON
{
  "hex": "#db48e1",
  "rgb": {
    "r": 219,
    "g": 72,
    "b": 225
  },
  "hsl": {
    "h": 297.647,
    "s": 71.831,
    "l": 58.235
  },
  "oklch": {
    "l": 0.66326,
    "c": 0.24666,
    "h": 326.3
  },
  "luminance": 0.25131
}

Semantic roles & 50–950 ramp

primary
#DB48E1
secondary
#A6E1A4
accent
#EF3940
background
#FEF8FE
surface
#FDF0FD
border
#D5CBD5
text
#170C16
muted
#857D84

Preview Lab

Preview with #DB48E1

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

Preview Lab → · Contrast checker → · Palette generator →

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