#D545CB#D545CB

#D545CB is a light, highly saturated purple. Relative luminance 0.227; OKLCH L 64.0% C 0.230 H 330.8°. Best body text is #000000 at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#D545CB
RGBrgb(213, 69, 203)
HSLhsl(304, 63%, 55%)
HSVhsv(304, 68%, 84%)
CMYKcmyk(0%, 67.6%, 4.7%, 16.5%)
CIE-LABlab(54.78, 70.69, -40.79)
CIE-LCHlch(54.78, 81.61, 330.02°)
OKLaboklab(64.04% 0.2011 -0.1122)
OKLCHoklch(64.04% 0.23 330.8)
XYZxyz(40.3481, 22.7172, 58.7481)
Luminance0.2271 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D545CB #45D54F
analogous
#9745D5 #D545CB #D54583
triadic
#D545CB #CBD545 #45CBD5
tetradic
#D545CB #D59745 #45D54F #4583D5
square
#D545CB #D59745 #45D54F #4583D5
split-complementary
#D545CB #83D545 #45D597
monochromatic
#821D7B #B429AA #D545CB #E077D9 #ECA9E7

Accessibility & contrast

On white

3.79
#D545CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.54
#D545CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D545CB
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D545CB#FFFFFF#000000##000000
##D545CB1.003.795.545.54
#FFFFFF3.791.0021.0021.00
#0000005.5421.001.001.00
##0000005.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A76CF
Deuteranopia (green-blind)
#6F8AC7
Tritanopia (blue-blind)
#DD5583
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d545cb;
/* rgb */ color: rgb(213, 69, 203);
/* oklch */ color: oklch(64.0% 0.230 330.8);
Tailwind
colors: {
  custom: {
    50: '#e684db',
    500: '#d545cb',
    950: '#000000',
  },
}
SCSS
$custom: #d545cb;
$custom-light: #e684db;
$custom-dark: #000000;
JSON
{
  "hex": "#d545cb",
  "rgb": {
    "r": 213,
    "g": 69,
    "b": 203
  },
  "hsl": {
    "h": 304.167,
    "s": 63.158,
    "l": 55.294
  },
  "oklch": {
    "l": 0.64035,
    "c": 0.23034,
    "h": 330.8
  },
  "luminance": 0.22714
}

Semantic roles & 50–950 ramp

primary
#D545CB
secondary
#9DD9A1
accent
#E64D42
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D545CB

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

Preview Lab → · Contrast checker → · Palette generator →

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