#D45BC7#D45BC7

#D45BC7 is a light, vivid purple. Relative luminance 0.256; OKLCH L 66.0% C 0.197 H 331.9°. Best body text is #000000 at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#D45BC7
RGBrgb(212, 91, 199)
HSLhsl(306, 58%, 59%)
HSVhsv(306, 57%, 83%)
CMYKcmyk(0%, 57.1%, 6.1%, 16.9%)
CIE-LABlab(57.66, 60.90, -33.99)
CIE-LCHlch(57.66, 69.75, 330.83°)
OKLaboklab(66.04% 0.174 -0.0929)
OKLCHoklch(66.04% 0.197 331.9)
XYZxyz(41.2012, 25.6056, 56.7941)
Luminance0.2560 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D45BC7 #5BD468
analogous
#A45BD4 #D45BC7 #D45B8B
triadic
#D45BC7 #C7D45B #5BC7D4
tetradic
#D45BC7 #D4A45B #5BD468 #5B8BD4
square
#D45BC7 #D4A45B #5BD468 #5B8BD4
split-complementary
#D45BC7 #8BD45B #5BD4A4
monochromatic
#8F2684 #C032B0 #D45BC7 #E18BD8 #EDBCE8

Accessibility & contrast

On white

3.43
#D45BC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.12
#D45BC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D45BC7
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D45BC7#FFFFFF#000000##000000
##D45BC71.003.436.126.12
#FFFFFF3.431.0021.0021.00
#0000006.1221.001.001.00
##0000006.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5680CA
Deuteranopia (green-blind)
#7C91C4
Tritanopia (blue-blind)
#DC6589
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #d45bc7;
/* rgb */ color: rgb(212, 91, 199);
/* oklch */ color: oklch(66.0% 0.197 331.9);
Tailwind
colors: {
  custom: {
    50: '#e490d8',
    500: '#d45bc7',
    950: '#000000',
  },
}
SCSS
$custom: #d45bc7;
$custom-light: #e490d8;
$custom-dark: #000000;
JSON
{
  "hex": "#d45bc7",
  "rgb": {
    "r": 212,
    "g": 91,
    "b": 199
  },
  "hsl": {
    "h": 306.446,
    "s": 58.454,
    "l": 59.412
  },
  "oklch": {
    "l": 0.66041,
    "c": 0.19726,
    "h": 331.9
  },
  "luminance": 0.25603
}

Semantic roles & 50–950 ramp

primary
#D45BC7
secondary
#AEDDB3
accent
#E25746
background
#FEF9FD
surface
#FDF1FA
border
#D5CBD3
text
#160D14
muted
#847E83

Preview Lab

Preview with #D45BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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