#D542D0#D542D0

#D542D0 is a light, highly saturated purple. Relative luminance 0.226; OKLCH L 64.0% C 0.238 H 329.4°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#D542D0
RGBrgb(213, 66, 208)
HSLhsl(302, 64%, 55%)
HSVhsv(302, 69%, 84%)
CMYKcmyk(0%, 69%, 2.3%, 16.5%)
CIE-LABlab(54.66, 72.54, -43.84)
CIE-LCHlch(54.66, 84.75, 328.85°)
OKLaboklab(64.03% 0.2044 -0.121)
OKLCHoklch(64.03% 0.238 329.4)
XYZxyz(40.7736, 22.5996, 61.8769)
Luminance0.2260 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D542D0 #42D547
analogous
#9142D5 #D542D0 #D54286
triadic
#D542D0 #D0D542 #42D0D5
tetradic
#D542D0 #D59142 #42D547 #4286D5
square
#D542D0 #D59142 #42D547 #4286D5
split-complementary
#D542D0 #86D542 #42D591
monochromatic
#801C7D #B228AD #D542D0 #E074DC #EBA6E9

Accessibility & contrast

On white

3.80
#D542D0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#D542D0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D542D0
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D542D0#FFFFFF#000000##000000
##D542D01.003.805.525.52
#FFFFFF3.801.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3076D4
Deuteranopia (green-blind)
#6B8ACC
Tritanopia (blue-blind)
#DC5584
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d542d0;
/* rgb */ color: rgb(213, 66, 208);
/* oklch */ color: oklch(64.0% 0.238 329.4);
Tailwind
colors: {
  custom: {
    50: '#e683df',
    500: '#d542d0',
    950: '#000000',
  },
}
SCSS
$custom: #d542d0;
$custom-light: #e683df;
$custom-dark: #000000;
JSON
{
  "hex": "#d542d0",
  "rgb": {
    "r": 213,
    "g": 66,
    "b": 208
  },
  "hsl": {
    "h": 302.041,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.64028,
    "c": 0.23755,
    "h": 329.4
  },
  "luminance": 0.22597
}

Semantic roles & 50–950 ramp

primary
#D542D0
secondary
#9AD89D
accent
#E74741
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D542D0

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

Preview Lab → · Contrast checker → · Palette generator →

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