#D542C6#D542C6

#D542C6 is a light, highly saturated purple. Relative luminance 0.221; OKLCH L 63.5% C 0.230 H 332.4°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#D542C6
RGBrgb(213, 66, 198)
HSLhsl(306, 64%, 55%)
HSVhsv(306, 69%, 84%)
CMYKcmyk(0%, 69%, 7%, 16.5%)
CIE-LABlab(54.16, 70.98, -38.90)
CIE-LCHlch(54.16, 80.94, 331.28°)
OKLaboklab(63.51% 0.2039 -0.1068)
OKLCHoklch(63.51% 0.23 332.4)
XYZxyz(39.5819, 22.1230, 55.6006)
Luminance0.2212 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D542C6 #42D551
analogous
#9A42D5 #D542C6 #D5427D
triadic
#D542C6 #C6D542 #42C6D5
tetradic
#D542C6 #D59A42 #42D551 #427DD5
square
#D542C6 #D59A42 #42D551 #427DD5
split-complementary
#D542C6 #7DD542 #42D59A
monochromatic
#801C76 #B228A4 #D542C6 #E074D5 #EBA6E4

Accessibility & contrast

On white

3.87
#D542C6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#D542C6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D542C6
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D542C6#FFFFFF#000000##000000
##D542C61.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A74CA
Deuteranopia (green-blind)
#7089C2
Tritanopia (blue-blind)
#DE517F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #d542c6;
/* rgb */ color: rgb(213, 66, 198);
/* oklch */ color: oklch(63.5% 0.230 332.4);
Tailwind
colors: {
  custom: {
    50: '#e683d8',
    500: '#d542c6',
    950: '#000000',
  },
}
SCSS
$custom: #d542c6;
$custom-light: #e683d8;
$custom-dark: #000000;
JSON
{
  "hex": "#d542c6",
  "rgb": {
    "r": 213,
    "g": 66,
    "b": 198
  },
  "hsl": {
    "h": 306.122,
    "s": 63.636,
    "l": 54.706
  },
  "oklch": {
    "l": 0.63505,
    "c": 0.23015,
    "h": 332.4
  },
  "luminance": 0.2212
}

Semantic roles & 50–950 ramp

primary
#D542C6
secondary
#9AD8A1
accent
#E75241
background
#FEF8FD
surface
#FDF0FA
border
#D5CBD3
text
#160C14
muted
#847D83

Preview Lab

Preview with #D542C6

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

Preview Lab → · Contrast checker → · Palette generator →

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