#D545C7#D545C7

#D545C7 is a light, highly saturated purple. Relative luminance 0.225; OKLCH L 63.8% C 0.227 H 332.1°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#D545C7
RGBrgb(213, 69, 199)
HSLhsl(306, 63%, 55%)
HSVhsv(306, 68%, 84%)
CMYKcmyk(0%, 67.6%, 6.6%, 16.5%)
CIE-LABlab(54.58, 70.07, -38.80)
CIE-LCHlch(54.58, 80.10, 331.02°)
OKLaboklab(63.83% 0.2009 -0.1065)
OKLCHoklch(63.83% 0.227 332.1)
XYZxyz(39.8775, 22.5290, 56.2700)
Luminance0.2253 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D545C7 #45D553
analogous
#9B45D5 #D545C7 #D5457F
triadic
#D545C7 #C7D545 #45C7D5
tetradic
#D545C7 #D59B45 #45D553 #457FD5
square
#D545C7 #D59B45 #45D553 #457FD5
split-complementary
#D545C7 #7FD545 #45D59B
monochromatic
#821D78 #B429A7 #D545C7 #E077D6 #ECA9E5

Accessibility & contrast

On white

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

On black

5.51
#D545C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D545C7
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D545C7#FFFFFF#000000##000000
##D545C71.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D76CB
Deuteranopia (green-blind)
#718AC3
Tritanopia (blue-blind)
#DE5381
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d545c7;
/* rgb */ color: rgb(213, 69, 199);
/* oklch */ color: oklch(63.8% 0.227 332.1);
Tailwind
colors: {
  custom: {
    50: '#e684d8',
    500: '#d545c7',
    950: '#000000',
  },
}
SCSS
$custom: #d545c7;
$custom-light: #e684d8;
$custom-dark: #000000;
JSON
{
  "hex": "#d545c7",
  "rgb": {
    "r": 213,
    "g": 69,
    "b": 199
  },
  "hsl": {
    "h": 305.833,
    "s": 63.158,
    "l": 55.294
  },
  "oklch": {
    "l": 0.63829,
    "c": 0.22737,
    "h": 332.1
  },
  "luminance": 0.22526
}

Semantic roles & 50–950 ramp

primary
#D545C7
secondary
#9DD9A3
accent
#E65242
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D545C7

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

Preview Lab → · Contrast checker → · Palette generator →

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