#D645C1#D645C1

#D645C1 is a light, highly saturated purple. Relative luminance 0.224; OKLCH L 63.7% C 0.224 H 334.2°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#D645C1
RGBrgb(214, 69, 193)
HSLhsl(309, 64%, 55%)
HSVhsv(309, 68%, 84%)
CMYKcmyk(0%, 67.8%, 9.8%, 16.1%)
CIE-LABlab(54.45, 69.40, -35.54)
CIE-LCHlch(54.45, 77.97, 332.88°)
OKLaboklab(63.67% 0.2014 -0.0971)
OKLCHoklch(63.67% 0.224 334.2)
XYZxyz(39.4856, 22.4059, 52.6869)
Luminance0.2240 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D645C1 #45D65A
analogous
#A345D6 #D645C1 #D64578
triadic
#D645C1 #C1D645 #45C1D6
tetradic
#D645C1 #D6A345 #45D65A #4578D6
square
#D645C1 #D6A345 #45D65A #4578D6
split-complementary
#D645C1 #78D645 #45D6A3
monochromatic
#841D75 #B628A1 #D645C1 #E177D2 #ECA9E2

Accessibility & contrast

On white

3.83
#D645C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#D645C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D645C1
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D645C1#FFFFFF#000000##000000
##D645C11.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4375C5
Deuteranopia (green-blind)
#758ABD
Tritanopia (blue-blind)
#E0517D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d645c1;
/* rgb */ color: rgb(214, 69, 193);
/* oklch */ color: oklch(63.7% 0.224 334.2);
Tailwind
colors: {
  custom: {
    50: '#e684d4',
    500: '#d645c1',
    950: '#000000',
  },
}
SCSS
$custom: #d645c1;
$custom-light: #e684d4;
$custom-dark: #000000;
JSON
{
  "hex": "#d645c1",
  "rgb": {
    "r": 214,
    "g": 69,
    "b": 193
  },
  "hsl": {
    "h": 308.69,
    "s": 63.877,
    "l": 55.49
  },
  "oklch": {
    "l": 0.63674,
    "c": 0.22356,
    "h": 334.2
  },
  "luminance": 0.22403
}

Semantic roles & 50–950 ramp

primary
#D645C1
secondary
#9DDAA6
accent
#E75941
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D645C1

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

Preview Lab → · Contrast checker → · Palette generator →

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