#DB48C7#DB48C7

#DB48C7 is a light, highly saturated purple. Relative luminance 0.238; OKLCH L 65.0% C 0.227 H 333.8°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#DB48C7
RGBrgb(219, 72, 199)
HSLhsl(308, 67%, 57%)
HSVhsv(308, 67%, 86%)
CMYKcmyk(0%, 67.1%, 9.1%, 14.1%)
CIE-LABlab(55.91, 70.40, -36.66)
CIE-LCHlch(55.91, 79.37, 332.50°)
OKLaboklab(64.97% 0.2038 -0.1003)
OKLCHoklch(64.97% 0.227 333.8)
XYZxyz(41.8399, 23.8217, 56.4162)
Luminance0.2382 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB48C7 #48DB5C
analogous
#A548DB #DB48C7 #DB487E
triadic
#DB48C7 #C7DB48 #48C7DB
tetradic
#DB48C7 #DBA548 #48DB5C #487EDB
square
#DB48C7 #DBA548 #48DB5C #487EDB
split-complementary
#DB48C7 #7EDB48 #48DBA5
monochromatic
#8D1C7D #C026AB #DB48C7 #E57BD7 #EFAEE6

Accessibility & contrast

On white

3.64
#DB48C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#DB48C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB48C7
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB48C7#FFFFFF#000000##000000
##DB48C71.003.645.765.76
#FFFFFF3.641.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4578CB
Deuteranopia (green-blind)
#778EC3
Tritanopia (blue-blind)
#E55482
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #db48c7;
/* rgb */ color: rgb(219, 72, 199);
/* oklch */ color: oklch(65.0% 0.227 333.8);
Tailwind
colors: {
  custom: {
    50: '#ea86d8',
    500: '#db48c7',
    950: '#000000',
  },
}
SCSS
$custom: #db48c7;
$custom-light: #ea86d8;
$custom-dark: #000000;
JSON
{
  "hex": "#db48c7",
  "rgb": {
    "r": 219,
    "g": 72,
    "b": 199
  },
  "hsl": {
    "h": 308.163,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.6497,
    "c": 0.2271,
    "h": 333.8
  },
  "luminance": 0.23818
}

Semantic roles & 50–950 ramp

primary
#DB48C7
secondary
#A2DDAA
accent
#EA553E
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#170C14
muted
#857D83

Preview Lab

Preview with #DB48C7

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

Preview Lab → · Contrast checker → · Palette generator →

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