#D845D7#D845D7

#D845D7 is a light, highly saturated purple. Relative luminance 0.238; OKLCH L 65.1% C 0.241 H 328.2°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#D845D7
RGBrgb(216, 69, 215)
HSLhsl(300, 65%, 56%)
HSVhsv(300, 68%, 85%)
CMYKcmyk(0%, 68.1%, 0.5%, 15.3%)
CIE-LABlab(55.85, 73.28, -45.90)
CIE-LCHlch(55.85, 86.47, 327.93°)
OKLaboklab(65.09% 0.2048 -0.127)
OKLCHoklch(65.09% 0.241 328.2)
XYZxyz(42.7122, 23.7645, 66.6142)
Luminance0.2376 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D845D7 #45D846
analogous
#8F45D8 #D845D7 #D8458D
triadic
#D845D7 #D7D845 #45D7D8
tetradic
#D845D7 #D88F45 #45D846 #458DD8
square
#D845D7 #D88F45 #45D846 #458DD8
split-complementary
#D845D7 #8DD845 #45D88F
monochromatic
#861C86 #B927B8 #D845D7 #E378E2 #EDAAED

Accessibility & contrast

On white

3.65
#D845D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#D845D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D845D7
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D845D7#FFFFFF#000000##000000
##D845D71.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F79DB
Deuteranopia (green-blind)
#6C8DD3
Tritanopia (blue-blind)
#DF5A89
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d845d7;
/* rgb */ color: rgb(216, 69, 215);
/* oklch */ color: oklch(65.1% 0.241 328.2);
Tailwind
colors: {
  custom: {
    50: '#e885e4',
    500: '#d845d7',
    950: '#000000',
  },
}
SCSS
$custom: #d845d7;
$custom-light: #e885e4;
$custom-dark: #000000;
JSON
{
  "hex": "#d845d7",
  "rgb": {
    "r": 216,
    "g": 69,
    "b": 215
  },
  "hsl": {
    "h": 300.408,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.65094,
    "c": 0.24093,
    "h": 328.2
  },
  "luminance": 0.23761
}

Semantic roles & 50–950 ramp

primary
#D845D7
secondary
#9EDB9E
accent
#E84140
background
#FEF8FE
surface
#FDF0FC
border
#D5CBD5
text
#170C15
muted
#857D84

Preview Lab

Preview with #D845D7

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

Preview Lab → · Contrast checker → · Palette generator →

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