#D845CB#D845CB

#D845CB is a light, highly saturated purple. Relative luminance 0.232; OKLCH L 64.5% C 0.232 H 331.7°. Best body text is #000000 at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#D845CB
RGBrgb(216, 69, 203)
HSLhsl(305, 65%, 56%)
HSVhsv(305, 68%, 85%)
CMYKcmyk(0%, 68.1%, 6%, 15.3%)
CIE-LABlab(55.25, 71.39, -40.02)
CIE-LCHlch(55.25, 81.84, 330.73°)
OKLaboklab(64.46% 0.2042 -0.11)
OKLCHoklch(64.46% 0.232 331.7)
XYZxyz(41.2265, 23.1702, 58.7893)
Luminance0.2317 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D845CB #45D852
analogous
#9B45D8 #D845CB #D84581
triadic
#D845CB #CBD845 #45CBD8
tetradic
#D845CB #D89B45 #45D852 #4581D8
square
#D845CB #D89B45 #45D852 #4581D8
split-complementary
#D845CB #81D845 #45D89B
monochromatic
#861C7D #B927AC #D845CB #E378D9 #EDAAE7

Accessibility & contrast

On white

3.73
#D845CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.63
#D845CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D845CB
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D845CB#FFFFFF#000000##000000
##D845CB1.003.735.635.63
#FFFFFF3.731.0021.0021.00
#0000005.6321.001.001.00
##0000005.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C77CF
Deuteranopia (green-blind)
#728CC7
Tritanopia (blue-blind)
#E15483
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #d845cb;
/* rgb */ color: rgb(216, 69, 203);
/* oklch */ color: oklch(64.5% 0.232 331.7);
Tailwind
colors: {
  custom: {
    50: '#e885db',
    500: '#d845cb',
    950: '#000000',
  },
}
SCSS
$custom: #d845cb;
$custom-light: #e885db;
$custom-dark: #000000;
JSON
{
  "hex": "#d845cb",
  "rgb": {
    "r": 216,
    "g": 69,
    "b": 203
  },
  "hsl": {
    "h": 305.306,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.64463,
    "c": 0.23193,
    "h": 331.7
  },
  "luminance": 0.23167
}

Semantic roles & 50–950 ramp

primary
#D845CB
secondary
#9EDBA3
accent
#E84E40
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#170C15
muted
#857D83

Preview Lab

Preview with #D845CB

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

Preview Lab → · Contrast checker → · Palette generator →

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