#D845C1#D845C1

#D845C1 is a light, highly saturated purple. Relative luminance 0.227; OKLCH L 64.0% C 0.225 H 334.8°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#D845C1
RGBrgb(216, 69, 193)
HSLhsl(309, 65%, 56%)
HSVhsv(309, 68%, 85%)
CMYKcmyk(0%, 68.1%, 10.6%, 15.3%)
CIE-LABlab(54.77, 69.87, -35.02)
CIE-LCHlch(54.77, 78.16, 333.38°)
OKLaboklab(63.96% 0.2034 -0.0956)
OKLCHoklch(63.96% 0.225 334.8)
XYZxyz(40.0731, 22.7088, 52.7144)
Luminance0.2271 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D845C1 #45D85C
analogous
#A545D8 #D845C1 #D84577
triadic
#D845C1 #C1D845 #45C1D8
tetradic
#D845C1 #D8A545 #45D85C #4577D8
square
#D845C1 #D8A545 #45D85C #4577D8
split-complementary
#D845C1 #77D845 #45D8A5
monochromatic
#861C76 #B927A2 #D845C1 #E378D2 #EDAAE3

Accessibility & contrast

On white

3.79
#D845C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#D845C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D845C1
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D845C1#FFFFFF#000000##000000
##D845C11.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4475C5
Deuteranopia (green-blind)
#768BBD
Tritanopia (blue-blind)
#E2507D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d845c1;
/* rgb */ color: rgb(216, 69, 193);
/* oklch */ color: oklch(64.0% 0.225 334.8);
Tailwind
colors: {
  custom: {
    50: '#e884d4',
    500: '#d845c1',
    950: '#000000',
  },
}
SCSS
$custom: #d845c1;
$custom-light: #e884d4;
$custom-dark: #000000;
JSON
{
  "hex": "#d845c1",
  "rgb": {
    "r": 216,
    "g": 69,
    "b": 193
  },
  "hsl": {
    "h": 309.388,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.63964,
    "c": 0.22471,
    "h": 334.8
  },
  "luminance": 0.22705
}

Semantic roles & 50–950 ramp

primary
#D845C1
secondary
#9EDBA7
accent
#E85A40
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#170C14
muted
#857D83

Preview Lab

Preview with #D845C1

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

Preview Lab → · Contrast checker → · Palette generator →

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