#DB45C9#DB45C9

#DB45C9 is a light, highly saturated purple. Relative luminance 0.235; OKLCH L 64.8% C 0.232 H 333.2°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#DB45C9
RGBrgb(219, 69, 201)
HSLhsl(307, 68%, 56%)
HSVhsv(307, 68%, 86%)
CMYKcmyk(0%, 68.5%, 8.2%, 14.1%)
CIE-LABlab(55.62, 71.78, -38.25)
CIE-LCHlch(55.62, 81.33, 331.94°)
OKLaboklab(64.79% 0.2071 -0.1048)
OKLCHoklch(64.79% 0.232 333.2)
XYZxyz(41.8844, 23.5368, 57.5841)
Luminance0.2353 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB45C9 #45DB57
analogous
#A245DB #DB45C9 #DB457E
triadic
#DB45C9 #C9DB45 #45C9DB
tetradic
#DB45C9 #DBA245 #45DB57 #457EDB
square
#DB45C9 #DBA245 #45DB57 #457EDB
split-complementary
#DB45C9 #7EDB45 #45DBA2
monochromatic
#8B1B7D #BE25AC #DB45C9 #E578D8 #EFACE7

Accessibility & contrast

On white

3.68
#DB45C9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#DB45C9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB45C9
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB45C9#FFFFFF#000000##000000
##DB45C91.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4077CD
Deuteranopia (green-blind)
#758DC5
Tritanopia (blue-blind)
#E55382
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #db45c9;
/* rgb */ color: rgb(219, 69, 201);
/* oklch */ color: oklch(64.8% 0.232 333.2);
Tailwind
colors: {
  custom: {
    50: '#ea85da',
    500: '#db45c9',
    950: '#000000',
  },
}
SCSS
$custom: #db45c9;
$custom-light: #ea85da;
$custom-dark: #000000;
JSON
{
  "hex": "#db45c9",
  "rgb": {
    "r": 219,
    "g": 69,
    "b": 201
  },
  "hsl": {
    "h": 307.2,
    "s": 67.568,
    "l": 56.471
  },
  "oklch": {
    "l": 0.64793,
    "c": 0.23211,
    "h": 333.2
  },
  "luminance": 0.23533
}

Semantic roles & 50–950 ramp

primary
#DB45C9
secondary
#9FDDA7
accent
#EA523D
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#170C15
muted
#857D83

Preview Lab

Preview with #DB45C9

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

Preview Lab → · Contrast checker → · Palette generator →

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