#DB45C5#DB45C5

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

Color values

HEX#DB45C5
RGBrgb(219, 69, 197)
HSLhsl(309, 68%, 56%)
HSVhsv(309, 68%, 86%)
CMYKcmyk(0%, 68.5%, 10%, 14.1%)
CIE-LABlab(55.43, 71.18, -36.26)
CIE-LCHlch(55.43, 79.88, 333.01°)
OKLaboklab(64.6% 0.2067 -0.0991)
OKLCHoklch(64.6% 0.229 334.4)
XYZxyz(41.4199, 23.3510, 55.1382)
Luminance0.2335 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB45C5 #45DB5B
analogous
#A645DB #DB45C5 #DB457A
triadic
#DB45C5 #C5DB45 #45C5DB
tetradic
#DB45C5 #DBA645 #45DB5B #457ADB
square
#DB45C5 #DBA645 #45DB5B #457ADB
split-complementary
#DB45C5 #7ADB45 #45DBA6
monochromatic
#8B1B7A #BE25A8 #DB45C5 #E578D5 #EFACE5

Accessibility & contrast

On white

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

On black

5.67
#DB45C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB45C5
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB45C5#FFFFFF#000000##000000
##DB45C51.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4377C9
Deuteranopia (green-blind)
#778DC1
Tritanopia (blue-blind)
#E55180
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #db45c5;
/* rgb */ color: rgb(219, 69, 197);
/* oklch */ color: oklch(64.6% 0.229 334.4);
Tailwind
colors: {
  custom: {
    50: '#ea85d7',
    500: '#db45c5',
    950: '#000000',
  },
}
SCSS
$custom: #db45c5;
$custom-light: #ea85d7;
$custom-dark: #000000;
JSON
{
  "hex": "#db45c5",
  "rgb": {
    "r": 219,
    "g": 69,
    "b": 197
  },
  "hsl": {
    "h": 308.8,
    "s": 67.568,
    "l": 56.471
  },
  "oklch": {
    "l": 0.64595,
    "c": 0.22926,
    "h": 334.4
  },
  "luminance": 0.23348
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DB45C5

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

Preview Lab → · Contrast checker → · Palette generator →

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