#D845C5#D845C5

#D845C5 is a light, highly saturated purple. Relative luminance 0.229; OKLCH L 64.2% C 0.228 H 333.6°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#D845C5
RGBrgb(216, 69, 197)
HSLhsl(308, 65%, 56%)
HSVhsv(308, 68%, 85%)
CMYKcmyk(0%, 68.1%, 8.8%, 15.3%)
CIE-LABlab(54.96, 70.47, -37.03)
CIE-LCHlch(54.96, 79.61, 332.28°)
OKLaboklab(64.16% 0.2037 -0.1014)
OKLCHoklch(64.16% 0.228 333.6)
XYZxyz(40.5253, 22.8897, 55.0963)
Luminance0.2289 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D845C5 #45D858
analogous
#A145D8 #D845C5 #D8457B
triadic
#D845C5 #C5D845 #45C5D8
tetradic
#D845C5 #D8A145 #45D858 #457BD8
square
#D845C5 #D8A145 #45D858 #457BD8
split-complementary
#D845C5 #7BD845 #45D8A1
monochromatic
#861C79 #B927A6 #D845C5 #E378D5 #EDAAE5

Accessibility & contrast

On white

3.77
#D845C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#D845C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D845C5
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D845C5#FFFFFF#000000##000000
##D845C51.003.775.585.58
#FFFFFF3.771.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4176C9
Deuteranopia (green-blind)
#748BC1
Tritanopia (blue-blind)
#E25280
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #d845c5;
/* rgb */ color: rgb(216, 69, 197);
/* oklch */ color: oklch(64.2% 0.228 333.6);
Tailwind
colors: {
  custom: {
    50: '#e884d7',
    500: '#d845c5',
    950: '#000000',
  },
}
SCSS
$custom: #d845c5;
$custom-light: #e884d7;
$custom-dark: #000000;
JSON
{
  "hex": "#d845c5",
  "rgb": {
    "r": 216,
    "g": 69,
    "b": 197
  },
  "hsl": {
    "h": 307.755,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.6416,
    "c": 0.22757,
    "h": 333.6
  },
  "luminance": 0.22886
}

Semantic roles & 50–950 ramp

primary
#D845C5
secondary
#9EDBA6
accent
#E85540
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#170C14
muted
#857D83

Preview Lab

Preview with #D845C5

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

Preview Lab → · Contrast checker → · Palette generator →

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