#DB48D2#DB48D2

#DB48D2 is a light, highly saturated purple. Relative luminance 0.243; OKLCH L 65.5% C 0.235 H 330.5°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#DB48D2
RGBrgb(219, 72, 210)
HSLhsl(304, 67%, 57%)
HSVhsv(304, 67%, 86%)
CMYKcmyk(0%, 67.1%, 4.1%, 14.1%)
CIE-LABlab(56.44, 72.09, -42.10)
CIE-LCHlch(56.44, 83.49, 329.71°)
OKLaboklab(65.53% 0.2046 -0.1159)
OKLCHoklch(65.53% 0.235 330.5)
XYZxyz(43.1635, 24.3512, 63.3871)
Luminance0.2435 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB48D2 #48DB51
analogous
#9A48DB #DB48D2 #DB4889
triadic
#DB48D2 #D2DB48 #48D2DB
tetradic
#DB48D2 #DB9A48 #48DB51 #4889DB
square
#DB48D2 #DB9A48 #48DB51 #4889DB
split-complementary
#DB48D2 #89DB48 #48DB9A
monochromatic
#8D1C86 #C026B7 #DB48D2 #E57BDF #EFAEEB

Accessibility & contrast

On white

3.58
#DB48D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#DB48D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB48D2
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB48D2#FFFFFF#000000##000000
##DB48D21.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B7AD6
Deuteranopia (green-blind)
#728ECE
Tritanopia (blue-blind)
#E35987
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #db48d2;
/* rgb */ color: rgb(219, 72, 210);
/* oklch */ color: oklch(65.5% 0.235 330.5);
Tailwind
colors: {
  custom: {
    50: '#ea87e0',
    500: '#db48d2',
    950: '#000000',
  },
}
SCSS
$custom: #db48d2;
$custom-light: #ea87e0;
$custom-dark: #000000;
JSON
{
  "hex": "#db48d2",
  "rgb": {
    "r": 219,
    "g": 72,
    "b": 210
  },
  "hsl": {
    "h": 303.673,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.65525,
    "c": 0.23518,
    "h": 330.5
  },
  "luminance": 0.24348
}

Semantic roles & 50–950 ramp

primary
#DB48D2
secondary
#A2DDA5
accent
#EA483E
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#170C15
muted
#857D83

Preview Lab

Preview with #DB48D2

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

Preview Lab → · Contrast checker → · Palette generator →

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