#D545D9#D545D9

#D545D9 is a light, highly saturated purple. Relative luminance 0.234; OKLCH L 64.8% C 0.241 H 326.8°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#D545D9
RGBrgb(213, 69, 217)
HSLhsl(298, 66%, 56%)
HSVhsv(298, 68%, 85%)
CMYKcmyk(1.8%, 68.2%, 0%, 14.9%)
CIE-LABlab(55.50, 72.94, -47.63)
CIE-LCHlch(55.50, 87.11, 326.86°)
OKLaboklab(64.78% 0.2016 -0.132)
OKLCHoklch(64.78% 0.241 326.8)
XYZxyz(42.0924, 23.4150, 67.9347)
Luminance0.2341 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D545D9 #49D945
analogous
#8B45D9 #D545D9 #D94593
triadic
#D545D9 #D9D545 #45D9D5
tetradic
#D545D9 #D98B45 #49D945 #4593D9
square
#D545D9 #D98B45 #49D945 #4593D9
split-complementary
#D545D9 #93D945 #45D98B
monochromatic
#851C88 #B726BB #D545D9 #E078E3 #ECABEE

Accessibility & contrast

On white

3.70
#D545D9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#D545D9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D545D9
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D545D9#FFFFFF#000000##000000
##D545D91.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2979DD
Deuteranopia (green-blind)
#688BD5
Tritanopia (blue-blind)
#DB5B8A
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #d545d9;
/* rgb */ color: rgb(213, 69, 217);
/* oklch */ color: oklch(64.8% 0.241 326.8);
Tailwind
colors: {
  custom: {
    50: '#e685e5',
    500: '#d545d9',
    950: '#000000',
  },
}
SCSS
$custom: #d545d9;
$custom-light: #e685e5;
$custom-dark: #000000;
JSON
{
  "hex": "#d545d9",
  "rgb": {
    "r": 213,
    "g": 69,
    "b": 217
  },
  "hsl": {
    "h": 298.378,
    "s": 66.071,
    "l": 56.078
  },
  "oklch": {
    "l": 0.64784,
    "c": 0.24102,
    "h": 326.8
  },
  "luminance": 0.23412
}

Semantic roles & 50–950 ramp

primary
#D545D9
secondary
#A0DB9E
accent
#E93F43
background
#FEF8FE
surface
#FDF0FC
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #D545D9

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

Preview Lab → · Contrast checker → · Palette generator →

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