#D645C7#D645C7

#D645C7 is a light, highly saturated purple. Relative luminance 0.227; OKLCH L 64.0% C 0.228 H 332.4°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#D645C7
RGBrgb(214, 69, 199)
HSLhsl(306, 64%, 55%)
HSVhsv(306, 68%, 84%)
CMYKcmyk(0%, 67.8%, 7%, 16.1%)
CIE-LABlab(54.74, 70.31, -38.54)
CIE-LCHlch(54.74, 80.18, 331.27°)
OKLaboklab(63.97% 0.2019 -0.1058)
OKLCHoklch(63.97% 0.228 332.4)
XYZxyz(40.1686, 22.6791, 56.2836)
Luminance0.2268 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D645C7 #45D654
analogous
#9C45D6 #D645C7 #D6457E
triadic
#D645C7 #C7D645 #45C7D6
tetradic
#D645C7 #D69C45 #45D654 #457ED6
square
#D645C7 #D69C45 #45D654 #457ED6
split-complementary
#D645C7 #7ED645 #45D69C
monochromatic
#841D79 #B628A7 #D645C7 #E177D6 #ECA9E5

Accessibility & contrast

On white

3.79
#D645C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#D645C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D645C7
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D645C7#FFFFFF#000000##000000
##D645C71.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E76CB
Deuteranopia (green-blind)
#728AC3
Tritanopia (blue-blind)
#DF5381
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d645c7;
/* rgb */ color: rgb(214, 69, 199);
/* oklch */ color: oklch(64.0% 0.228 332.4);
Tailwind
colors: {
  custom: {
    50: '#e684d8',
    500: '#d645c7',
    950: '#000000',
  },
}
SCSS
$custom: #d645c7;
$custom-light: #e684d8;
$custom-dark: #000000;
JSON
{
  "hex": "#d645c7",
  "rgb": {
    "r": 214,
    "g": 69,
    "b": 199
  },
  "hsl": {
    "h": 306.207,
    "s": 63.877,
    "l": 55.49
  },
  "oklch": {
    "l": 0.63973,
    "c": 0.22791,
    "h": 332.4
  },
  "luminance": 0.22676
}

Semantic roles & 50–950 ramp

primary
#D645C7
secondary
#9DDAA3
accent
#E75241
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D645C7

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

Preview Lab → · Contrast checker → · Palette generator →

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