#D845C7#D845C7

#D845C7 is a light, highly saturated purple. Relative luminance 0.230; OKLCH L 64.3% C 0.229 H 332.9°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#D845C7
RGBrgb(216, 69, 199)
HSLhsl(307, 65%, 56%)
HSVhsv(307, 68%, 85%)
CMYKcmyk(0%, 68.1%, 7.9%, 15.3%)
CIE-LABlab(55.05, 70.77, -38.03)
CIE-LCHlch(55.05, 80.34, 331.75°)
OKLaboklab(64.26% 0.2039 -0.1042)
OKLCHoklch(64.26% 0.229 332.9)
XYZxyz(40.7560, 22.9820, 56.3112)
Luminance0.2298 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D845C7 #45D856
analogous
#9F45D8 #D845C7 #D8457D
triadic
#D845C7 #C7D845 #45C7D8
tetradic
#D845C7 #D89F45 #45D856 #457DD8
square
#D845C7 #D89F45 #45D856 #457DD8
split-complementary
#D845C7 #7DD845 #45D89F
monochromatic
#861C7A #B927A8 #D845C7 #E378D6 #EDAAE5

Accessibility & contrast

On white

3.75
#D845C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#D845C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D845C7
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D845C7#FFFFFF#000000##000000
##D845C71.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F76CB
Deuteranopia (green-blind)
#748BC3
Tritanopia (blue-blind)
#E15381
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #d845c7;
/* rgb */ color: rgb(216, 69, 199);
/* oklch */ color: oklch(64.3% 0.229 332.9);
Tailwind
colors: {
  custom: {
    50: '#e884d8',
    500: '#d845c7',
    950: '#000000',
  },
}
SCSS
$custom: #d845c7;
$custom-light: #e884d8;
$custom-dark: #000000;
JSON
{
  "hex": "#d845c7",
  "rgb": {
    "r": 216,
    "g": 69,
    "b": 199
  },
  "hsl": {
    "h": 306.939,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.6426,
    "c": 0.22901,
    "h": 332.9
  },
  "luminance": 0.22979
}

Semantic roles & 50–950 ramp

primary
#D845C7
secondary
#9EDBA5
accent
#E85340
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#170C14
muted
#857D83

Preview Lab

Preview with #D845C7

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

Preview Lab → · Contrast checker → · Palette generator →

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