#DB45D2#DB45D2

#DB45D2 is a light, highly saturated purple. Relative luminance 0.240; OKLCH L 65.3% C 0.239 H 330.5°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#DB45D2
RGBrgb(219, 69, 210)
HSLhsl(304, 68%, 56%)
HSVhsv(304, 68%, 86%)
CMYKcmyk(0%, 68.5%, 4.1%, 14.1%)
CIE-LABlab(56.06, 73.15, -42.70)
CIE-LCHlch(56.06, 84.70, 329.73°)
OKLaboklab(65.25% 0.2077 -0.1176)
OKLCHoklch(65.25% 0.239 330.5)
XYZxyz(42.9742, 23.9727, 63.3241)
Luminance0.2397 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB45D2 #45DB4E
analogous
#9945DB #DB45D2 #DB4587
triadic
#DB45D2 #D2DB45 #45D2DB
tetradic
#DB45D2 #DB9945 #45DB4E #4587DB
square
#DB45D2 #DB9945 #45DB4E #4587DB
split-complementary
#DB45D2 #87DB45 #45DB99
monochromatic
#8B1B84 #BE25B5 #DB45D2 #E578DE #EFACEB

Accessibility & contrast

On white

3.62
#DB45D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#DB45D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB45D2
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB45D2#FFFFFF#000000##000000
##DB45D21.003.625.795.79
#FFFFFF3.621.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3779D6
Deuteranopia (green-blind)
#718ECE
Tritanopia (blue-blind)
#E35787
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #db45d2;
/* rgb */ color: rgb(219, 69, 210);
/* oklch */ color: oklch(65.3% 0.239 330.5);
Tailwind
colors: {
  custom: {
    50: '#ea85e0',
    500: '#db45d2',
    950: '#000000',
  },
}
SCSS
$custom: #db45d2;
$custom-light: #ea85e0;
$custom-dark: #000000;
JSON
{
  "hex": "#db45d2",
  "rgb": {
    "r": 219,
    "g": 69,
    "b": 210
  },
  "hsl": {
    "h": 303.6,
    "s": 67.568,
    "l": 56.471
  },
  "oklch": {
    "l": 0.65252,
    "c": 0.23868,
    "h": 330.5
  },
  "luminance": 0.23969
}

Semantic roles & 50–950 ramp

primary
#DB45D2
secondary
#9FDDA3
accent
#EA483D
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#170C15
muted
#857D83

Preview Lab

Preview with #DB45D2

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

Preview Lab → · Contrast checker → · Palette generator →

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