#DB48D7#DB48D7

#DB48D7 is a light, highly saturated purple. Relative luminance 0.246; OKLCH L 65.8% C 0.239 H 329.0°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#DB48D7
RGBrgb(219, 72, 215)
HSLhsl(302, 67%, 57%)
HSVhsv(302, 67%, 86%)
CMYKcmyk(0%, 67.1%, 1.8%, 14.1%)
CIE-LABlab(56.69, 72.88, -44.55)
CIE-LCHlch(56.69, 85.42, 328.56°)
OKLaboklab(65.79% 0.2049 -0.123)
OKLCHoklch(65.79% 0.239 329)
XYZxyz(43.7961, 24.6043, 66.7192)
Luminance0.2460 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB48D7 #48DB4C
analogous
#9648DB #DB48D7 #DB488D
triadic
#DB48D7 #D7DB48 #48D7DB
tetradic
#DB48D7 #DB9648 #48DB4C #488DDB
square
#DB48D7 #DB9648 #48DB4C #488DDB
split-complementary
#DB48D7 #8DDB48 #48DB96
monochromatic
#8D1C8A #C026BC #DB48D7 #E57BE2 #EFAEED

Accessibility & contrast

On white

3.55
#DB48D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#DB48D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB48D7
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB48D7#FFFFFF#000000##000000
##DB48D71.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#367BDB
Deuteranopia (green-blind)
#708FD3
Tritanopia (blue-blind)
#E25B8A
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #db48d7;
/* rgb */ color: rgb(219, 72, 215);
/* oklch */ color: oklch(65.8% 0.239 329.0);
Tailwind
colors: {
  custom: {
    50: '#ea87e4',
    500: '#db48d7',
    950: '#000000',
  },
}
SCSS
$custom: #db48d7;
$custom-light: #ea87e4;
$custom-dark: #000000;
JSON
{
  "hex": "#db48d7",
  "rgb": {
    "r": 219,
    "g": 72,
    "b": 215
  },
  "hsl": {
    "h": 301.633,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.65786,
    "c": 0.23896,
    "h": 329
  },
  "luminance": 0.24601
}

Semantic roles & 50–950 ramp

primary
#DB48D7
secondary
#A2DDA3
accent
#EA423E
background
#FEF8FE
surface
#FDF0FC
border
#D5CBD5
text
#170C15
muted
#857D84

Preview Lab

Preview with #DB48D7

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

Preview Lab → · Contrast checker → · Palette generator →

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