#D645C2#D645C2

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

Color values

HEX#D645C2
RGBrgb(214, 69, 194)
HSLhsl(308, 64%, 55%)
HSVhsv(308, 68%, 84%)
CMYKcmyk(0%, 67.8%, 9.3%, 16.1%)
CIE-LABlab(54.50, 69.55, -36.04)
CIE-LCHlch(54.50, 78.33, 332.60°)
OKLaboklab(63.72% 0.2015 -0.0986)
OKLCHoklch(63.72% 0.224 333.9)
XYZxyz(39.5976, 22.4507, 53.2764)
Luminance0.2245 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D645C2 #45D659
analogous
#A245D6 #D645C2 #D64579
triadic
#D645C2 #C2D645 #45C2D6
tetradic
#D645C2 #D6A245 #45D659 #4579D6
square
#D645C2 #D6A245 #45D659 #4579D6
split-complementary
#D645C2 #79D645 #45D6A2
monochromatic
#841D75 #B628A2 #D645C2 #E177D2 #ECA9E3

Accessibility & contrast

On white

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

On black

5.49
#D645C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D645C2
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D645C2#FFFFFF#000000##000000
##D645C21.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4275C6
Deuteranopia (green-blind)
#748ABE
Tritanopia (blue-blind)
#E0517E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #d645c2;
/* rgb */ color: rgb(214, 69, 194);
/* oklch */ color: oklch(63.7% 0.224 333.9);
Tailwind
colors: {
  custom: {
    50: '#e684d5',
    500: '#d645c2',
    950: '#000000',
  },
}
SCSS
$custom: #d645c2;
$custom-light: #e684d5;
$custom-dark: #000000;
JSON
{
  "hex": "#d645c2",
  "rgb": {
    "r": 214,
    "g": 69,
    "b": 194
  },
  "hsl": {
    "h": 308.276,
    "s": 63.877,
    "l": 55.49
  },
  "oklch": {
    "l": 0.63723,
    "c": 0.22428,
    "h": 333.9
  },
  "luminance": 0.22447
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D645C2

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

Preview Lab → · Contrast checker → · Palette generator →

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