#DB45C3#DB45C3

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

Color values

HEX#DB45C3
RGBrgb(219, 69, 195)
HSLhsl(310, 68%, 56%)
HSVhsv(310, 68%, 86%)
CMYKcmyk(0%, 68.5%, 11%, 14.1%)
CIE-LABlab(55.34, 70.88, -35.25)
CIE-LCHlch(55.34, 79.17, 333.56°)
OKLaboklab(64.5% 0.2065 -0.0962)
OKLCHoklch(64.5% 0.228 335)
XYZxyz(41.1923, 23.2600, 53.9393)
Luminance0.2326 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB45C3 #45DB5D
analogous
#A845DB #DB45C3 #DB4578
triadic
#DB45C3 #C3DB45 #45C3DB
tetradic
#DB45C3 #DBA845 #45DB5D #4578DB
square
#DB45C3 #DBA845 #45DB5D #4578DB
split-complementary
#DB45C3 #78DB45 #45DBA8
monochromatic
#8B1B79 #BE25A6 #DB45C3 #E578D4 #EFACE4

Accessibility & contrast

On white

3.72
#DB45C3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.65
#DB45C3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB45C3
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB45C3#FFFFFF#000000##000000
##DB45C31.003.725.655.65
#FFFFFF3.721.0021.0021.00
#0000005.6521.001.001.00
##0000005.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4576C7
Deuteranopia (green-blind)
#788DBF
Tritanopia (blue-blind)
#E5507E
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #db45c3;
/* rgb */ color: rgb(219, 69, 195);
/* oklch */ color: oklch(64.5% 0.228 335.0);
Tailwind
colors: {
  custom: {
    50: '#ea85d5',
    500: '#db45c3',
    950: '#000000',
  },
}
SCSS
$custom: #db45c3;
$custom-light: #ea85d5;
$custom-dark: #000000;
JSON
{
  "hex": "#db45c3",
  "rgb": {
    "r": 219,
    "g": 69,
    "b": 195
  },
  "hsl": {
    "h": 309.6,
    "s": 67.568,
    "l": 56.471
  },
  "oklch": {
    "l": 0.64497,
    "c": 0.22784,
    "h": 335
  },
  "luminance": 0.23256
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DB45C3

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

Preview Lab → · Contrast checker → · Palette generator →

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