#DB45C4#DB45C4

#DB45C4 is a light, highly saturated purple. Relative luminance 0.233; OKLCH L 64.5% C 0.229 H 334.7°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#DB45C4
RGBrgb(219, 69, 196)
HSLhsl(309, 68%, 56%)
HSVhsv(309, 68%, 86%)
CMYKcmyk(0%, 68.5%, 10.5%, 14.1%)
CIE-LABlab(55.39, 71.03, -35.75)
CIE-LCHlch(55.39, 79.52, 333.28°)
OKLaboklab(64.55% 0.2067 -0.0976)
OKLCHoklch(64.55% 0.229 334.7)
XYZxyz(41.3057, 23.3053, 54.5368)
Luminance0.2330 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB45C4 #45DB5C
analogous
#A745DB #DB45C4 #DB4579
triadic
#DB45C4 #C4DB45 #45C4DB
tetradic
#DB45C4 #DBA745 #45DB5C #4579DB
square
#DB45C4 #DBA745 #45DB5C #4579DB
split-complementary
#DB45C4 #79DB45 #45DBA7
monochromatic
#8B1B7A #BE25A7 #DB45C4 #E578D4 #EFACE5

Accessibility & contrast

On white

3.71
#DB45C4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#DB45C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB45C4
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB45C4#FFFFFF#000000##000000
##DB45C41.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4476C8
Deuteranopia (green-blind)
#778DC0
Tritanopia (blue-blind)
#E5517F
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #db45c4;
/* rgb */ color: rgb(219, 69, 196);
/* oklch */ color: oklch(64.5% 0.229 334.7);
Tailwind
colors: {
  custom: {
    50: '#ea85d6',
    500: '#db45c4',
    950: '#000000',
  },
}
SCSS
$custom: #db45c4;
$custom-light: #ea85d6;
$custom-dark: #000000;
JSON
{
  "hex": "#db45c4",
  "rgb": {
    "r": 219,
    "g": 69,
    "b": 196
  },
  "hsl": {
    "h": 309.2,
    "s": 67.568,
    "l": 56.471
  },
  "oklch": {
    "l": 0.64546,
    "c": 0.22856,
    "h": 334.7
  },
  "luminance": 0.23302
}

Semantic roles & 50–950 ramp

primary
#DB45C4
secondary
#9FDDA9
accent
#EA583D
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#170C14
muted
#857D83

Preview Lab

Preview with #DB45C4

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

Preview Lab → · Contrast checker → · Palette generator →

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