#D542D3#D542D3

#D542D3 is a light, highly saturated purple. Relative luminance 0.227; OKLCH L 64.2% C 0.240 H 328.5°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#D542D3
RGBrgb(213, 66, 211)
HSLhsl(301, 64%, 55%)
HSVhsv(301, 69%, 84%)
CMYKcmyk(0%, 69%, 0.9%, 16.5%)
CIE-LABlab(54.81, 73.01, -45.30)
CIE-LCHlch(54.81, 85.93, 328.18°)
OKLaboklab(64.19% 0.2045 -0.1253)
OKLCHoklch(64.19% 0.24 328.5)
XYZxyz(41.1462, 22.7487, 63.8392)
Luminance0.2275 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D542D3 #42D544
analogous
#8D42D5 #D542D3 #D5428A
triadic
#D542D3 #D3D542 #42D3D5
tetradic
#D542D3 #D58D42 #42D544 #428AD5
square
#D542D3 #D58D42 #42D544 #428AD5
split-complementary
#D542D3 #8AD542 #42D58D
monochromatic
#801C7F #B228B0 #D542D3 #E074DF #EBA6EA

Accessibility & contrast

On white

3.78
#D542D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#D542D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D542D3
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D542D3#FFFFFF#000000##000000
##D542D31.003.785.555.55
#FFFFFF3.781.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C77D7
Deuteranopia (green-blind)
#6A8ACF
Tritanopia (blue-blind)
#DC5786
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #d542d3;
/* rgb */ color: rgb(213, 66, 211);
/* oklch */ color: oklch(64.2% 0.240 328.5);
Tailwind
colors: {
  custom: {
    50: '#e683e1',
    500: '#d542d3',
    950: '#000000',
  },
}
SCSS
$custom: #d542d3;
$custom-light: #e683e1;
$custom-dark: #000000;
JSON
{
  "hex": "#d542d3",
  "rgb": {
    "r": 213,
    "g": 66,
    "b": 211
  },
  "hsl": {
    "h": 300.816,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.6419,
    "c": 0.23982,
    "h": 328.5
  },
  "luminance": 0.22746
}

Semantic roles & 50–950 ramp

primary
#D542D3
secondary
#9AD89B
accent
#E74341
background
#FEF8FD
surface
#FDF0FB
border
#D5CBD4
text
#160C15
muted
#847D83

Preview Lab

Preview with #D542D3

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

Preview Lab → · Contrast checker → · Palette generator →

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