#D542D1#D542D1

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

Color values

HEX#D542D1
RGBrgb(213, 66, 209)
HSLhsl(302, 64%, 55%)
HSVhsv(302, 69%, 84%)
CMYKcmyk(0%, 69%, 1.9%, 16.5%)
CIE-LABlab(54.71, 72.69, -44.33)
CIE-LCHlch(54.71, 85.14, 328.63°)
OKLaboklab(64.08% 0.2044 -0.1224)
OKLCHoklch(64.08% 0.238 329.1)
XYZxyz(40.8970, 22.6490, 62.5269)
Luminance0.2265 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D542D1 #42D546
analogous
#9042D5 #D542D1 #D54287
triadic
#D542D1 #D1D542 #42D1D5
tetradic
#D542D1 #D59042 #42D546 #4287D5
square
#D542D1 #D59042 #42D546 #4287D5
split-complementary
#D542D1 #87D542 #42D590
monochromatic
#801C7D #B228AE #D542D1 #E074DD #EBA6E9

Accessibility & contrast

On white

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

On black

5.53
#D542D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D542D1
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D542D1#FFFFFF#000000##000000
##D542D11.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F76D5
Deuteranopia (green-blind)
#6B8ACD
Tritanopia (blue-blind)
#DC5685
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d542d1;
/* rgb */ color: rgb(213, 66, 209);
/* oklch */ color: oklch(64.1% 0.238 329.1);
Tailwind
colors: {
  custom: {
    50: '#e683df',
    500: '#d542d1',
    950: '#000000',
  },
}
SCSS
$custom: #d542d1;
$custom-light: #e683df;
$custom-dark: #000000;
JSON
{
  "hex": "#d542d1",
  "rgb": {
    "r": 213,
    "g": 66,
    "b": 209
  },
  "hsl": {
    "h": 301.633,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.64082,
    "c": 0.23831,
    "h": 329.1
  },
  "luminance": 0.22646
}

Semantic roles & 50–950 ramp

primary
#D542D1
secondary
#9AD89C
accent
#E74641
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D542D1

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

Preview Lab → · Contrast checker → · Palette generator →

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