#D542DA#D542DA

#D542DA is a light, highly saturated purple. Relative luminance 0.231; OKLCH L 64.6% C 0.245 H 326.6°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#D542DA
RGBrgb(213, 66, 218)
HSLhsl(298, 67%, 56%)
HSVhsv(298, 70%, 85%)
CMYKcmyk(2.3%, 69.7%, 0%, 14.5%)
CIE-LABlab(55.18, 74.15, -48.69)
CIE-LCHlch(55.18, 88.71, 326.71°)
OKLaboklab(64.58% 0.2046 -0.1351)
OKLCHoklch(64.58% 0.245 326.6)
XYZxyz(42.0429, 23.1074, 68.5618)
Luminance0.2311 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D542DA #47DA42
analogous
#8942DA #D542DA #DA4293
triadic
#D542DA #DAD542 #42DAD5
tetradic
#D542DA #DA8942 #47DA42 #4293DA
square
#D542DA #DA8942 #47DA42 #4293DA
split-complementary
#D542DA #93DA42 #42DA89
monochromatic
#841A87 #B524BA #D542DA #E075E4 #ECA8EE

Accessibility & contrast

On white

3.74
#D542DA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#D542DA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D542DA
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D542DA#FFFFFF#000000##000000
##D542DA1.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2178DE
Deuteranopia (green-blind)
#658BD6
Tritanopia (blue-blind)
#DB5A8A
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #d542da;
/* rgb */ color: rgb(213, 66, 218);
/* oklch */ color: oklch(64.6% 0.245 326.6);
Tailwind
colors: {
  custom: {
    50: '#e683e6',
    500: '#d542da',
    950: '#000000',
  },
}
SCSS
$custom: #d542da;
$custom-light: #e683e6;
$custom-dark: #000000;
JSON
{
  "hex": "#d542da",
  "rgb": {
    "r": 213,
    "g": 66,
    "b": 218
  },
  "hsl": {
    "h": 298.026,
    "s": 67.257,
    "l": 55.686
  },
  "oklch": {
    "l": 0.64575,
    "c": 0.24516,
    "h": 326.6
  },
  "luminance": 0.23105
}

Semantic roles & 50–950 ramp

primary
#D542DA
secondary
#9EDB9C
accent
#EA3E43
background
#FEF8FE
surface
#FDF0FC
border
#D5CBD5
text
#160C16
muted
#847D84

Preview Lab

Preview with #D542DA

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

Preview Lab → · Contrast checker → · Palette generator →

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