#DB45C6#DB45C6

#DB45C6 is a light, highly saturated purple. Relative luminance 0.234; OKLCH L 64.6% C 0.230 H 334.1°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#DB45C6
RGBrgb(219, 69, 198)
HSLhsl(308, 68%, 56%)
HSVhsv(308, 68%, 86%)
CMYKcmyk(0%, 68.5%, 9.6%, 14.1%)
CIE-LABlab(55.48, 71.33, -36.76)
CIE-LCHlch(55.48, 80.24, 332.74°)
OKLaboklab(64.64% 0.2068 -0.1005)
OKLCHoklch(64.64% 0.23 334.1)
XYZxyz(41.5349, 23.3970, 55.7437)
Luminance0.2339 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB45C6 #45DB5A
analogous
#A545DB #DB45C6 #DB457B
triadic
#DB45C6 #C6DB45 #45C6DB
tetradic
#DB45C6 #DBA545 #45DB5A #457BDB
square
#DB45C6 #DBA545 #45DB5A #457BDB
split-complementary
#DB45C6 #7BDB45 #45DBA5
monochromatic
#8B1B7B #BE25A9 #DB45C6 #E578D6 #EFACE5

Accessibility & contrast

On white

3.70
#DB45C6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#DB45C6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB45C6
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB45C6#FFFFFF#000000##000000
##DB45C61.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4277CA
Deuteranopia (green-blind)
#768DC2
Tritanopia (blue-blind)
#E55180
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #db45c6;
/* rgb */ color: rgb(219, 69, 198);
/* oklch */ color: oklch(64.6% 0.230 334.1);
Tailwind
colors: {
  custom: {
    50: '#ea85d7',
    500: '#db45c6',
    950: '#000000',
  },
}
SCSS
$custom: #db45c6;
$custom-light: #ea85d7;
$custom-dark: #000000;
JSON
{
  "hex": "#db45c6",
  "rgb": {
    "r": 219,
    "g": 69,
    "b": 198
  },
  "hsl": {
    "h": 308.4,
    "s": 67.568,
    "l": 56.471
  },
  "oklch": {
    "l": 0.64644,
    "c": 0.22997,
    "h": 334.1
  },
  "luminance": 0.23394
}

Semantic roles & 50–950 ramp

primary
#DB45C6
secondary
#9FDDA8
accent
#EA563D
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#170C14
muted
#857D83

Preview Lab

Preview with #DB45C6

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

Preview Lab → · Contrast checker → · Palette generator →

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