#D645C5#D645C5

#D645C5 is a light, highly saturated purple. Relative luminance 0.226; OKLCH L 63.9% C 0.226 H 333.0°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#D645C5
RGBrgb(214, 69, 197)
HSLhsl(307, 64%, 55%)
HSVhsv(307, 68%, 84%)
CMYKcmyk(0%, 67.8%, 7.9%, 16.1%)
CIE-LABlab(54.64, 70.00, -37.55)
CIE-LCHlch(54.64, 79.43, 331.79°)
OKLaboklab(63.87% 0.2017 -0.1029)
OKLCHoklch(63.87% 0.226 333)
XYZxyz(39.9379, 22.5868, 55.0687)
Luminance0.2258 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D645C5 #45D656
analogous
#9E45D6 #D645C5 #D6457D
triadic
#D645C5 #C5D645 #45C5D6
tetradic
#D645C5 #D69E45 #45D656 #457DD6
square
#D645C5 #D69E45 #45D656 #457DD6
split-complementary
#D645C5 #7DD645 #45D69E
monochromatic
#841D78 #B628A5 #D645C5 #E177D5 #ECA9E4

Accessibility & contrast

On white

3.81
#D645C5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#D645C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D645C5
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D645C5#FFFFFF#000000##000000
##D645C51.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4075C9
Deuteranopia (green-blind)
#738AC1
Tritanopia (blue-blind)
#DF527F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d645c5;
/* rgb */ color: rgb(214, 69, 197);
/* oklch */ color: oklch(63.9% 0.226 333.0);
Tailwind
colors: {
  custom: {
    50: '#e684d7',
    500: '#d645c5',
    950: '#000000',
  },
}
SCSS
$custom: #d645c5;
$custom-light: #e684d7;
$custom-dark: #000000;
JSON
{
  "hex": "#d645c5",
  "rgb": {
    "r": 214,
    "g": 69,
    "b": 197
  },
  "hsl": {
    "h": 307.034,
    "s": 63.877,
    "l": 55.49
  },
  "oklch": {
    "l": 0.63872,
    "c": 0.22645,
    "h": 333
  },
  "luminance": 0.22584
}

Semantic roles & 50–950 ramp

primary
#D645C5
secondary
#9DDAA4
accent
#E75441
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D645C5

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

Preview Lab → · Contrast checker → · Palette generator →

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