#D545D7#D545D7

#D545D7 is a light, highly saturated purple. Relative luminance 0.233; OKLCH L 64.7% C 0.239 H 327.3°. Best body text is #000000 at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#D545D7
RGBrgb(213, 69, 215)
HSLhsl(299, 65%, 56%)
HSVhsv(299, 68%, 84%)
CMYKcmyk(0.9%, 67.9%, 0%, 15.7%)
CIE-LABlab(55.39, 72.61, -46.66)
CIE-LCHlch(55.39, 86.31, 327.28°)
OKLaboklab(64.67% 0.2016 -0.1292)
OKLCHoklch(64.67% 0.239 327.3)
XYZxyz(41.8338, 23.3115, 66.5730)
Luminance0.2331 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D545D7 #47D745
analogous
#8C45D7 #D545D7 #D74590
triadic
#D545D7 #D7D545 #45D7D5
tetradic
#D545D7 #D78C45 #47D745 #4590D7
square
#D545D7 #D78C45 #47D745 #4590D7
split-complementary
#D545D7 #90D745 #45D78C
monochromatic
#841D85 #B527B7 #D545D7 #E077E2 #ECAAED

Accessibility & contrast

On white

3.71
#D545D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.66
#D545D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D545D7
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D545D7#FFFFFF#000000##000000
##D545D71.003.715.665.66
#FFFFFF3.711.0021.0021.00
#0000005.6621.001.001.00
##0000005.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C79DB
Deuteranopia (green-blind)
#698BD3
Tritanopia (blue-blind)
#DB5B89
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #d545d7;
/* rgb */ color: rgb(213, 69, 215);
/* oklch */ color: oklch(64.7% 0.239 327.3);
Tailwind
colors: {
  custom: {
    50: '#e685e4',
    500: '#d545d7',
    950: '#000000',
  },
}
SCSS
$custom: #d545d7;
$custom-light: #e685e4;
$custom-dark: #000000;
JSON
{
  "hex": "#d545d7",
  "rgb": {
    "r": 213,
    "g": 69,
    "b": 215
  },
  "hsl": {
    "h": 299.178,
    "s": 64.602,
    "l": 55.686
  },
  "oklch": {
    "l": 0.64674,
    "c": 0.23947,
    "h": 327.3
  },
  "luminance": 0.23309
}

Semantic roles & 50–950 ramp

primary
#D545D7
secondary
#9EDA9E
accent
#E84043
background
#FEF8FE
surface
#FDF0FC
border
#D5CBD5
text
#160C15
muted
#847D84

Preview Lab

Preview with #D545D7

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

Preview Lab → · Contrast checker → · Palette generator →

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