#D845D6#D845D6

#D845D6 is a light, highly saturated purple. Relative luminance 0.237; OKLCH L 65.0% C 0.240 H 328.5°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#D845D6
RGBrgb(216, 69, 214)
HSLhsl(301, 65%, 56%)
HSVhsv(301, 68%, 85%)
CMYKcmyk(0%, 68.1%, 0.9%, 15.3%)
CIE-LABlab(55.80, 73.11, -45.42)
CIE-LCHlch(55.80, 86.07, 328.15°)
OKLaboklab(65.04% 0.2047 -0.1256)
OKLCHoklch(65.04% 0.24 328.5)
XYZxyz(42.5842, 23.7133, 65.9395)
Luminance0.2371 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D845D6 #45D847
analogous
#9045D8 #D845D6 #D8458C
triadic
#D845D6 #D6D845 #45D6D8
tetradic
#D845D6 #D89045 #45D847 #458CD8
square
#D845D6 #D89045 #45D847 #458CD8
split-complementary
#D845D6 #8CD845 #45D890
monochromatic
#861C85 #B927B7 #D845D6 #E378E1 #EDAAEC

Accessibility & contrast

On white

3.66
#D845D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#D845D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D845D6
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D845D6#FFFFFF#000000##000000
##D845D61.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3079DA
Deuteranopia (green-blind)
#6C8CD2
Tritanopia (blue-blind)
#DF5989
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d845d6;
/* rgb */ color: rgb(216, 69, 214);
/* oklch */ color: oklch(65.0% 0.240 328.5);
Tailwind
colors: {
  custom: {
    50: '#e885e3',
    500: '#d845d6',
    950: '#000000',
  },
}
SCSS
$custom: #d845d6;
$custom-light: #e885e3;
$custom-dark: #000000;
JSON
{
  "hex": "#d845d6",
  "rgb": {
    "r": 216,
    "g": 69,
    "b": 214
  },
  "hsl": {
    "h": 300.816,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.6504,
    "c": 0.24017,
    "h": 328.5
  },
  "luminance": 0.2371
}

Semantic roles & 50–950 ramp

primary
#D845D6
secondary
#9EDB9F
accent
#E84240
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#170C15
muted
#857D83

Preview Lab

Preview with #D845D6

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

Preview Lab → · Contrast checker → · Palette generator →

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