#D545E1#D545E1

#D545E1 is a light, highly saturated purple. Relative luminance 0.238; OKLCH L 65.2% C 0.247 H 324.6°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#D545E1
RGBrgb(213, 69, 225)
HSLhsl(295, 72%, 58%)
HSVhsv(295, 69%, 88%)
CMYKcmyk(5.3%, 69.3%, 0%, 11.8%)
CIE-LABlab(55.93, 74.27, -51.47)
CIE-LCHlch(55.93, 90.36, 325.28°)
OKLaboklab(65.23% 0.2016 -0.1432)
OKLCHoklch(65.23% 0.247 324.6)
XYZxyz(43.1582, 23.8413, 73.5482)
Luminance0.2384 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D545E1 #51E145
analogous
#8745E1 #D545E1 #E1459F
triadic
#D545E1 #E1D545 #45E1D5
tetradic
#D545E1 #E18745 #51E145 #459FE1
square
#D545E1 #E18745 #51E145 #459FE1
split-complementary
#D545E1 #9FE145 #45E187
monochromatic
#8A1894 #BC20C8 #D545E1 #E17AE9 #EDAEF2

Accessibility & contrast

On white

3.64
#D545E1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#D545E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D545E1
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D545E1#FFFFFF#000000##000000
##D545E11.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#197BE5
Deuteranopia (green-blind)
#638CDD
Tritanopia (blue-blind)
#D95F8F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #d545e1;
/* rgb */ color: rgb(213, 69, 225);
/* oklch */ color: oklch(65.2% 0.247 324.6);
Tailwind
colors: {
  custom: {
    50: '#e685eb',
    500: '#d545e1',
    950: '#000000',
  },
}
SCSS
$custom: #d545e1;
$custom-light: #e685eb;
$custom-dark: #000000;
JSON
{
  "hex": "#d545e1",
  "rgb": {
    "r": 213,
    "g": 69,
    "b": 225
  },
  "hsl": {
    "h": 295.385,
    "s": 72.222,
    "l": 57.647
  },
  "oklch": {
    "l": 0.65232,
    "c": 0.2473,
    "h": 324.6
  },
  "luminance": 0.23839
}

Semantic roles & 50–950 ramp

primary
#D545E1
secondary
#A6E0A2
accent
#EF3947
background
#FEF8FE
surface
#FDF0FD
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #D545E1

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

Preview Lab → · Contrast checker → · Palette generator →

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