#D845CF#D845CF

#D845CF is a light, highly saturated purple. Relative luminance 0.234; OKLCH L 64.7% C 0.235 H 330.5°. Best body text is #000000 at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#D845CF
RGBrgb(216, 69, 207)
HSLhsl(304, 65%, 56%)
HSVhsv(304, 68%, 85%)
CMYKcmyk(0%, 68.1%, 4.2%, 15.3%)
CIE-LABlab(55.44, 72.01, -41.99)
CIE-LCHlch(55.44, 83.36, 329.75°)
OKLaboklab(64.67% 0.2045 -0.1156)
OKLCHoklch(64.67% 0.235 330.5)
XYZxyz(41.7093, 23.3633, 61.3322)
Luminance0.2336 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D845CF #45D84E
analogous
#9745D8 #D845CF #D84586
triadic
#D845CF #CFD845 #45CFD8
tetradic
#D845CF #D89745 #45D84E #4586D8
square
#D845CF #D89745 #45D84E #4586D8
split-complementary
#D845CF #86D845 #45D897
monochromatic
#861C80 #B927B0 #D845CF #E378DC #EDAAE9

Accessibility & contrast

On white

3.70
#D845CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.67
#D845CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D845CF
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D845CF#FFFFFF#000000##000000
##D845CF1.003.705.675.67
#FFFFFF3.701.0021.0021.00
#0000005.6721.001.001.00
##0000005.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3878D3
Deuteranopia (green-blind)
#708CCB
Tritanopia (blue-blind)
#E05685
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #d845cf;
/* rgb */ color: rgb(216, 69, 207);
/* oklch */ color: oklch(64.7% 0.235 330.5);
Tailwind
colors: {
  custom: {
    50: '#e885de',
    500: '#d845cf',
    950: '#000000',
  },
}
SCSS
$custom: #d845cf;
$custom-light: #e885de;
$custom-dark: #000000;
JSON
{
  "hex": "#d845cf",
  "rgb": {
    "r": 216,
    "g": 69,
    "b": 207
  },
  "hsl": {
    "h": 303.673,
    "s": 65.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.64669,
    "c": 0.23489,
    "h": 330.5
  },
  "luminance": 0.2336
}

Semantic roles & 50–950 ramp

primary
#D845CF
secondary
#9EDBA2
accent
#E84A40
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#170C15
muted
#857D83

Preview Lab

Preview with #D845CF

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

Preview Lab → · Contrast checker → · Palette generator →

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