#DB45C7#DB45C7

#DB45C7 is a light, highly saturated purple. Relative luminance 0.234; OKLCH L 64.7% C 0.231 H 333.8°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#DB45C7
RGBrgb(219, 69, 199)
HSLhsl(308, 68%, 56%)
HSVhsv(308, 68%, 86%)
CMYKcmyk(0%, 68.5%, 9.1%, 14.1%)
CIE-LABlab(55.53, 71.48, -37.26)
CIE-LCHlch(55.53, 80.60, 332.47°)
OKLaboklab(64.69% 0.2069 -0.1019)
OKLCHoklch(64.69% 0.231 333.8)
XYZxyz(41.6506, 23.4433, 56.3531)
Luminance0.2344 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DB45C7 #45DB59
analogous
#A445DB #DB45C7 #DB457C
triadic
#DB45C7 #C7DB45 #45C7DB
tetradic
#DB45C7 #DBA445 #45DB59 #457CDB
square
#DB45C7 #DBA445 #45DB59 #457CDB
split-complementary
#DB45C7 #7CDB45 #45DBA4
monochromatic
#8B1B7C #BE25AA #DB45C7 #E578D6 #EFACE6

Accessibility & contrast

On white

3.69
#DB45C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#DB45C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DB45C7
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DB45C7#FFFFFF#000000##000000
##DB45C71.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4177CB
Deuteranopia (green-blind)
#768DC3
Tritanopia (blue-blind)
#E55281
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #db45c7;
/* rgb */ color: rgb(219, 69, 199);
/* oklch */ color: oklch(64.7% 0.231 333.8);
Tailwind
colors: {
  custom: {
    50: '#ea85d8',
    500: '#db45c7',
    950: '#000000',
  },
}
SCSS
$custom: #db45c7;
$custom-light: #ea85d8;
$custom-dark: #000000;
JSON
{
  "hex": "#db45c7",
  "rgb": {
    "r": 219,
    "g": 69,
    "b": 199
  },
  "hsl": {
    "h": 308,
    "s": 67.568,
    "l": 56.471
  },
  "oklch": {
    "l": 0.64693,
    "c": 0.23068,
    "h": 333.8
  },
  "luminance": 0.2344
}

Semantic roles & 50–950 ramp

primary
#DB45C7
secondary
#9FDDA7
accent
#EA543D
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#170C14
muted
#857D83

Preview Lab

Preview with #DB45C7

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

Preview Lab → · Contrast checker → · Palette generator →

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